Nav2 Navigation Stack - humble
humble
ROS 2 Navigation Stack
|
Simple plugin based on WaypointTaskExecutor, lets robot to wait for a user input at waypoint arrival. More...
#include <nav2_waypoint_follower/include/nav2_waypoint_follower/plugins/input_at_waypoint.hpp>
Public Member Functions | |
InputAtWaypoint () | |
Construct a new Input At Waypoint Arrival object. | |
~InputAtWaypoint () | |
Destroy the Input At Waypoint Arrival object. | |
void | initialize (const rclcpp_lifecycle::LifecycleNode::WeakPtr &parent, const std::string &plugin_name) |
declares and loads parameters used More... | |
bool | processAtWaypoint (const geometry_msgs::msg::PoseStamped &curr_pose, const int &curr_waypoint_index) |
Processor. More... | |
![]() | |
WaypointTaskExecutor () | |
Construct a new Simple Task Execution At Waypoint Base object. | |
virtual | ~WaypointTaskExecutor () |
Destroy the Simple Task Execution At Waypoint Base object. | |
Protected Member Functions | |
void | Cb (const std_msgs::msg::Empty::SharedPtr msg) |
Processor callback. More... | |
Simple plugin based on WaypointTaskExecutor, lets robot to wait for a user input at waypoint arrival.
Definition at line 34 of file input_at_waypoint.hpp.
|
protected |
Processor callback.
msg | Empty message |
Definition at line 75 of file input_at_waypoint.cpp.
Referenced by initialize().
|
virtual |
declares and loads parameters used
parent | parent node |
plugin_name | name of plugin |
Implements nav2_core::WaypointTaskExecutor.
Definition at line 39 of file input_at_waypoint.cpp.
References Cb().
|
virtual |
Processor.
curr_pose | current pose of the robot |
curr_waypoint_index | current waypoint, that robot just arrived |
Implements nav2_core::WaypointTaskExecutor.
Definition at line 81 of file input_at_waypoint.cpp.