Hi, I've been looking around for some algorithms for sonar wall following, although I've not really found anything useful....yet. I've see a few basic ones which go something like:
IF (LEFT_SONAR_DISTANCE < MIN_WALL_DISTANCE) THEN WHILE(LEFT_SONAR_DISTANCE < MIN_WALL_DISTANCE) MOVE AWAY FROM WALL
IF (LEFT_SONAR_DISTANCE > MIN_WALL_DISTANCE) THEN WHILE(LEFT_SONAR_DISTANCE > MIN_WALL_DISTANCE) MOVE TOWARDS WALL
IF (LEFT_SONAR_DISTANCE == MIN_WALL_DISTANCE) THEN MOVE FORWARDS.
My Robot's is a standard 1/2 sonar ring arrangement at the front. With
3 Sonar's on the left side, 1 at the front and 3 moving round the right side.I'm aware that there can be problems with angular reflections, but I would like to try and utilise as many of these sonar's as possible to achieve this task. Does anyone have any suggestions on either successful methods or where to look.
Thanks in advance.
Regards
Mark