Skip to main content
POST
/
move
/
absolute
Move to Absolute Position
curl --request POST \
  --url https://api.example.com/move/absolute \
  --header 'Content-Type: application/json' \
  --data '
{
  "max_trials": 10,
  "open": 123,
  "orientation_tolerance": 0.2,
  "position_tolerance": 0.03,
  "rx": 123,
  "ry": 123,
  "rz": 123,
  "x": 123,
  "y": 123,
  "z": 123
}
'
{
  "message": "<string>",
  "status": "ok"
}

Query Parameters

robot_id
integer
default:0

Body

application/json

Move the robot to an absolute position. All zeros means the initial position, that you get by calling /move/init.

max_trials
integer
default:10

The maximum number of trials to reach the target position.

Required range: x >= 1
open
number | null

0 for closed, 1 for open

orientation_tolerance
number
default:0.2

Increase max_trials and decrease tolerance to get more precision.Orientation tolerance is the euclidean distance between the target and the current orientation.

Required range: x >= 0
position_tolerance
number
default:0.03

Increase max_trials and decrease tolerance to get more precision.Position tolerance is the euclidean distance between the target and the current position.

Required range: x >= 0
rx
number | null

Absolute Pitch in degrees. If None, inverse kinematics will be used to calculate the best position.

ry
number | null

Absolute Yaw in degrees. If None, inverse kinematics will be used to calculate the best position.

rz
number | null

Absolute Roll in degrees. If None, inverse kinematics will be used to calculate the best position.

x
number | null

X position in centimeters

y
number | null

Y position in centimeters

z
number | null

Z position in centimeters

Response

Successful Response

Default response. May contain other fields.

message
string | null
status
enum<string>
default:ok
Available options:
ok,
error