newton.ik.IKObjectivePosition#
- class newton.ik.IKObjectivePosition(link_index, link_offset, target_positions, weight=1.0)[source]#
Bases:
IKObjectiveEnd-effector positional target for one link.
- Parameters:
link_index (int) – Body index whose frame defines the end-effector.
link_offset (wp.vec3) – Offset from the body frame (local coordinates).
target_positions (wp.array(dtype=wp.vec3)) – One target position per problem.
weight (float, optional) – Scalar weight multiplying both residual and Jacobian rows. Defaults to 1.0.
- __init__(link_index, link_offset, target_positions, weight=1.0)#
- compute_jacobian_analytic(body_q, joint_q, model, jacobian, joint_S_s, start_idx)#
- compute_jacobian_autodiff(tape, model, jacobian, start_idx, dq_dof)#
- compute_residuals(body_q, joint_q, model, residuals, start_idx, problem_idx)#
- init_buffers(model, jacobian_mode)#
Precompute lookup tables for analytic jacobian computation.
- residual_dim()#
- supports_analytic()#