to save the script to disk, and then
press the Download button to
store it to the robot. To run the
script, press the “#” – “1” together
on the IR remote and see how it
With this Action Builder script,
the robot will punch right when it
hears a loud noise and punch right
when anything comes within 15
cm (more or less) from in front of
its head. The script starts out by
running the Initial startup pose and
announcing sound 1 — “Hello, I am
Robo Builder.” It then waits a
second, then starts its loop.
Here’s an exercise for you. Can
you come up with an Action
Builder script that will allow your
HUNO robot to wander around and
turn away from obstacles in front
of it? Sure you can!
If you have an accelerometer
installed, maybe you can get your
robot to stand up if it falls over
during its wanderings, as well.
Okay, you’ve bent my arm.
Here is a script that will walk
forward, turn if something is within
25 cm, and get up if the robot falls
I just didn’t have space to stuff
all that into Table 5 and make it
understandable. This Condition is
looking strictly at the robot lying
on its back or on its face.
Steps 2 and 3 simply loop with
the robot standing there, until it
hears a loud sound; then it starts
walking. If it sees something in
front of it, the robot keeps turning
right until the path is clear. Then, it
starts walking forward again.
Step 9 was there initially when
I was trying to get the robot to
hear another noise or see
something really close to itself to
trigger it to stop the script. I was
never able to make either of those
If anyone manages to find
something other than a button
press of FP1 or FP2 to work to stop
the script, please send me your
solution and I’ll publish it and
make you famous for a day!
You now have two Action Builder
scripts that you can download to your
robot. The easiest way to do this is to
use the RoboBuilder tool as shown in
Figure 2 and download the two
scripts at once into slots #-1 and #- 2.
SERVO 09.2013 17