NextRobot

interface NextRobot

The root container for your robot's hardware and mechanisms.

Implementing this interface allows the NextFTC scanning architecture to automatically detect and inject your robot instance into OpModes.

Properties

Link copied to clipboard

A collection of all mechanisms that belong to this robot. These mechanisms will have their Mechanism.periodic methods called automatically.

Functions

Link copied to clipboard
open fun periodic()

Called periodically during the OpMode loop, before individual mechanisms are updated. Useful for global robot updates, clearing caches, or logging.