ROStatus¶
ROStatus provides current robot status such as enabled state, power level, and driver station connection information.
Functions¶
-
float ROStatus.batteryReading() On supported boards, returns the main battery voltage when the BMC jumper is selected.
-
boolean ROStatus.isEnabled() Returns true if the robot is enabled. False otherwise.
-
int ROStatus.uptimeSeconds() Returns the number of seconds that the RobotOpen board has been powered up for.