Abstract class representing an action for cancelling BT node.
More...
#include <nav2_behavior_tree/include/nav2_behavior_tree/bt_cancel_action_node.hpp>
|
std::string | action_name_ |
|
std::shared_ptr< rclcpp_action::Client< ActionT > > | action_client_ |
|
rclcpp::Node::SharedPtr | node_ |
|
rclcpp::CallbackGroup::SharedPtr | callback_group_ |
|
rclcpp::executors::SingleThreadedExecutor | callback_group_executor_ |
|
std::chrono::milliseconds | server_timeout_ |
|
std::chrono::milliseconds | wait_for_service_timeout_ |
|
template<class ActionT>
class nav2_behavior_tree::BtCancelActionNode< ActionT >
Abstract class representing an action for cancelling BT node.
- Template Parameters
-
Definition at line 37 of file bt_cancel_action_node.hpp.
◆ BtCancelActionNode()
◆ createActionClient()
Create instance of an action client.
- Parameters
-
action_name | Action name to create client for |
Definition at line 85 of file bt_cancel_action_node.hpp.
◆ providedBasicPorts()
Any subclass of BtCancelActionNode that accepts parameters must provide a providedPorts method and call providedBasicPorts in it.
- Parameters
-
addition | Additional ports to add to BT port list |
- Returns
- BT::PortsList Containing basic ports along with node-specific ports
Definition at line 108 of file bt_cancel_action_node.hpp.
◆ providedPorts()
Creates list of BT ports.
- Returns
- BT::PortsList Containing basic ports along with node-specific ports
Definition at line 127 of file bt_cancel_action_node.hpp.
◆ tick()
The main override required by a BT action.
- Returns
- BT::NodeStatus Status of tick execution
Definition at line 136 of file bt_cancel_action_node.hpp.
The documentation for this class was generated from the following file: