Skip to content

novaphy.ik.get_ee_position

World-frame end-effector position from generalized coordinates.

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

Parameters

Parameter Description
art A finalized novaphy.Model, JointBodyBundle, or compatible list-based object.
q Generalized positions for that model/bundle.
ee_link_index End-effector link index (-1 = last link).
local_offset Optional 3D offset in the link frame; default = link origin.

Returns

(3,) world-frame position.

See Also