kriswiner/EM7180_SENtral_sensor_hub

Using quat output from Sentral chip

Opened this issue · 12 comments

Hi Kris, I want to do find the rotation from quat1 to quat2. I used some standard lib like pyquaternion but got wrong result. When I use your function to convert from quat to rpy and rads, everthing is good. So it seems like the quat output from Sentral may have something special that makes it not working with pyquaternion. I wonder if you can give us some pointer to solve this problem. More specifically, we need to operation: quat multiplication and inverse. Thank much.

True, the output of Sentral is qxyz, qw, which seems to be reversed of standard normal.
BTW, can you share with us the reference to your formula to calculate rpy from quat? Thanks.