/** * Gets a value indicating whether the Driver Station requires the robot to be disabled. * * @return True if the robot should be disabled, false otherwise. */ public boolean isDisabled() { return !m_controlData.enabled(); }
/** * Gets a value indicating whether the Driver Station requires the robot to be enabled. * * @return True if the robot is enabled, false otherwise. */ public boolean isEnabled() { return m_controlData.enabled(); }