Skip to content

novaphy.ik.get_ee_rotation

World-frame end-effector rotation matrix from generalized coordinates.

def get_ee_rotation(
    art,
    q,
    ee_link_index: int = -1,
) -> np.ndarray

Parameters

Parameter Description
art JointBodyBundle or compatible.
q Generalized positions.
ee_link_index End-effector link index (-1 = last link).

Returns

(3, 3) rotation matrix.

See Also