Skip to content

Set pitch, yaw, roll

POST
/api/v.setAttitude

Parameters

Query Parameters

pitch
required
number

Float parameter (passed via bracket notation)

yaw
required
number

Float parameter (passed via bracket notation)

roll
required
number

Float parameter (passed via bracket notation)

scale
string
/^-?\d+(\.\d+)?,-?\d+(\.\d+)?$/
0,1023

Input scaling range for embedded controllers. Format: min,max. Maps the first bracket argument from the integer range [min, max] to [0.0, 1.0]. Example: scale=0,1023 with arg 5120.5.

precision
integer
<= 15
2

Round numeric output to N decimal places (0–15).

int
boolean

When true, return output as integer: value × 10^precision. Requires precision to be set. Useful for integer-only embedded boards.

Responses

200

Successful response

object
v.setAttitude
integer