tolgabirdal/averaging_quaternions
Since quaternions are not regular vectors, but rather representations of orientation, an average quaternion cannot just be obtained by taking a weighted mean. This function implements the work done by F. Landis Merkley to calculate the average quaternion. The algorithm is explained by F. Landis Markley at:
http://www.acsu.buffalo.edu/~johnc/ave_quat07.pdf
For this particular implementation, I would also like to reference Mandar Harshe:
http://www-sop.inria.fr/members/Mandar.Harshe/knee-joint/html/index.html
While being basic and straightforward, this algorithm is compared with rotqrmean from VoiceBox and found to produce quite similar results, yet it is more elegant, much simpler to implement and follow. (Though, there might be difference in signs)
Zitieren als
Tolga Birdal (2025). tolgabirdal/averaging_quaternions (https://github.com/tolgabirdal/averaging_quaternions), GitHub. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Robotics and Autonomous Systems > Robotics System Toolbox > Coordinate Transformations >
- Aerospace and Defense > Aerospace Toolbox > Standard Workflow Procedures > Coordinate Systems > Quaternion Math >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Weighted average added.
|
|
|
1.0.0.0 |