Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

struct ManualControlData

fbs/control.fbs / Source schema

Normalized pilot intent after receiver decoding, mapping, and validity checks. Axis fields use the full range -1000 to 1000. Throttle semantics are fixed by the schema: negative values command reverse thrust or descent; unidirectional vehicles clamp negative throttle to zero. Axis validity is carried only by active_axes; there are no sentinel values.

FlatBuffers root table: ManualControlCommand

NameTypeUnit / ScaleNotes
timestamp_usulongmicrosecondsCommand timestamp in monotonic boot time.
buttonsuintBitmask of active momentary buttons or switches, indexed from bit 0.
active_axesushortBitmask of ManualControlAxes bits indicating meaningful axes.
pitch_millishortnormalized milli-units; value / 1000, usually [-1, 1]Pitch command in milli-units over -1000 to 1000; positive pitches nose up.
roll_millishortnormalized milli-units; value / 1000, usually [-1, 1]Roll command in milli-units over -1000 to 1000; positive rolls right.
throttle_millishortnormalized milli-units; value / 1000, usually [-1, 1]Throttle command in milli-units over -1000 to 1000; negative means reverse or descend.
yaw_millishortnormalized milli-units; value / 1000, usually [-1, 1]Yaw command in milli-units over -1000 to 1000; positive yaws counter-clockwise.
aux0_millishortnormalized milli-units; value / 1000, usually [-1, 1]Auxiliary axis 0 in milli-units over -1000 to 1000.
aux1_millishortnormalized milli-units; value / 1000, usually [-1, 1]Auxiliary axis 1 in milli-units over -1000 to 1000.
aux2_millishortnormalized milli-units; value / 1000, usually [-1, 1]Auxiliary axis 2 in milli-units over -1000 to 1000.
aux3_millishortnormalized milli-units; value / 1000, usually [-1, 1]Auxiliary axis 3 in milli-units over -1000 to 1000.
aux4_millishortnormalized milli-units; value / 1000, usually [-1, 1]Auxiliary axis 4 in milli-units over -1000 to 1000.
aux5_millishortnormalized milli-units; value / 1000, usually [-1, 1]Auxiliary axis 5 in milli-units over -1000 to 1000.
flight_modeubyteProducer-defined requested flight mode.
flagsubytebitmaskBitmask of ManualControlFlags bits.