7#ifndef _FIND_PINGER_ACTION_HPP
8#define _FIND_PINGER_ACTION_HPP
10#include <planner_msgs/action/find_pinger.hpp>
11#include <rclcpp/rclcpp.hpp>
12#include <std_msgs/msg/string.hpp>
27 const std::string & name,
const BT::NodeConfig & config,
28 rclcpp::Publisher<std_msgs::msg::String>::SharedPtr logger_pub,
29 rclcpp::Node::SharedPtr ros_node);
33 bool setGoal(
typename Action::Goal & goal)
override;
37 void onFeedback(
const std::shared_ptr<const Feedback> feedback)
override;
40 rclcpp::Publisher<std_msgs::msg::String>::SharedPtr logger_pub_;
FindPinger Action Client implementation Target Action: planner_msgs::action::FindPinger.
Definition: find_pinger_action.hpp:24
static BT::PortsList providedPorts()
Definition: find_pinger_action.cpp:18
bool setGoal(typename Action::Goal &goal) override
Configures the Goal message.
Definition: find_pinger_action.cpp:26
void onFeedback(const std::shared_ptr< const Feedback > feedback) override
Definition: find_pinger_action.cpp:50
BT::NodeStatus onResult(const WrappedResult &wr) override
Definition: find_pinger_action.cpp:37
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
Abstract class for ROS2 Action client with Behavior Tree.