micropython-IMU / micropython-mpu9x50

Drivers for InvenSense inertial measurement units MPU9250, MPU9150, MPU6050
MIT License
259 stars 81 forks source link

Tilt Angle Question #27

Closed jms547 closed 1 year ago

jms547 commented 1 year ago

Is there any easy way to quickly obtain the tilt angle of the sensor? Or just lots of manual calculations?

I'm a little new to this stuff, so apologies if this is a dumb question...

peterhinch commented 1 year ago

The fusion module allows you to extract yaw, pitch and roll Euler angles from the driver. This may be what you're after.

jms547 commented 1 year ago

Ah that's perfect, thank you!