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

Locomotion:Exercise1-Locomotion and Odometry

Part 1 - Square Path

The first program will move the robot in a square pattern.

Ideal robot path.

There are two hardware options, either the iRobot Create and Command Module or the iRobot Create and Gumstix. Please read the Prerequisites section for more information.


Part 2

Now that we have code to control the robot, let's measure how well odometry performs. As you may recall from Part 1, the robot relies on odometry to determine how far it has traveled, and how far it has turned. If odometry readings are perfect, then the robot should make a perfect squre.

For this part we will measure the amount of odometry error.

  1. Place a marker on the ground where the robot will start. A good marker is masking tape.
  2. Place a marker at each of the other three corners.
  3. Run your control code, and place a marker where the robot turns.
  4. Measure the distance between each pair of points (the correct corner and the actual), and compute an average. This is the average error.
  5. What are some sources of this error?

Part 3: Bonus

  1. Write a program to move the robot in a rectangle.
  2. Write a program to move the robot in a circle.
  3. Write a program to move the robot is a figure-eight.

Retrieved from "http://roboticsprimer.sourceforge.net/workbook/Locomotion:Exercise1-Locomotion_and_Odometry"

This page has been accessed 1,944 times. This page was last modified 00:52, 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