pytransform3d.rotations.norm_angle

pytransform3d.rotations.norm_angle(a)[source]

Normalize angle to (-pi, pi].

Parameters
afloat or array-like, shape (n,)

Angle(s) in radians

Returns
a_normfloat or array-like, shape (n,)

Normalized angle(s) in radians

Examples using pytransform3d.rotations.norm_angle