newton.core#

Classes

Axis

Enum for representing the three axes in 3D space.

Functions

AxisType

alias of Axis | Literal['X', 'Y', 'Z'] | Literal[0, 1, 2] | int | str

quat_between_axes(*axes)

Compute the rotation between a sequence of axes.

quat_decompose(q)

Decompose a quaternion into extrinsic Euler angles.

quat_from_euler(e, i, j, k)

Convert Euler angles to a quaternion.

quat_to_euler(q, i, j, k)

Convert a quaternion into Euler angles.

quat_to_rpy(q)

Convert a quaternion into Euler angles (roll, pitch, yaw).

quat_twist(axis, q)

Return the twist around an axis.

quat_twist_angle(axis, q)

Return the angle of the twist around an axis.

transform_twist(t, x)

Transform a spatial twist between coordinate frames.

transform_wrench(t, x)

Transform a spatial wrench between coordinate frames.

velocity_at_point(qd, r)

Return the velocity of a point relative to the frame that owns the provided spatial velocity.