|
Re: Good use for Sonar Sensors
I've done this before on a mobile robot that mapped and explored a maze.
Mounted an ultrasonic and IR rangefinder onto a servo turret. As the robot drove through the maze, I tracked the current position using wheel encoders and then translated all of the mapping values to an absolute position map of the environment. After doing a ~270 degree scan, it would look for the first gap in the walls/objects large enough to drive through. If it ever hit a dead end, it would turn 180 degrees, then rescan.
|