import lejos.hardware.motor.EV3LargeRegulatedMotor;
public class ShutdownBehaviour extends BasicBehaviour{
-
public ShutdownBehaviour(SensorCollector sensors, EV3LargeRegulatedMotor leftMotor,
EV3LargeRegulatedMotor rightMotor, ColorMemory colors) {
super(sensors, leftMotor, rightMotor, colors);
}
@Override public void action(){
- //Here it should stop the current arbitrator, not sure how yet...
+ LCDPrinter.print("Terminate mission");
+ MarsRover.arb.stop();
}
}