Home Examples Installation Documentation Contact Help

Ry

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 y-axis given the orientation. Get more information about rotation on the quaternion rotation documentation webpage.

Example

    radian = (0.5 * np.pi) / 2
    print(quat.Ry(radian))

output:

   [0.92387953 0.         0.38268343 0.        ]