- #1
SGGSJi
- 2
- 0
Hi Guys,
I am getting a quaternion stream from motion sensor (accl, gyro, magneto). As I understand the quaternion represent the 3D orientation of objects. When I place the sensor at location 1 (I record quaternion, q1=[w x y z]), now if I place it at location 2 (say 3 feet to right, 2 feet up and 2 feet forward, q2=[w2 x2 y2 z2]) basically no rotation just translation, should I be expecting same quaternion values as location 1?
I get two different quaternion values, assuming that is correct. I wish to determine if there is any difference in orientation(Euler angles) at location1 and 2. Any ideas where I might be wrong.
Please guide.
Regards,
I am getting a quaternion stream from motion sensor (accl, gyro, magneto). As I understand the quaternion represent the 3D orientation of objects. When I place the sensor at location 1 (I record quaternion, q1=[w x y z]), now if I place it at location 2 (say 3 feet to right, 2 feet up and 2 feet forward, q2=[w2 x2 y2 z2]) basically no rotation just translation, should I be expecting same quaternion values as location 1?
I get two different quaternion values, assuming that is correct. I wish to determine if there is any difference in orientation(Euler angles) at location1 and 2. Any ideas where I might be wrong.
Please guide.
Regards,