Hi, everyone.
I am using arduino UNO with MPU6050 sensor and ADNS-9800 sensor. Using the library, i managed to get the yaw, pitch and roll. Now I want to know how much higher my mobile robot is moving on a slope. I plan to do so by using the angle from plane tilt and with linear distance from ADNS-9800.
There are a lot of rotation matrix and also tilt-compensation algorithm but honestly, I am not sure how to calculate the tilt angle from the data I have. Any suggestion or links would be much appreciated. Thanks.