axis_angle_to_quaternion#
- static GeometryOperators.axis_angle_to_quaternion(u, theta)[source]#
Convert the axis angle rotation formulation to a quaternion.
- Parameters:
- u
List
List of
[ux, uy, uz]
coordinates for the rotation axis.- theta
float
Angle of rotation in radians.
- u
- Returns:
List
List of
[q1, q2, q3, q4]
coordinates for the quaternion.