2.2.1
Challenge exercise – Moving in a distance range
Description: Going forward towards a wall, stop 30cm before the wall, then go
backward and stop at 50cm from the wall and return.
Task 1:
Improve the program so the SENSE will:
move towards the wall,
stop 30 cm in front of it,
wait for 2 seconds,
go backwards until a distance of 60 cm,
stop for 2 second,
return to the beginning.
66