API Documentation#
jaxtransform3d.rotations
#
Rotations in 3D#
The group of all rotations in the 3D Cartesian space is called \(SO(3)\) (SO: special orthogonal group). It is typically represented by 3D rotation matrices. The minimum number of components that are required to describe any rotation from \(SO(3)\) is 3. However, there is no representation that is non-redundant, continuous, and free of singularities.
Rotation Matrices#
|
Orthonormalize rotation matrix. |
|
Orthonormalize rotation matrix with robust polar decomposition. |
Invert rotation matrix. |
|
|
Compose rotation matrices. |
|
Apply rotation matrix to vector. |
|
Compute rotation matrices from compact axis-angle representations. |
Compute axis-angle from rotation matrix. |
Quaternions#
Normalize quaternion to unit norm. |
|
Conjugate of quaternion. |
|
|
Compose two quaternions. |
|
Apply rotation represented by a quaternion to a vector. |
|
Compute quaternion from axis-angle. |
Compute axis-angle from quaternion. |
Jacobians#
|
Left Jacobian of SO(3) at theta (angle of rotation). |
|
Left Jacobian of SO(3) at theta from Taylor series with 10 terms. |
|
Inverse left Jacobian of SO(3) at theta (angle of rotation). |
|
Inverse left Jacobian of SO(3) at theta from Taylor series with 10 terms. |
jaxtransform3d.transformations
#
Proper Rigid Transformations in 3D#
The group of all proper rigid transformations (rototranslations) in 3D Cartesian space is \(SE(3)\) (SE: special Euclidean group). Transformations consist of a rotation and a translation. Those can be represented in different ways just like rotations can be expressed in different ways. The minimum number of components that are required to describe any transformation from \(SE(3)\) is 6.
Transformation Matrices#
Invert transformation matrix. |
|
|
Apply transformation matrix to vector. |
|
Compose transformation matrices. |
|
Make transformation from rotation matrix and translation. |
Compute transformation matrix from exponential coordinates. |
|
Compute exponential coordinates from transformation matrix. |
Dual Quaternions#
|
Normalize unit dual quaternion. |
|
Compute squared norm of dual quaternion. |
|
Quaternion conjugate of dual quaternions. |
|
Concatenate dual quaternions. |
|
Apply transform represented by a dual quaternion to a vector. |
Compute dual quaternion from exponential coordinates. |
|
Compute dual quaternion from exponential coordinates. |