Frame & Rotation Converter
One rotation in every representation and frame convention, live in your browser.
Background readingRotations and framesRobot kinematicsRobot calibration
01Live conversion
Quaternion
Both component orders. Mixing them up is the most common orientation bug.
Euler angles
Intrinsic axes move with the body. Extrinsic axes stay fixed.
Axis-angle and rotation vector
Angle in 0 to 180 degrees. The rotation vector is OpenCV’s rvec.
3D gizmo
Grey axes are identity. Drag to orbit, scroll to zoom.
Rotation matrix
Row major, v' = R v. Paste one from a log to check it is still a rotation.
Homogeneous 4x4 transform
Rotation plus translation, as a debugger or tf echo prints it.
02Code out
In the target tool’s syntax, with order and units handled.
loading
03Compose and compare
A then B is qB × qA: the last rotation sits on the left.
04Frame convention converter
Re-express the rotation and a position in another frame convention.
05Which tool uses which convention
Check your source here before debugging signs.
| Tool or standard | Quaternion order | Euler convention | Axes and handedness | Notes |
|---|
How it works
- Hamilton quaternions, active rotations: v' = R v.
- Each frame is defined by where its axes point. The converter applies that basis change and flags handedness flips.
- Runs in your browser. The maths is plain functions in the page source.