The Robotics Primer Workbook
Developed by  USC, iRobot® and Microsoft® Robotics Studio
Categories: Exercise | Player Exercise | Command Module Exercise

Sensors:Exercise 4:IR & Sonar wall-following

Setup

This exercise will use both the sonar and infra-red sensors from the previous two exercises. Make sure you have calibrated both. The only remaining setup factor is to attach both sensors to the robot. To make things easier, consider only following a left or right wall. Specifically think about the formation of typical walls, and how you will need to position the sensors in order to prevent collisions.

Wall Following

Wall following is the process of moving parallel to a wall. Think of touching a wall with you right hand, and walking so that you hand never leaves the wall. The robot should follow a similar pattern, just without touching the wall. Use you experience from obstacle avoidance to read in sensor values in order to control the robot properly.

Note: Two sensors is pretty minimal for wall following. You will have to do some tuning of parameters.

Solution

Here is one solution.

Retrieved from "http://roboticsprimer.sourceforge.net/workbook/Sensors:Exercise_4:IR_%26_Sonar_wall-following"

This page has been accessed 977 times. This page was last modified 00:50, 4 April 2007. Content is available under GNU Free Documentation License 1.2.


Browse
Main Page
Glossary
Sections
Prerequisites
Introduction
Robot Components
Locomotion
Sensors
Feedback Control
Deliberative Control
Reactive Control
Hybrid Control
Behavior-based Control
Emergent Behavior
Navigation
Group Robotics
Learning


Log in / create account