PDA

View Full Version : Euler (seeing double)


Andrew
10-27-2006, 10:51 PM
I'm new to Vizard so this may be dumb question. I'm recording euler angles for the rotation of a stationary object (rotation but no translation). I'd like to calculate the error between a desired set of target angles and set recorded for the manual rotation of the object to that target. It seems pretty straight forward except that I've noticed that I can record (at least) two different sets of euler angles with the object in the same orientation. The conversion from one to the other does not seem to make sense. Can anyone explain this?

Thanks

Gladsomebeast
10-28-2006, 10:23 AM
To avoid the multiple euler angles for a given orientation, compare Quaternions instead. You can use the vizmat.QuatDiff() fucntion to compute the error.