for the IoT Innovation Challenge we are using the Nicla Sense ME's integrated IMU to determine the acceleration in reference to a global basis.
For this we tried to use the SENSOR_ID_RV rotation Quaternion. However, using he quaternion data to rotate the acceleration vector (q*p*(q conj)) does not result in an accordingly rotated vector.
How can we use the rotation vector to rotate the data to the earth frame of reference?
Solved! Go to Solution.
we're working on an exercise velocity tracking application. In order to precisely determine when an exercise has started and stopped (so we can minimize the integration drift of the accelerometer when calculating the velocity) we want to determine the direction that the acceleration is going towards, relative to a fixed coordinate system (for example NED).
For this we tried the approach of using the rotation vector quaternion as outlined above, however we are unable to get a valid rotated acceleration vector out of the calculation.