started with new rover, bt still not worknig:(
[des2015.git] / dsl / runtime / specs / spec1.tdsl
index 6bbc02f..57bd7ba 100644 (file)
@@ -1,40 +1,39 @@
-Name MartNatanael
 Acceleration 1000
 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
+       take control: 
        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 
@@ -44,4 +43,4 @@ using
        AvoidHighObjects
        StayInLine
 and stops when
-       Collected at least Blue Green Yellow
+       Collected at least Blue Green Yellow
\ No newline at end of file