I'm using a BHI260AB chip and I'd like to know the difference between the Rotation Vector and Orientation virtual sensors. I see that one is expressed in quaternions and the other in Euler angles. Both use a magnetometer (NDOF mode). I don't understand clearly what's the difference between both of them.
In my application, I need to use the BHI chip to measure some inclination angles (vertical respect to the horizon and horizontal respect to a reference orientation), those inclination angles are the angles formed by the orientation of the BHI chip and a fixed frame of reference on the inertial frame (a frame fixed to the Earth).
What would be the right virtual sensor to use for that purpose?
They use different coordinate systems and can convert each other.
For your application, both virtual sensors can be used, and the Euler angle is more intuitive.
In addition, you need to map the coordinates to your application coordinates first.
Could you please send me an example of how to map the coordinates of the sensor to our application?