Nav2 Navigation Stack - jazzy
jazzy
ROS 2 Navigation Stack
|
The ControllerSelector behavior is used to switch the controller that will be used by the controller server. It subscribes to a topic "controller_selector" to get the decision about what controller must be used. It is usually used before of the FollowPath. The selected_controller output port is passed to controller_id input port of the FollowPath. More...
#include <nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/controller_selector_node.hpp>
Public Member Functions | |
ControllerSelector (const std::string &xml_tag_name, const BT::NodeConfiguration &conf) | |
A constructor for nav2_behavior_tree::ControllerSelector. More... | |
Static Public Member Functions | |
static BT::PortsList | providedPorts () |
Creates list of BT ports. More... | |
The ControllerSelector behavior is used to switch the controller that will be used by the controller server. It subscribes to a topic "controller_selector" to get the decision about what controller must be used. It is usually used before of the FollowPath. The selected_controller output port is passed to controller_id input port of the FollowPath.
Definition at line 38 of file controller_selector_node.hpp.
nav2_behavior_tree::ControllerSelector::ControllerSelector | ( | const std::string & | xml_tag_name, |
const BT::NodeConfiguration & | conf | ||
) |
A constructor for nav2_behavior_tree::ControllerSelector.
xml_tag_name | Name for the XML tag for this node |
conf | BT node configuration |
Definition at line 30 of file controller_selector_node.cpp.
|
inlinestatic |
Creates list of BT ports.
Definition at line 55 of file controller_selector_node.hpp.