Endless Loop - NeuLog Sense Autonomous Manual

Table of Contents

Advertisement

7.
Delete the Delay instruction block and check that you get the following:
8.
Place the SENSE on a white surface with a black line on it.
9.
Run the program.
The SENSE should move forward and stop when it reaches the black line.
1.3.3

Endless loop

Most of the control and robotic programs are programs that run in endless loop.
1.
Change the program so that the SENSE goes forward and stops when it meets
the black line, goes back for 3 seconds, and forward again in endless loop.
2.
Replace the Program end instruction block with Program restart
instruction block from the Program instruction list.
3.
Place the SENSE on a white surface with a black line on it.
4.
Run the program.
The SENSE should move forward until it reaches the black line, stop, then
go backward for 3 seconds and then forward again.
5.
Stop the program by pressing the SENSE pushbutton or by clicking the Stop
button, if the SENSE is connected to the computer.
29

Advertisement

Table of Contents
loading

Table of Contents