m5stack / M5StickC

M5StickC Arduino Library
MIT License
477 stars 222 forks source link

Can SH200Q detect tilt to gravity? #23

Closed naninunenoy closed 5 years ago

naninunenoy commented 5 years ago

I would like to calculate posture of M5StickC. But it seems that accelerometer in SH200Q does not reflect gravity acceleration. SH200Q only provides linear acceleration?

http://www.senodia.com/en/Product/detail/id/17.html

SH200Q is an inertial measurement unit,integrated with 3-axis gyroscope and 3-axis accelerometer.It provides high precision data of real-time angular velocity and linear acceleration,

naninunenoy commented 5 years ago

Sorry, I used old version library 0.0.5. SH200Q values are modified in 0.0.7, but IMU.cpp and example code of SH200I still look strange.