
30
1.3.4 Movement between two lines
1.
Change the program so the SENSE will move between two lines.
Pay attention to the
Delay
instructions.
They are added in order to be sure that the robot will move from the current
black line and wait before moving to the other black line.
2.
Save the program under the name
CART2
.
3.
Place the SENSE between two black lines and run the program.
The SENSE should run back and forth between the lines.
Increasing the distance between the lines changes the SENSE's travel
accordingly.
1.3.5 Challenge exercise – Between a wall and a line (I)
Task 1: Improve the CART2 program so that the SENSE will move between a
wall in front and a black line at the back.
Note:
You have to use the Front sensor while moving forward. Take care for
the compare sign (> or <).
Содержание Sense Autonomous
Страница 1: ...Sense Autonomous...
Страница 2: ......
Страница 4: ......
Страница 31: ...25 Before starting the experiment print two black lines as follows...
Страница 89: ......
Страница 90: ......