Tuesday, February 8, 2011

Exercise 1, Task 8

The robot will follow a line on the floor and stop if it encounters another one crossing it.


fwd 0.3
followline "bl" :($crossingblackline)
eval $irdistfrontleft
eval $irdistfrontright
eval $irdistfrontmiddle
stop

No comments:

Post a Comment