mavsdk::Modes::Mode Struct Reference ​
#include: modes.hpp
Mode type.
Data Fields ​
std::string name {} - Name of the mode, e.g. "Position" or "Stabilize".
uint32_t custom_mode {} - Autopilot specific custom mode.
bool is_standard {} - True if this is a MAVLink standard mode, e.g. "Position" or "Mission".
bool is_user_selectable {} - True if the mode can be set by the user.
bool is_advanced {} - True if the mode is for advanced users only.
bool is_auto_mode {} - True if the mode runs autonomously, e.g. Mission or Land.
Field Documentation ​
name ​
std::string mavsdk::Modes::Mode::name {}Name of the mode, e.g. "Position" or "Stabilize".
custom_mode ​
uint32_t mavsdk::Modes::Mode::custom_mode {}Autopilot specific custom mode.
is_standard ​
bool mavsdk::Modes::Mode::is_standard {}True if this is a MAVLink standard mode, e.g. "Position" or "Mission".
is_user_selectable ​
bool mavsdk::Modes::Mode::is_user_selectable {}True if the mode can be set by the user.
is_advanced ​
bool mavsdk::Modes::Mode::is_advanced {}True if the mode is for advanced users only.
is_auto_mode ​
bool mavsdk::Modes::Mode::is_auto_mode {}True if the mode runs autonomously, e.g. Mission or Land.

