POST
/
end-effector
/
read
{
  "open": 123,
  "rx": 123,
  "ry": 123,
  "rz": 123,
  "x": 123,
  "y": 123,
  "z": 123
}

Query Parameters

robot_id
integer
default:0

Body

application/json
only_gripper
boolean
default:false

If True, only return the gripper state. If False, return the full end effector position and orientation.

sync
boolean
default:false

If True, the simulation will first read the motor positions, synchronize them with the simulated robot, and then return the end effector position.Useful for measurements, however it will take more time to respond.

Response

Successful Response

End effector position for a movement in absolute frame. All zeros means the initial position, that you get by calling /move/init

open
number
required

0 for closed, 1 for open

rx
number | null
required

Absolute Pitch in degrees

ry
number | null
required

Absolute Yaw in degrees

rz
number | null
required

Absolute Roll in degrees

x
number | null
required

X position in centimeters

y
number | null
required

Y position in centimeters

z
number | null
required

Z position in centimeters