Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: boney on December 20, 2006, 12:17:02 AM
-
I am into building a demining robot .
the problem is detecting and avoiding obstacles.
I plan to use ultrasonic sensors to detect an obstacle but have a problem with programing the controller to avoid it.
any help in this regard would be great.
-
Here is the algorithm you should use:
scan with sonar
if wall detected within X distance, turn left
else, drive straight
repeat
you should consider getting additional sonar, too . . .
for more info on sonar
http://www.societyofrobots.com/sensors_sonar.shtml
-
The application of my robot is in rough terrain and basic obstacles are rocks.
Avoiding these rocks is based on getting around them , like left or right and to what angle the robo has to turn.
there is no wall as such