behaviours generate just fine now, missions is next. We also need some color functions
[des2015.git] / dsl / runtime / specs / spec1.tdsl
index 6bbc02f..45e74a3 100644 (file)
@@ -4,37 +4,37 @@ Speed 200
 Behaviour Wander 
        take control:
        action:
-               Left motor Forwards
-               Right motor Forwards
+               left motor forward
+               right motor forward
                wait forever
 Behaviour AvoidLowLeftObjects
-       take control: Touched on Left
+       take control: Touched on left
        action:
-               Left motor Backwards
-               Right motor Backwards
+               left motor backward
+               right motor backward
                wait 250 ms
-               Right motor Backwards
-               Left motor Forwards
+               right motor backward
+               left motor forward
                wait 250 ms
 Behaviour AvoidLowRightObjects
-       take control: Touched on Right
+       take control: Touched on right
        action:
-               Left motor Backwards
-               Right motor Backwards
+               left motor backward
+               right motor backward
                wait 250 ms
-               Right motor Forwards
-               Left motor Backwards
+               right motor forward
+               left motor backward
                wait 250 ms
 Behaviour AvoidHighObjects
        take control: Distance < 50 cm
        action:
-               Right motor Forwards
+               right motor forward
                wait 250 ms
 Behaviour StayInLine
        take control: (or Color is Black Color is DarkGray)
        action:
-               Right motor Forwards
-               Left motor Backwards
+               right motor forward
+               left motor backward
                wait 250 ms
 Mission Assignment 
 using