Implemented measure motor
[des2015.git] / dsl / xtend / src / robots / missions / TaskDSL.xtext
index 35ed5b0..afefa5d 100644 (file)
@@ -30,7 +30,7 @@ Behaviour: 'Behaviour' name=ID
 Action:
        whichMotor=LeftRight 'motor' moveDir=Direction ('with speed' spd=INT 'acceleration' acc=INT)? |
        'turn' turnDir=LeftRight degrees=INT ('with speed' spd=INT 'acceleration' acc=INT)? |
-       'measure' measureWhat=RockLake |
+       {Action} 'measure'|
        'wait' time=Time;
 
 Time: time=INT 'ms' | {Time} 'forever';