Show Posts
Pages: [1]
1  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 06, 2011, 09:45:29 am
ok fixed that. But it only works for about 50 degrees +-. Similar to the other kalman filter i tried smiley-sad
2  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 06, 2011, 08:14:58 am
I modded the code into java, as i'm doing the postprocessing on the PC.
the only thing i think i modded is this...
 xAngle += kalmanCalculateX(accXangle, gyroXrate, dtime);
I made the xAngle += so I just print total xAngle directly. Is that wrong?
Apart from that, using nano seconds and slightly different calibration position it is the same.
3  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 06, 2011, 07:57:32 am
Haha, yeh definitely getting all the data smiley-razz For some reason i get more accurate data from the non filtering. The calculated accelerometer angle doesn't go through 360degrees. Gets about a max of 50. Is this supposed to happen?
4  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 06, 2011, 05:13:33 am
I'm using a different one, the digital combo board. http://www.sparkfun.com/products/10121. I had to mod the code to suit the digital version, but i'm confident it works.
I've tried changing the values but they don't seem to have any benificial effects smiley-sad
Sometimes the result jump about 20 degrees, quite rarely. Does this ever occur for you?
5  Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering on: May 06, 2011, 02:32:48 am
This isn't working for me. My angle is still drifting at a degree per second.
Pages: [1]