package mavsdk.rpc.modes

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service ModesService

modes.proto:19

Discover and set flight modes at runtime. The modes are queried from the vehicle using the MAVLink standard modes protocol (AVAILABLE_MODES, CURRENT_MODE). For autopilots that don't implement it, a list of known modes is used as a fallback. Modes are identified by name. Standard modes have a fixed name, e.g. "Position" or "Mission", other modes use the name reported by the vehicle. Setting a mode works the same way for both.

message Mode

modes.proto:57

Mode type.

Used in: AvailableModesResponse, CurrentModeResponse

message ModesResult

modes.proto:67

Result type.

Used in: SetModeResponse

enum ModesResult.Result

modes.proto:69

Possible results returned for mode requests.

Used in: ModesResult