Class WaypointTaskExecutor
Defined in File waypoint_task_executor.hpp
Class Documentation
Base class for creating a plugin in order to perform a specific task at waypoint arrivals.
Public Functions
Construct a new Simple Task Execution At Waypoint Base object.
Destroy the Simple Task Execution At Waypoint Base object.
Override this to setup your pub, sub or any ros services that you will use in the plugin.
- Parameters:
parent – parent node that plugin will be created within(for an example see nav_waypoint_follower)
plugin_name – plugin name comes from parameters in yaml file
Override this to define the body of your task that you would like to execute once the robot arrived to waypoint.
- Parameters:
curr_pose – current pose of the robot
curr_waypoint_index – current waypoint, that robot just arrived
- Returns:
true if task execution was successful
- Returns:
false if task execution failed