PX4 ROS 2 Interface Library
Library to interface with PX4 from a companion computer using ROS 2
Loading...
Searching...
No Matches
px4_ros2::ModeBase::Settings Struct Reference

Public Member Functions

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

Public Attributes

const std::string name
 Name of the mode with length < 25 characters.
 
bool activate_even_while_disarmed
 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.
 
bool user_selectable {true}
 If true, the mode is selectable by the user.
 

Member Data Documentation

◆ activate_even_while_disarmed

bool px4_ros2::ModeBase::Settings::activate_even_while_disarmed
Initial value:
{
false}

If true, the mode is also activated while disarmed if selected.


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