R
O B O
GB+USA
5 5
5 5
M
S
O B I L E
E T
Ti p s :
• First bring the legs on the left and the right side into the starting position. Switching on both motors
will allow you do this (rotational direction left).
• The sequence should continue only when both pushbutton sensors I1 and I2 are not depressed (This
query is necessary as soon as the model is supposed to take its second step).
• Let the motors run until the appropriate pushbutton sensor (I1 for M1, I2 for M2) is depressed again.
It is very important here that the model doesn't begin the next step until both pushbutton sensors are
depressed. Because only then the legs are in the right position to each other. Provided, of course, that
the cranks driving the legs are adjusted correctly as shown in the construction manual.
• Now the sequence can start over and the robot will take its second step. The model will now walk
straight ahead until you stop the program.
• You will find the finished program under Walking Robot 1.rpp.
Similar to what we did with the wheeled basic model you can now make the model walk to the left, to
the right or backwards by changing the rotational direction of the motors. You can use I1 or I2 to count
the steps.
A s s i g n m e n t 2 ( L e v e l 2 ) :
● Program your model to take 10 steps forward, 3 steps to the left, 3 steps to the right
and 10 steps back again.
● Create an individual subroutine for each direction.
● Use the Count Loop element to count the steps.
Ti p s :
• Simply copy the program Walking Robot 1.rpp into a subprogram.
• Copy this subprogram as often as necessary for each of the different walking directions. Change the
rotational directions of the motors in each subprogram to make the model move into the desired
direction.
• Use the Count Loop element to count the amount of steps for each rotational direction. With each
cycle of the subprogram the model takes one step. If the program cycles through the loop with the
subprogram 10 times, the model takes 10 steps.
You can teach your walking robot any desired
sequence of steps in this way (Walking Robot 2.rpp).
We have already discussed the subject of
obstacle recognition in detail for the
wheeled robots. So we won't repeat it
here. But why don't you try to apply
this behavior to the walking robot.
The necessary sensors are all included
in the construction kit. You can use the
wheeled robot as example during the programming. Best of Luck!
2 2
2 2
A
B
C T I V I T Y
O O K L E T