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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prim_path": "<prim_path>"
},
"name": "get_joint_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |