Go Down

Topic: Digital gyro, acc, kalman, pitch, roll tutorial (Read 4 times) previous topic - next topic

freak174

#5
Mar 28, 2013, 08:01 pm Last Edit: Mar 28, 2013, 08:03 pm by freak174 Reason: 1
Do you mind explaining why you are using the map function for the magnetometer? Is that really neccessary?
And where did you get the variable
Quote
bACCx
from ? Cant seem to find it anywhere else in your code.

Cheers

sirbow2

i dont quite know, haha. i copied that code. bACCx  is probably in a different function. do you want it?
http://dduino.blogspot.com all my Arduino/electronic projects!!!

{NEW} Getting Started, Learning, Reference + FAQ PDF!!:
[url]http://ar

freak174


i dont quite know, haha. i copied that code. bACCx  is probably in a different function. do you want it?


It got sort out when I downloaded your code. It was simply an average of 100 samples when you start the sensor, with other word offset/bias value.

Thanks anyway mate ;)

Go Up