POST
/
joints
/
write
{
  "message": "<string>",
  "status": "ok"
}

Query Parameters

robot_id
integer
default:0

Body

application/json

Request to set the joints of the robot.

angles
number[]
required

A list with the position of each joint. The length of the list must be equal to the number of joints. The unit is given by the 'unit' field.

joints_ids
integer[] | null

If set, only set the joints with these ids. If None, set all joints.Example: 'angles'=[1,1,1], 'joints_ids'=[0,1,2] will set the first 3 joints to 1 radian.

unit
enum<string>
default:rad

The unit of the angles. Defaults to radian.

Available options:
rad,
motor_units,
degrees

Response

200
application/json
Successful Response

Default response. May contain other fields.

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