Package com.uniforge.origin.nova
Class NovaState
java.lang.Object
com.uniforge.origin.nova.NovaState
Robot state utility functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturns true if the robot is in autonomous mode.static booleanReturns true if the robot is disabled.static booleanReturns true if the robot is enabled.static booleanReturns true if the robot is E-stopped.static booleanisTeleop()Returns true if the robot is in teleop mode.static booleanisTest()Returns true if the robot is in test mode.
-
Method Details
-
isDisabled
public static boolean isDisabled()Returns true if the robot is disabled.- Returns:
- True if the robot is disabled.
-
isEnabled
public static boolean isEnabled()Returns true if the robot is enabled.- Returns:
- True if the robot is enabled.
-
isEStopped
public static boolean isEStopped()Returns true if the robot is E-stopped.- Returns:
- True if the robot is E-stopped.
-
isTeleop
public static boolean isTeleop()Returns true if the robot is in teleop mode.- Returns:
- True if the robot is in teleop mode.
-
isAutonomous
public static boolean isAutonomous()Returns true if the robot is in autonomous mode.- Returns:
- True if the robot is in autonomous mode.
-
isTest
public static boolean isTest()Returns true if the robot is in test mode.- Returns:
- True if the robot is in test mode.
-