View Single Post
  #9   Spotlight this post!  
Unread 25-01-2006, 15:57
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Programming Questions

Quote:
Originally Posted by Tom Bottiglieri
We've been playing with accelerometers for measuring linear position for a while now, to no avail. We've tried recalulating bias more often, calculating bias for longer, mounting the chip to solid block, mounting it to foam rubber to dampen vibration... but as of yet nothing we've done has yielded anything but erratic readings.

I think we'll stick to encoders.
When ever you read a accelerometer it give you the acceleration at that point in time. If you track it it every 1ms and basesed on the change between this point and the last calculated the difference and calculated the velocity by calculating the area under the curve and doing the same to calculated the distance traveled in that 1ms, I think it will work. In the end everything gets split down into vectors between the x and the y axis of the accelerometer.