View Single Post
  #5   Spotlight this post!  
Unread 13-01-2008, 20:27
joshyboy9987 joshyboy9987 is offline
Registered User
FRC #0706
 
Join Date: Jan 2008
Location: Hartland, WI
Posts: 16
joshyboy9987 is an unknown quantity at this point
Re: Filtering out Vibration while using a KOP Accelerometer

Thanks for the advice. What do you guys think about taking the derivative of the acceleration and if it's too high just throwing the data over again. (I guess that's kind of a filter too, in a way)
I don't use a timer-based interrupt as I first planned, but am instead using the timer function in easy C to measure the time difference between calls... The timer is then reset to 0 to start the next time period.

I'll post our data a little later, I don't have it on my computer, it's on the robotics one.

I've read the spec sheet, but if I end up using a filter as they suggest, won't it take out things like the robot crashing into the wall and stuff like that. That would change the acceleration really fast. I mean, I can't assume I'm not going to hit anything in autonomous (hybrid) mode.

What bandwidth would you suggest?

Last edited by joshyboy9987 : 13-01-2008 at 20:38.