unilab.utils.rotation.np_quat_from_angle_axis¶
- unilab.utils.rotation.np_quat_from_angle_axis(angle, axis)[source]¶
Convert axis-angle pairs to unit quaternions (N, 4), w-first.
anglehas shape (N,) andaxishas shape (N, 3); axes are normalized internally. Inverse ofnp_quat_to_axis_angle().