sim.sap_runtime.SapControl#
- class sim.sap_runtime.SapControl(joint_f: array, joint_target_pos: array | None = None, joint_target_vel: array | None = None, joint_act: array | None = None, joint_f_order: Literal['sap', 'public'] = 'sap')[source]#
Bases:
objectMutable control input for a SAP timestep, including generalized forces, drive targets, target velocities, and actuation values.
- __init__(joint_f: array, joint_target_pos: array | None = None, joint_target_vel: array | None = None, joint_act: array | None = None, joint_f_order: Literal['sap', 'public'] = 'sap') None#
Methods
__init__(joint_f[, joint_target_pos, ...])clear()Clear direct forces, drive targets, target velocities, and actuation arrays in place.
Attributes
joint_actjoint_f_orderjoint_target_posjoint_target_veljoint_f