45
4.
When we change the
STOP
value, we have to change the
WAIT
value.
The following program makes sure that the
WAIT
value (memory3) will
always be lower than the
STOP
value (memory2).
5.
Run and test this program.
1.5.3 AND condition
We would like to stop the SENSE only when it is close to the wall
and
only when
it is on the black line.
To achieve that we need the
AND
condition.
In some programming software, the
If
instruction can have two conditions with
the
AND
condition between them.
The RobocklySense does not have this option.
The AND operation can be achieved by creating another procedure.
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: ......