EasyManua.ls Logo

Bioloid Robotis - Assembling Intelligent Car that Uses Sensor

Default Icon
142 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User’s Guide
5-7. Assembling Intelligent Car that Uses Sensor
We are now going to build a very interesting robot. Lets make an intelligent car
that makes a melody sound and that moves in opposite direction when an object
moves towards it.
Refer to the “2-2-9. Obstacle Detection Car”of QuickStart whenever it is
necessary.
Detail behavior controls are as follows.
If the left sensed distance value is greater than 200, it will make left turn while
making melody sound.
If the right sensed distance value is greater than 200, it will make right turn while
making melody sound.
If the center sensed distance value is greater than 200, it will go backward while
making melody sound.
If there are no changes, the car will stop.
The melody will be special melody play and upon call will generate sound only
once.
As the behavior control of above robot involves complex behavior, it is
recommended that you use function.
68