コード例 #1
0
 //Immediately shutdown all controllable items
 public void Shutdown()
 {
     Platform1Led.Reset();
     Platform2Led.Reset();
     Obstacle1Led.Reset();
     Obstacle2Led.Reset();
     HoverLed.Reset();
     StartLed.Reset();
     Motor.EmergencyStop();
 }
コード例 #2
0
 //Turn off all lights and reset motor to the "start" position
 public void Reset()
 {
     Platform1Led.Reset();
     Platform2Led.Reset();
     Obstacle1Led.Reset();
     Obstacle2Led.Reset();
     HoverLed.Reset();
     StartLed.Reset();
     Motor.RollingStop();
 }