Seneca's main page at:
http://zenit.senecac.on.ca/wiki/index.php/Main_Page
features a blog entry today on gimbal lock and quaternions.
Can anyone explain how quaternions can be used to avoid gimbal lock?
Seneca's main page at:
http://zenit.senecac.on.ca/wiki/index.php/Main_Page
features a blog entry today on gimbal lock and quaternions.
Can anyone explain how quaternions can be used to avoid gimbal lock?
Easy -- http://en.wikipedia.org/wiki/Gimbal_lock#Loss_of_a_degree_of_freedom_with_Euler_angles
With the Pi being so cheap though, the preferred solution is to hit it with a mallet until the gimbal submits.
Morgaine,
Thanks. It looks like OpenGL doesn't have direct support for quaternions, so
various people have added libraries and written tutorials, both to avoid
gimbal lock and for smoother interpolation.
RPi users my find this useful not only for graphics, but also for robotics.