Why and How to Avoid the Flipped Quaternion Multiplication

Over the last decades quaternions have become a crucial and very successful tool for attitude representation in robotics and aerospace. However, there is a major problem that is continuously causing trouble in practice when it comes to exchanging formulas or implementations: there are two quaternion...

Full description

Bibliographic Details
Main Authors: Sommer, Hannes, Gilitschenski, Igor, Bloesch, Michael, Weiss, Stephan, Siegwart, Roland, Nieto, Juan
Other Authors: Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Format: Article
Published: Multidisciplinary Digital Publishing Institute (MDPI) 2018
Online Access:http://hdl.handle.net/1721.1/118190
Description
Summary:Over the last decades quaternions have become a crucial and very successful tool for attitude representation in robotics and aerospace. However, there is a major problem that is continuously causing trouble in practice when it comes to exchanging formulas or implementations: there are two quaternion multiplications commonly in use, Hamilton’s multiplication and its flipped version, which is often associated with NASA’s Jet Propulsion Laboratory. This paper explains the underlying problem for the popular passive world-to-body usage of rotation quaternions, and promotes an alternative solution compatible with Hamilton’s multiplication. Furthermore, it argues for discontinuing the flipped multiplication. Additionally, it provides recipes for efficiently detecting relevant conventions and migrating formulas or algorithms between them. Keywords: quaternion multiplication; attitude; rotation; convention