Public Member Functions | Protected Member Functions
nav_core::BaseGlobalPlanner Class Reference

Provides an interface for global planners used in navigation. All global planners written as plugins for the navigation stack must adhere to this interface. More...

#include <base_global_planner.h>

List of all members.

Public Member Functions

virtual void initialize (std::string name, costmap_2d::Costmap2DROS *costmap_ros)=0
 Initialization function for the BaseGlobalPlanner.
virtual bool makePlan (const geometry_msgs::PoseStamped &start, const geometry_msgs::PoseStamped &goal, std::vector< geometry_msgs::PoseStamped > &plan)=0
 Given a goal pose in the world, compute a plan.
virtual ~BaseGlobalPlanner ()
 Virtual destructor for the interface.

Protected Member Functions

 BaseGlobalPlanner ()

Detailed Description

Provides an interface for global planners used in navigation. All global planners written as plugins for the navigation stack must adhere to this interface.

Definition at line 48 of file base_global_planner.h.


Constructor & Destructor Documentation

virtual nav_core::BaseGlobalPlanner::~BaseGlobalPlanner ( ) [inline, virtual]

Virtual destructor for the interface.

Definition at line 70 of file base_global_planner.h.

Definition at line 73 of file base_global_planner.h.


Member Function Documentation

virtual void nav_core::BaseGlobalPlanner::initialize ( std::string  name,
costmap_2d::Costmap2DROS costmap_ros 
) [pure virtual]

Initialization function for the BaseGlobalPlanner.

Parameters:
nameThe name of this planner
costmap_rosA pointer to the ROS wrapper of the costmap to use for planning
virtual bool nav_core::BaseGlobalPlanner::makePlan ( const geometry_msgs::PoseStamped &  start,
const geometry_msgs::PoseStamped &  goal,
std::vector< geometry_msgs::PoseStamped > &  plan 
) [pure virtual]

Given a goal pose in the world, compute a plan.

Parameters:
startThe start pose
goalThe goal pose
planThe plan... filled by the planner
Returns:
True if a valid plan was found, false otherwise

The documentation for this class was generated from the following file:


nav_core
Author(s): Eitan Marder-Eppstein, contradict@gmail.com
autogenerated on Thu Aug 27 2015 14:07:05