What I am trying to archive with this sensor is a variometer. The main function of variometer is to tell how many meters / second it is going up or down.
I have a ESP32 Dev module connected to a MPU9250. I used this library (with a little fix), and I made sure the sensor is working. Although I get all different kinds of methods from this library, it is just overwhelming to understand how to put them all together to get vertical velocity.
There is a project called prunkdump/arduino-variometer
, and this also builds a variometer. Looking at the codes, I see quaternions have to do with this.
If I stick with sparkfun/SparkFun_MPU-9250-DMP_Arduino_Library, am I able to get vertical velocity in the similar method?