コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * 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();
 }