User’s Guide
Since it will be difficult to make the two repeating items into a single command, it
will be better to divide it into small parts. Refer to the following flow chart which
labels the complicated parts as ○
1
, ○
2
, ○
3
, and ○
4
.
The figure below shows the behavior control program for part 1. If either of the
left or right distance sensors has a value greater than 30, then part 2 will be
executed. To do this, several condition statements need to be used together. This
can be done by connecting the sentences with “OR.” If not, make the robot
remain in its position.
Start
Torque limit <- 256, Speed <- 128
End
Sensed distance > 30?
Sensed distance > 120?
Rotate joint once toward object
Straighten arm (only joints 2 and 3)
Bend arm
Yes
No
No
Yes
○
2
○
1
○
4
○
3
Bend arm (only joints 2 and 3)
60
Summary of Contents for Robotis
Page 1: ...Ver 1 00 BIOLOID User s Guide Closer to Real...
Page 55: ...User s Guide Portion that will be ignored Enable Disable Code Portions that will be ignored 55...
Page 73: ...User s Guide Move routine Stop Backward Left turn Right turn Melody sound routine 73...
Page 100: ...User s Guide Transmitter behavior control program Receiver behavior control program 100...