View Single Post
  #6   Spotlight this post!  
Unread 23-01-2006, 22:03
CoolerQ CoolerQ is offline
Registered User
AKA: Quentin Smith
#1277 (Groton-Dunstable FIRST Robotics)
Team Role: Programmer
 
Join Date: Sep 2003
Rookie Year: 2004
Location: Hollis, NH
Posts: 3
CoolerQ is an unknown quantity at this point
Send a message via ICQ to CoolerQ Send a message via AIM to CoolerQ Send a message via Yahoo to CoolerQ
Re: Programming Questions

Quote:
Originally Posted by Chriszuma
I would advise against using the accelerometer for computing distance. You have to double-integrate it, which will greatly amplify any inaccuracies of the data. You're better off using the gear tooth sensors, since you can hook them up to your drive train and get a direct computation of distance.
The only problem with that is that you don't get a direct computation of traveled distance, you get a direct computation of wheel distance. If the wheels slip, which they're likely to do if you're driving at a high speed, the distance recorded by the gear tooth sensor could be wildly off. The accelerometer allows you to measure motion of the robot relative to the ground instead of the robot's wheels relative to the robot's body.

--Quentin