# validated: 2015-12-24 DS 6d854af shared/java/edu/wpi/first/wpilibj/RobotState.java
__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()