20#include "rclcpp/rclcpp.hpp"
102 friend class GenericTreeExecutorNode;
104 rclcpp::NodeOptions ros_node_options_;
105 bool enable_command_action_ =
true;
106 bool enable_clear_blackboard_service_ =
true;
107 bool scripting_enum_parameters_from_overrides_ =
true;
108 bool scripting_enum_parameters_dynamic_ =
true;
109 bool blackboard_parameters_from_overrides_ =
true;
110 bool blackboard_parameters_dynamic_ =
true;
111 std::map<std::string, rclcpp::ParameterValue> custom_default_parameters_;
112 std::string command_action_name_;
113 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(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.