10#ifndef _WRENCH_ACTION_HPP
11#define _WRENCH_ACTION_HPP
14#include <wrench_action_sample_msgs/action/wrench.hpp>
27 using Goal = wrench_action_sample_msgs::action::Wrench::Goal;
36 const std::string & name,
const BT::NodeConfig & config, rclcpp::Node::SharedPtr ros_node);
Template for ROS2 Action with Behavior Tree.
Definition: ros_action_node.hpp:28
typename rclcpp_action::ClientGoalHandle< Action >::WrappedResult WrappedResult
Definition: ros_action_node.hpp:33
Behavior Tree node for the Wrench Action.
Definition: wrench_action.hpp:25
bool setGoal(Goal &goal) override
Configures the Goal message before sending it to the server.
Definition: wrench_action.cpp:29
wrench_action_sample_msgs::action::Wrench::Goal Goal
Definition: wrench_action.hpp:27
BT::NodeStatus onResult(const WrappedResult &wr) override
callback executed when the action result is received.
Definition: wrench_action.cpp:40
static BT::PortsList providedPorts()
Defines the input and output ports for this node.
Definition: wrench_action.cpp:21
Abstract class for ROS2 Action client with Behavior Tree.