PX4 ROS 2 Interface Library
Library to interface with PX4 from a companion computer using ROS 2
px4_ros2::ModeBase::Settings Struct Reference

Public Member Functions

 Settings (std::string mode_name)
 
SettingsactivateEvenWhileDisarmed (bool activate)
 
SettingsreplaceInternalMode (ModeID mode)
 
SettingspreventArming (bool prevent)
 

Public Attributes

const std::string name
 Name of the mode with length < 25 characters.
 
bool activate_even_while_disarmed {false}
 If true, the mode is also activated while disarmed if selected.
 
ModeID replace_internal_mode {kModeIDInvalid}
 Can be used to replace an fmu-internal mode.
 
bool prevent_arming {false}
 Prevent arming while in this mode.
 

The documentation for this struct was generated from the following file: