Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: boney on December 20, 2006, 12:17:02 AM

Title: Obstacle Detection
Post 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.
Title: Re: Obstacle Detection
Post by: Admin on December 20, 2006, 10:44:09 PM
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
Title: Re: Obstacle Detection
Post by: boney on January 02, 2007, 12:24:04 AM
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