/** * Gets a value indicating whether the Driver Station requires the robot to be running in * operator-controlled mode. * * @return True if operator-controlled mode should be enabled, false otherwise. */ public boolean isOperatorControl() { return !m_controlData.autonomous(); }
/** * Gets a value indicating whether the Driver Station requires the robot to be running in * autonomous mode. * * @return True if autonomous mode should be enabled, false otherwise. */ public boolean isAutonomous() { return m_controlData.autonomous(); }