mavsdk::ModesServer::Mode Struct Reference ​
#include: modes_server.hpp
Mode type.
Data Fields ​
std::string name {} - Name of the mode, for a standard mode one of the standard names, e.g. "Position" or "Mission".
uint32_t custom_mode {} - Autopilot specific custom mode, needs to be unique.
bool is_standard {} - True if this is a MAVLink standard mode.
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::ModesServer::Mode::name {}Name of the mode, for a standard mode one of the standard names, e.g. "Position" or "Mission".
custom_mode ​
uint32_t mavsdk::ModesServer::Mode::custom_mode {}Autopilot specific custom mode, needs to be unique.
is_standard ​
bool mavsdk::ModesServer::Mode::is_standard {}True if this is a MAVLink standard mode.
is_user_selectable ​
bool mavsdk::ModesServer::Mode::is_user_selectable {}True if the mode can be set by the user.
is_advanced ​
bool mavsdk::ModesServer::Mode::is_advanced {}True if the mode is for advanced users only.
is_auto_mode ​
bool mavsdk::ModesServer::Mode::is_auto_mode {}True if the mode runs autonomously, e.g. Mission or Land.

