get_joint_states
Retrieve joint positions and velocities from a robot using its root prim path while Isaac Sim simulation is playing or paused; returns radians for revolute and metres for prismatic joints.
Instructions
Get joint positions and velocities while the simulation plays or is paused; an error while it is stopped.
Radians for revolute joints and metres for prismatic ones, velocities per second (set_joint_targets takes
degrees). Needs Isaac Sim; tested on 6.2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | Yes | The robot's root prim, e.g. "/World/G1" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |