Electronics > Electronics

Obstacle Detection

(1/1)

boney:
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.

Admin:
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

boney:
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

Navigation

[0] Message Index

Go to full version