upkie  11.0.0
Open-source wheeled biped robots
upkie.utils.rotations Namespace Reference

Convert between various rotation representations. More...

Functions

np.ndarray quaternion_from_rotation_matrix (np.ndarray rotation_matrix)
 Convert a rotation matrix to a unit quaternion for the same rotation. More...
 
np.ndarray rotation_matrix_from_quaternion (Tuple[float, float, float, float] quat)
 Convert a unit quaternion to the matrix representing the same rotation. More...
 
np.ndarray rotation_matrix_from_rpy (Tuple[float, float, float] rpy)
 Convert URDF roll-pitch-yaw angles to a rotation matrix. More...
 
np.ndarray skew (np.ndarray v)
 Skew-symmetric matrix from a 3D vector. More...
 

Detailed Description

Convert between various rotation representations.