Rz
Specification
Location | Author | Maintained by |
---|---|---|
isl/math/quaternion.py | Kenny Erleben | DIKU |
Purpose & Params
Given a radian, the function returns a quaternion rotation on the z-axis given the orientation. Get more information about rotation on the quaternion rotation documentation webpage.
Example
radian = (0.5 * np.pi) / 2
print(quat.Rz(radian))
output:
[0.92387953 0. 0. 0.38268343]