38
4.
Create the following main program which includes a
MAIN
procedure:
Note:
Pay attention to the compare signs (< and >).
5.
Save the program under the name
CART5
.
6.
Put the SENSE near the black line.
7.
Run and check the SENSE movement.
8.
Change the value of
memory1
to create smooth movement of the SENSE.
1.4.5 Challenge exercise – Along a complex black line
Task 1: Create different black lines for the SENSE and check its behavior.
Improve the programs when needed.
Example of a complex line:
Summary of Contents for Sense Autonomous
Page 1: ...Sense Autonomous...
Page 2: ......
Page 4: ......
Page 31: ...25 Before starting the experiment print two black lines as follows...
Page 89: ......
Page 90: ......