8 #include <rclcpp/rclcpp.hpp>
10 #include <px4_msgs/msg/config_overrides.hpp>
16 class ModeExecutorBase;
21 explicit ConfigOverrides(rclcpp::Node & node,
const std::string & topic_namespace_prefix =
"");
23 void controlAutoDisarm(
bool enabled);
30 void deferFailsafes(
bool enabled,
int timeout_s = 0);
31 void setup(uint8_t type, uint8_t
id);
35 px4_msgs::msg::ConfigOverrides _current_overrides{};
36 rclcpp::Publisher<px4_msgs::msg::ConfigOverrides>::SharedPtr _config_overrides_pub;
37 bool _is_setup{
false};
38 bool _require_update_after_setup{
false};
Definition: overrides.hpp:19
Base class for a mode.
Definition: mode.hpp:70
Base class for a mode executor.
Definition: mode_executor.hpp:31