Skip to content

ConfigOverrides (UORB message)

Configurable overrides by (external) modes or mode executors.

TOPICS: config_overrides config_overrides_request

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64time since system start (microseconds)
disable_auto_disarmboolPrevent the drone from automatically disarming after landing (if configured)
defer_failsafesboolDefer all failsafes that can be deferred (until the flag is cleared)
defer_failsafes_timeout_sint16Maximum time a failsafe can be deferred. 0 = system default, -1 = no timeout
disable_auto_set_homeboolPrevent the drone from automatically setting the home position on arm or takeoff
source_typeint8
source_iduint8ID depending on source_type

Constants

NameTypeValueDescription
MESSAGE_VERSIONuint321
SOURCE_TYPE_MODEint80
SOURCE_TYPE_MODE_EXECUTORint81
ORB_QUEUE_LENGTHuint84

Source Message

Source file (GitHub)

Click here to see original file
c
# Configurable overrides by (external) modes or mode executors

uint32 MESSAGE_VERSION = 1

uint64 timestamp		# time since system start (microseconds)

bool disable_auto_disarm         # Prevent the drone from automatically disarming after landing (if configured)

bool defer_failsafes             # Defer all failsafes that can be deferred (until the flag is cleared)
int16 defer_failsafes_timeout_s  # Maximum time a failsafe can be deferred. 0 = system default, -1 = no timeout
bool disable_auto_set_home       # Prevent the drone from automatically setting the home position on arm or takeoff

int8 SOURCE_TYPE_MODE = 0
int8 SOURCE_TYPE_MODE_EXECUTOR = 1
int8 source_type

uint8 source_id                  # ID depending on source_type

uint8 ORB_QUEUE_LENGTH = 4

# TOPICS config_overrides config_overrides_request