axis_angle_to_quaternion#

static GeometryOperators.axis_angle_to_quaternion(u, theta)[source]#

Convert the axis angle rotation formulation to a quaternion.

Parameters:
uList

List of [ux, uy, uz] coordinates for the rotation axis.

thetafloat

Angle of rotation in radians.

Returns:
List

List of [q1, q2, q3, q4] coordinates for the quaternion.