set_joint_drive_config
Update drive gains, limits, or drive type for selected joints in an Isaac Sim articulation. Inputs are validated before atomic application, with rollback if apply fails.
Instructions
Atomically update drive gains, limits, or drive type for selected joints.
The timeline must be stopped. Numeric fields must be finite and non-negative. Values use runtime SI units: revolute gains are per radian, revolute velocity is radians_per_second, and prismatic velocity is meters_per_second. drive_type is force or acceleration. All inputs are validated before writing, and an apply failure triggers rollback.
Args: prim_path: USD path of the articulation root. stiffness: Optional proportional gain applied to every selected joint. damping: Optional derivative gain applied to every selected joint. max_force: Optional maximum drive effort. max_velocity: Optional maximum joint velocity; PhysX only. drive_type: Optional force or acceleration drive mode. joint_names: Optional exact, case-sensitive joint subset. joint_indices: Optional DOF-index subset; mutually exclusive with joint_names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| damping | No | ||
| max_force | No | ||
| prim_path | Yes | ||
| stiffness | No | ||
| command_id | No | ||
| drive_type | No | ||
| joint_names | No | ||
| max_velocity | No | ||
| joint_indices | No | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |