View Single Post
  #4   Spotlight this post!  
Unread 27-04-2014, 12:32
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: Gyro math filters

Quote:
Originally Posted by SoftwareBug2.0 View Post
Do you want to do a full 6 degree of freedom system or do you want to assume that you stay on flat ground?
I'm assuming that the robot is always on a flat surface

Quote:
Originally Posted by mathmogul View Post
It isn't possible to use an accelerometer for measuring yaw rotation.
That's pretty much the conclusion I arrived at. There must be some correlation between rotating and accelerometer output, though, like centripetal acceleration?

Quote:
A magnetometer should be used instead since it's essentially a compass.
I've heard mixed opinions about using compasses. We already have one of these, so I guess we'll modify the ADXL345_I2C class into a magnetometer class (using its pre-written i2c code) and see how it goes from there