Source code for wpilib.robotstate

__all__ = ["RobotState"]

[docs]class RobotState: """Provides an interface to determine the current operating state of the robot code. """ impl = None @staticmethod
[docs] def isDisabled(): return RobotState.impl.isDisabled()
@staticmethod
[docs] def isEnabled(): return RobotState.impl.isEnabled()
@staticmethod
[docs] def isOperatorControl(): return RobotState.impl.isOperatorControl()
@staticmethod
[docs] def isAutonomous(): return RobotState.impl.isAutonomous()
@staticmethod
[docs] def isTest(): return RobotState.impl.isTest()