cb_base_navigation
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cb_global_planner::GlobalPlannerInterface Class Reference

#include <global_planner_interface.h>

Public Member Functions

 GlobalPlannerInterface (costmap_2d::Costmap2DROS *costmap, tf2_ros::Buffer *tf)
 
 ~GlobalPlannerInterface ()
 

Private Member Functions

bool checkPlan (cb_base_navigation_msgs::CheckPlanRequest &req, cb_base_navigation_msgs::CheckPlanResponse &resp)
 
bool getPlan (cb_base_navigation_msgs::GetPlanRequest &req, cb_base_navigation_msgs::GetPlanResponse &resp)
 
void poseCallback (const geometry_msgs::PoseStampedConstPtr &pose)
 

Private Attributes

ros::ServiceServer check_plan_srv_
 
costmap_2d::Costmap2DROScostmap_
 Costmaps. More...
 
ros::ServiceServer get_plan_srv_
 Connections to the outside world. More...
 
std::string global_frame_
 
boost::shared_ptr< GlobalPlannerPluginglobal_planner_
 Planners + loaders. More...
 
pluginlib::ClassLoader< GlobalPlannerPlugingp_loader_
 
ros::Publisher plan_pub_
 
ros::Subscriber pose_sub_
 Pose callback and publisher. More...
 
std::string robot_base_frame_
 Frame names + Tranforms. More...
 
tf2_ros::Buffer * tf_
 
Visualization vis_
 Visualization. More...
 

Detailed Description

Definition at line 39 of file global_planner_interface.h.

Constructor & Destructor Documentation

◆ GlobalPlannerInterface()

cb_global_planner::GlobalPlannerInterface::GlobalPlannerInterface ( costmap_2d::Costmap2DROS costmap,
tf2_ros::Buffer *  tf 
)

Definition at line 14 of file global_planner_interface.cpp.

◆ ~GlobalPlannerInterface()

cb_global_planner::GlobalPlannerInterface::~GlobalPlannerInterface ( )

Definition at line 8 of file global_planner_interface.cpp.

Member Function Documentation

◆ checkPlan()

bool cb_global_planner::GlobalPlannerInterface::checkPlan ( cb_base_navigation_msgs::CheckPlanRequest &  req,
cb_base_navigation_msgs::CheckPlanResponse &  resp 
)
private

Definition at line 100 of file global_planner_interface.cpp.

◆ getPlan()

bool cb_global_planner::GlobalPlannerInterface::getPlan ( cb_base_navigation_msgs::GetPlanRequest &  req,
cb_base_navigation_msgs::GetPlanResponse &  resp 
)
private

Definition at line 114 of file global_planner_interface.cpp.

◆ poseCallback()

void cb_global_planner::GlobalPlannerInterface::poseCallback ( const geometry_msgs::PoseStampedConstPtr &  pose)
private

Definition at line 57 of file global_planner_interface.cpp.

Member Data Documentation

◆ check_plan_srv_

ros::ServiceServer cb_global_planner::GlobalPlannerInterface::check_plan_srv_
private

Definition at line 50 of file global_planner_interface.h.

◆ costmap_

costmap_2d::Costmap2DROS* cb_global_planner::GlobalPlannerInterface::costmap_
private

Costmaps.

Definition at line 68 of file global_planner_interface.h.

◆ get_plan_srv_

ros::ServiceServer cb_global_planner::GlobalPlannerInterface::get_plan_srv_
private

Connections to the outside world.

Definition at line 50 of file global_planner_interface.h.

◆ global_frame_

std::string cb_global_planner::GlobalPlannerInterface::global_frame_
private

Definition at line 64 of file global_planner_interface.h.

◆ global_planner_

boost::shared_ptr<GlobalPlannerPlugin> cb_global_planner::GlobalPlannerInterface::global_planner_
private

Planners + loaders.

Definition at line 60 of file global_planner_interface.h.

◆ gp_loader_

pluginlib::ClassLoader<GlobalPlannerPlugin> cb_global_planner::GlobalPlannerInterface::gp_loader_
private

Definition at line 61 of file global_planner_interface.h.

◆ plan_pub_

ros::Publisher cb_global_planner::GlobalPlannerInterface::plan_pub_
private

Definition at line 57 of file global_planner_interface.h.

◆ pose_sub_

ros::Subscriber cb_global_planner::GlobalPlannerInterface::pose_sub_
private

Pose callback and publisher.

Definition at line 55 of file global_planner_interface.h.

◆ robot_base_frame_

std::string cb_global_planner::GlobalPlannerInterface::robot_base_frame_
private

Frame names + Tranforms.

Definition at line 64 of file global_planner_interface.h.

◆ tf_

tf2_ros::Buffer* cb_global_planner::GlobalPlannerInterface::tf_
private

Definition at line 65 of file global_planner_interface.h.

◆ vis_

Visualization cb_global_planner::GlobalPlannerInterface::vis_
private

Visualization.

Definition at line 71 of file global_planner_interface.h.


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