View Single Post
  #5   Spotlight this post!  
Unread 19-01-2006, 17:27
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Has anyone gotten useful data from the accelerometer?

Quote:
Originally Posted by Chriszuma
I was playing around with the accelerometer the other day, trying to use its sum to determine velocity. However, I fiddled with my algorithm for a couple of hours and couldn't get it to give me anything close to an accurate reading. Has anyone actually gotten this to work? I think they're just way too sensitive to use for tracking. I'll probably end up just using the gear tooth sensor to measure distance, which makes more sense anyway.
Maybe I need to upgrade to kevin watson's oversampling uart?
Using an accelerometer to determine your position is very, very hard. I'd start out by integrating once to determine your velocity and once you're happy with your results, try to integrate if again for position. I haven't tried it, but perhaps someone could try it out with the gyro code and report back. If you do, make sure that it is still and lying flat on a table while the bias is being calculated.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org