View Single Post
  #3   Spotlight this post!  
Unread 19-01-2006, 15:55
Chriszuma's Avatar
Chriszuma Chriszuma is offline
Jack of all trades
AKA: Chris Hammond
FRC #0068 (Truck Town Thunder)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Clarkston, MI
Posts: 290
Chriszuma is just really niceChriszuma is just really niceChriszuma is just really niceChriszuma is just really nice
Send a message via AIM to Chriszuma
Re: Has anyone gotten useful data from the accelerometer?

Quote:
Originally Posted by Mike
I've played with an accelerometer, but from what I've heard they can be very tricky. I would go with the encoder/gear tooth sensors to calculate position. How is yours connected? Could you show us the code?
I just took in the data from it and summed it into a static variable. I tried bitshifting it, putting on a deadband, everything i could think of, but it looks like the data is just not accurate enough, or maybe it can't read from it quickly enough. I'll post the code later tonight, since it's currently saved on a computer half an hour from here.