public abstract class BasicBehaviour implements Behavior{
protected boolean suppressed;
- protected EV3LargeRegulatedMotor leftMotor, rightMotor;
+ protected EV3LargeRegulatedMotor leftMotor, rightMotor, measMotor;
protected SensorCollector sensors;
protected long time;
public BasicBehaviour(SensorCollector sensors, EV3LargeRegulatedMotor leftMotor,
- EV3LargeRegulatedMotor rightMotor){
+ EV3LargeRegulatedMotor rightMotor, EV3LargeRegulatedMotor measMotor){
this.leftMotor = leftMotor;
this.rightMotor = rightMotor;
+ this.measMotor = measMotor;
this.sensors = sensors;
}
rightMotor.stop(true);
leftMotor.stop(true);
}
+
+ protected void rockMeasure(){
+
+ }
+
+ protected void lakeMeasure(){
+
+ }
@Override
public void action() {