get_joint_positions
Retrieve current joint positions of a robot, providing values in radians for revolute joints and meters for prismatic joints, consistent with the joint order from get_robot_info.
Instructions
Read current joint positions from a robot.
Units: radians for revolute joints, meters for prismatic joints. Joint order matches the joint_names from get_robot_info. For a combined step-and-read, prefer step_simulation with observe_joints.
Args: prim_path: The prim path of the robot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |