Coder Social home page Coder Social logo

rbabich / quaternion-conventions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clemense/quaternion-conventions

0.0 0.0 0.0 60 KB

An overview of different quaternion implementations and their chosen order: x-y-z-w or w-x-y-z?

License: MIT License

quaternion-conventions's Introduction

Quaternion Order Conventions

Quaternions are expressions of the form w + x i + y j + z k, with x i + y j + z k being the vector/imaginary part and w the scalar/real part. Math libraries differ in the way they order the vector and real part of a quaternion. This can lead to bothersome debugging sessions.

The following table shows quaternion implementations and their chosen order:
X-Y-Z-W #ffa500 (scalar-last format)   vs.   W-X-Y-Z #89cff0

Library / Framework Quaternion Format
autolab_core W-X-Y-Z #89cff0
Blender.mathutils W-X-Y-Z #89cff0
Boost W-X-Y-Z #89cff0
Bullet / PyBullet X-Y-Z-W #ffa500
DART (uses Eigen::Quaternion) W-X-Y-Z #89cff0
Drake (uses Eigen::Quaternion) W-X-Y-Z #89cff0
differentiable-robot-model X-Y-Z-W #ffa500
dm_robotics.transformations W-X-Y-Z #89cff0
Eigen W-X-Y-Z #89cff0
FleX X-Y-Z-W #ffa500
Isaac Gym X-Y-Z-W #ffa500
Klampt W-X-Y-Z #89cff0
MuJoCo W-X-Y-Z #89cff0
Nuklei W-X-Y-Z #89cff0
numpy-quaternions W-X-Y-Z #89cff0
OpenRAVE 0.9.0 X-Y-Z-W #ffa500
Orocos KDL X-Y-Z-W #ffa500
PhysX X-Y-Z-W #ffa500
PyMesh W-X-Y-Z #89cff0
pyquaternion W-X-Y-Z #89cff0
pyrr X-Y-Z-W #ffa500
pytorch3d W-X-Y-Z #89cff0
pytransform3d W-X-Y-Z #89cff0
quaternions W-X-Y-Z #89cff0
RoMa X-Y-Z-W #ffa500
ROS X-Y-Z-W #ffa500
ROS2 (tf2) X-Y-Z-W #ffa500
scipy.spatial.transforms X-Y-Z-W #ffa500
spatialmath-python W-X-Y-Z #89cff0
squaternion W-X-Y-Z #89cff0
The Library for Uniform Deterministic Sequences and Sets of Samples over 2-sphere and SO(3) X-Y-Z-W #ffa500
Theseus W-X-Y-Z #89cff0
transformations.py (<=2009.04.18) X-Y-Z-W #ffa500
transformations.py (>=2010.05.10, includes trimesh.transformations) W-X-Y-Z #89cff0
Transforms3d W-X-Y-Z #89cff0
tinyquaternion W-X-Y-Z #89cff0
USD (Pixar) W-X-Y-Z #89cff0
ViSII - A VIrtual Scene Imaging Interface W-X-Y-Z #89cff0
NVIDIA Warp X-Y-Z-W #ffa500

quaternion-conventions's People

Contributors

clemense avatar guilyx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.