37 #ifndef NAV_CORE_BASE_LOCAL_PLANNER_H 38 #define NAV_CORE_BASE_LOCAL_PLANNER_H 40 #include <geometry_msgs/PoseStamped.h> 41 #include <geometry_msgs/Twist.h> 70 virtual bool setPlan(
const std::vector<geometry_msgs::PoseStamped>& plan) = 0;
90 #endif // NAV_CORE_BASE_LOCAL_PLANNER_H
virtual ~BaseLocalPlanner()
Virtual destructor for the interface.
Provides an interface for local planners used in navigation. All local planners written as plugins fo...
virtual void initialize(std::string name, tf::TransformListener *tf, costmap_2d::Costmap2DROS *costmap_ros)=0
Constructs the local planner.
virtual bool computeVelocityCommands(geometry_msgs::Twist &cmd_vel)=0
Given the current position, orientation, and velocity of the robot, compute velocity commands to send...
virtual bool isGoalReached()=0
Check if the goal pose has been achieved by the local planner.
virtual bool setPlan(const std::vector< geometry_msgs::PoseStamped > &plan)=0
Set the plan that the local planner is following.