
I
Contents
Chapter 1 – Control and Robots............................................................................................. 1
1.1 Robots .......................................................................................................................... 1
1.2 Control systems............................................................................................................ 2
1.3 SENSE autonomous..................................................................................................... 3
1.4 RobocklySense............................................................................................................. 4
1.5 RobocklySense installation.......................................................................................... 4
1.6 Starting the RobocklySense program........................................................................... 5
Experiment 1.1 – Direct Mode................................................................................................ 6
1.1.1 SENSE movement........................................................................................................ 9
1.1.2 The SENSE sensors ................................................................................................... 10
Experiment 1.2 – First Programs.......................................................................................... 12
1.2.1 First program – forward............................................................................................. 14
1.2.2 Program download..................................................................................................... 17
1.2.3 Forward and backward............................................................................................... 18
1.2.4 Turning left and right................................................................................................. 20
1.2.5 Challenge exercises – Moving in a square................................................................. 22
Experiment 1.3 – Interactive Programs............................................................................... 23
1.3.1 Memories and variables ............................................................................................. 24
1.3.2 Wait until.................................................................................................................... 28
1.3.3 Endless loop............................................................................................................... 29
1.3.4 Movement between two lines .................................................................................... 30
1.3.5 Challenge exercise – Between a wall and a line (I)................................................... 30
Experiment 1.4 – Procedures as New Instructions.............................................................. 31
1.4.1 Programs and procedures........................................................................................... 33
1.4.2 Definitions.................................................................................................................. 35
1.4.3 Challenge exercises – Between a wall and a line (II) ................................................ 36
1.4.4 Moving along a black line.......................................................................................... 37
1.4.5 Challenge exercise – Along a complex black line..................................................... 38
Experiment 1.5 – Conditions and Decisions......................................................................... 39
1.5.1 If – then instruction.................................................................................................... 39
1.5.2 OFF and ON with different values............................................................................. 44
1.5.3 AND condition........................................................................................................... 45
1.5.4 OR condition.............................................................................................................. 47
1.5.5 Challenge exercise – Along two lines........................................................................ 48
1.5.6 Movement along a wall.............................................................................................. 48
1.5.7 Challenge exercises – Along walls ............................................................................ 50
Challenge 1.6 – Counting....................................................................................................... 51
Challenge 1.7 – Automatic movement.................................................................................. 52
Challenge 1.8 – Loops ............................................................................................................ 52