20#include "rclcpp/rclcpp.hpp"
113 friend class GenericTreeExecutorNode;
115 rclcpp::NodeOptions ros_node_options_;
116 bool enable_command_action_ =
true;
117 bool enable_clear_blackboard_service_ =
true;
118 bool scripting_enum_parameters_from_overrides_ =
true;
119 bool scripting_enum_parameters_dynamic_ =
true;
120 bool blackboard_parameters_from_overrides_ =
true;
121 bool blackboard_parameters_dynamic_ =
true;
122 bool strict_unkown_parameter_removal_ =
true;
123 std::map<std::string, rclcpp::ParameterValue> custom_default_parameters_;
124 std::string command_action_name_;
125 std::string clear_blackboard_service_name_;
TreeExecutorNodeOptions & setCommandActionName(const std::string &name)
Set a custom name for the command tree executor action server.
TreeExecutorNodeOptions & enableScriptingEnumParameters(bool from_overrides, bool dynamic)
Configure whether the executor accepts scripting enum parameters.
rclcpp::NodeOptions getROSNodeOptions() const
Get the ROS 2 node options that comply with the given options.
TreeExecutorNodeOptions & enableClearBlackboardService(bool enable)
Enable or disable the clear blackboard service.
TreeExecutorNodeOptions & enableStrictUnkownParameterRemoval(bool enable)
Enable or disable strict unkown parameter removal.
TreeExecutorNodeOptions(const rclcpp::NodeOptions &ros_node_options=rclcpp::NodeOptions())
Constructor.
TreeExecutorNodeOptions & enableGlobalBlackboardParameters(bool from_overrides, bool dynamic)
Configure whether the executor accepts global blackboard parameters.
TreeExecutorNodeOptions & enableCommandAction(bool enable)
Enable or disable the CommandTreeExecutor action interface.
TreeExecutorNodeOptions & setClearBlackboardServiceName(const std::string &name)
Set a custom name for the clear blackboard service.
TreeExecutorNodeOptions & setDefaultBuildHandler(const std::string &name)
Specify a default behavior tree build handler.
Powerful tooling for incorporating behavior trees for task development.