API Reference
Log In
API Reference

/input

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Description

Programmatically control your drone’s movements.

Channels are arranged as an array, where the first index represents the first channel. For a virtual drone, the mapping is default as follows:

Channel 1: Roll (1000 - 2000, 1500 is no roll)
Channel 2: Pitch (1000 - 2000, 1500 is no pitch)
Channel 3: Throttle (1000 - 2000, 1750 is enough throttle to hold the drone at its present altitude)
Channel 4: Yaw (1000 - 2000, 1500 is no yaw)

Body Params
string
Defaults to radio

Required. Currently must be set to “radio.”

string
Defaults to true

Set to true to allow manual input updates to the drone. Set to false to stop them.

string

Number of milliseconds to specify for the API to disable manual input if no new POST /input is received in this time frame. Optional. If not specified, the API will never timeout.

channels
array of int32s
Defaults to 1500,1500,1750,

The input values for each radio channel. Range is from 1000 to 2000 on virtual drones.

channels
Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json