Reply To: angelx

Home Forums Forums Technical Support for BerryIMU angelx Reply To: angelx

#7422
ad van der ende
Participant

hi,

I have made the neccessary changes in the code for upside down.

Funny that a gyro , which is upside down or not influences the readings?

So the gyro should not go head over heels?

 

anyway:

gyroXangle+=rate_gyr_x*LP
gyroYangle+=rate_gyr_y*LP
gyroZangle+=rate_gyr_z*LP

the “+=” is the reason why the gyroXangle is accumulating!

is this correct?

kind regrdas

adriaan

 

Blip, blop, bloop…