14 #ifndef NAV2_WAYPOINT_FOLLOWER__PLUGINS__INPUT_AT_WAYPOINT_HPP_
15 #define NAV2_WAYPOINT_FOLLOWER__PLUGINS__INPUT_AT_WAYPOINT_HPP_
22 #include "rclcpp/clock.hpp"
23 #include "rclcpp/duration.hpp"
24 #include "rclcpp/logger.hpp"
25 #include "std_msgs/msg/empty.hpp"
26 #include "rclcpp_lifecycle/lifecycle_node.hpp"
27 #include "nav2_core/waypoint_task_executor.hpp"
29 namespace nav2_waypoint_follower
57 const nav2::LifecycleNode::WeakPtr & parent,
58 const std::string & plugin_name);
67 const geometry_msgs::msg::PoseStamped & curr_pose,
const int & curr_waypoint_index);
74 void Cb(
const std_msgs::msg::Empty::ConstSharedPtr & msg);
78 rclcpp::Duration timeout_;
79 rclcpp::Logger logger_{rclcpp::get_logger(
"nav2_waypoint_follower")};
80 rclcpp::Clock::SharedPtr clock_;
81 nav2::LifecycleNode::WeakPtr node_;
83 nav2::Subscription<std_msgs::msg::Empty>::SharedPtr subscription_;
Base class for creating a plugin in order to perform a specific task at waypoint arrivals.