Skip to content

Get Robot Position

Get the current map and real-time coordinates of a specified robot.

  • Name: Get robot position
  • Description: Returns the most recently reported position of a robot.
  • Method: POST
  • Path: remoteApi/dogPos
  • Login required: No
  • Permission required: Yes

Note: Authentication is required, and remote publishing must be enabled. In System Management > Parameter Settings, set http_three_part_remote_upload to true.


ParameterTypeRequiredExampleDescription
dogCodeStringYes001Robot code

Example:

{
"dogCode": "001"
}
ParameterTypeExampleDescription
dogCodeString001Robot code
dogNameStringX30-1Robot name
xString-502.11x-coordinate, in cm
yString1172.49y-coordinate, in cm
zString-67.65z-coordinate, in cm
yawString0.07Yaw angle, in rad
timeString2026-02-26 20:24:32.932Time at which the position was reported

Example:

{
"success": true,
"code": 200,
"msg": "Operation succeeded",
"data": "{\"dogCode\":\"001\",\"dogName\":\"X30-1\",\"x\":\"-643.23\",\"y\":\"1329.13\",\"yaw\":\"1.53\",\"z\":\"0.00\",\"time\":\"2026-02-26 20:24:32.932\"}"
}