bolderflight / invensense-imu

Arduino and CMake library for communicating with the InvenSense MPU-6500, MPU-9250 and MPU-9255 nine-axis IMUs.
MIT License
497 stars 210 forks source link

AccY Data only decreasing #90

Closed A-Basra closed 3 years ago

A-Basra commented 3 years ago

Hi,

I'm having some issues with the AccelY data. When calling the y accel data, using getAccelY_mss(), the data decreases no matter whether you rotate the device along the Y axis forward or backwards as opposed to increasing for movement in one direction and decreasing for the other.

The X axis works fine and as expected by increasing when moved in one direction along the x axis and decreasing when moving in the other.

Any suggestions?

flybrianfly commented 3 years ago

Not sure why this would be the case unless there is some confusion about the axes or what is supposed to be measured / returned from an accelerometer.