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

Esp32, Arduino how do I know the correct angle of the device? #113

Closed bbhxwl closed 2 years ago

bbhxwl commented 2 years ago

Esp32, Arduino how do I know the correct angle of the device?

flybrianfly commented 2 years ago

This is the axis orientation: https://github.com/bolderflight/mpu9250#sensor-orientation

The sensor gives measurements of linear acceleration and rotational rates. Rotation angles are not measured directly and can be estimated using different approaches and filters, which are not included with this library since there are many to choose from and they are application specific.