go_away

Author Topic: Obstacle Detection  (Read 2403 times)

0 Members and 1 Guest are viewing this topic.

Offline boneyTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Obstacle Detection
« 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.
« Last Edit: December 20, 2006, 05:36:36 AM by Admin »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,660
  • Helpful? 169
    • Society of Robots
Re: Obstacle Detection
« Reply #1 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

Offline boneyTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Helpful? 0
Re: Obstacle Detection
« Reply #2 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
« Last Edit: January 12, 2007, 01:23:33 AM by boney »

 


Get Your Ad Here