#include <sbpl_cart_planner.h>
ROS
Definition at line 61 of file sbpl_cart_planner.h.
Default constructor for the NavFnROS object.
Definition at line 82 of file sbpl_cart_planner.cpp.
SBPLCartPlanner::SBPLCartPlanner | ( | std::string | name, |
costmap_2d::Costmap2DROS * | costmap_ros | ||
) |
Constructor for the SBPLCartPlanner object.
name | The name of this planner |
costmap_ros | A pointer to the ROS wrapper of the costmap to use |
Definition at line 86 of file sbpl_cart_planner.cpp.
virtual SBPLCartPlanner::~SBPLCartPlanner | ( | ) | [inline, virtual] |
Definition at line 97 of file sbpl_cart_planner.h.
bool SBPLCartPlanner::clearFootprint | ( | const geometry_msgs::Pose & | robot_pose, |
const std::vector< geometry_msgs::Point > & | footprint | ||
) | [private] |
Definition at line 796 of file sbpl_cart_planner.cpp.
void SBPLCartPlanner::convertPathToMarkerArray | ( | const std::vector< EnvNAVXYTHETACARTLAT3Dpt_t > & | sbpl_path, |
const std::string & | path_frame_id, | ||
visualization_msgs::MarkerArray & | ma | ||
) | [private] |
Definition at line 591 of file sbpl_cart_planner.cpp.
unsigned char SBPLCartPlanner::costMapCostToSBPLCost | ( | unsigned char | newcost | ) | [private] |
Definition at line 286 of file sbpl_cart_planner.cpp.
void SBPLCartPlanner::getFootprintList | ( | const std::vector< EnvNAVXYTHETACARTLAT3Dpt_t > & | sbpl_path, |
const std::string & | path_frame_id, | ||
visualization_msgs::MarkerArray & | ma | ||
) | [private] |
Definition at line 708 of file sbpl_cart_planner.cpp.
geometry_msgs::Pose SBPLCartPlanner::getGlobalCartPose | ( | const EnvNAVXYTHETACARTLAT3Dpt_t & | sbpl_pose | ) | [private] |
Definition at line 668 of file sbpl_cart_planner.cpp.
geometry_msgs::Pose SBPLCartPlanner::getGlobalCartPose | ( | const geometry_msgs::Pose & | robot_pose, |
const double & | cart_angle | ||
) | [private] |
Definition at line 827 of file sbpl_cart_planner.cpp.
geometry_msgs::Pose SBPLCartPlanner::getLocalCartControlFramePose | ( | const EnvNAVXYTHETACARTLAT3Dpt_t & | sbpl_pose | ) | [private] |
Definition at line 682 of file sbpl_cart_planner.cpp.
geometry_msgs::Pose SBPLCartPlanner::getLocalCartPose | ( | const EnvNAVXYTHETACARTLAT3Dpt_t & | sbpl_pose | ) | [private] |
Definition at line 695 of file sbpl_cart_planner.cpp.
void SBPLCartPlanner::getOrientedFootprint | ( | const geometry_msgs::Pose & | robot_pose, |
const std::vector< geometry_msgs::Point > & | footprint, | ||
std::vector< geometry_msgs::Point > & | oriented_footprint | ||
) | [private] |
Definition at line 813 of file sbpl_cart_planner.cpp.
void SBPLCartPlanner::initialize | ( | std::string | name, |
costmap_2d::Costmap2DROS * | costmap_ros | ||
) | [virtual] |
Initialization function for the SBPLCartPlanner object.
name | The name of this planner |
costmap_ros | A pointer to the ROS wrapper of the costmap to use |
Implements nav_core::BaseGlobalPlanner.
Definition at line 94 of file sbpl_cart_planner.cpp.
std::vector< geometry_msgs::Point > SBPLCartPlanner::loadRobotFootprint | ( | ros::NodeHandle | node | ) | [private] |
Definition at line 299 of file sbpl_cart_planner.cpp.
bool SBPLCartPlanner::makePlan | ( | const geometry_msgs::PoseStamped & | start, |
const geometry_msgs::PoseStamped & | goal, | ||
std::vector< geometry_msgs::PoseStamped > & | plan | ||
) | [virtual] |
Given a goal pose in the world, compute a plan.
start | The start pose |
goal | The goal pose |
plan | The plan... filled by the planner |
Implements nav_core::BaseGlobalPlanner.
Definition at line 353 of file sbpl_cart_planner.cpp.
double SBPLCartPlanner::sign | ( | double | x | ) | [private] |
Definition at line 77 of file sbpl_cart_planner.cpp.
void SBPLCartPlanner::transformFootprintToEdges | ( | const geometry_msgs::Pose & | robot_pose, |
const std::vector< geometry_msgs::Point > & | footprint, | ||
std::vector< geometry_msgs::Point > & | out_footprint | ||
) | [private] |
Definition at line 772 of file sbpl_cart_planner.cpp.
double SBPLCartPlanner::allocated_time_ [private] |
amount of time allowed for search
Definition at line 107 of file sbpl_cart_planner.h.
sbpl_2Dpt_t SBPLCartPlanner::cart_cp_offset_ [private] |
Definition at line 127 of file sbpl_cart_planner.h.
Definition at line 133 of file sbpl_cart_planner.h.
sbpl_2Dpt_t SBPLCartPlanner::cart_offset_ [private] |
Definition at line 127 of file sbpl_cart_planner.h.
local copy of the costmap underlying cost_map_ros_
Definition at line 119 of file sbpl_cart_planner.h.
std::string SBPLCartPlanner::cost_map_topic_ [private] |
what type of environment in which to plan. choices are 2D and XYThetaLattice.
Definition at line 111 of file sbpl_cart_planner.h.
the number of cells that have to be changed in the costmap to force the planner to plan from scratch even if its an incremental planner manages the cost map for us
Definition at line 118 of file sbpl_cart_planner.h.
Definition at line 103 of file sbpl_cart_planner.h.
std::string SBPLCartPlanner::environment_type_ [private] |
Definition at line 110 of file sbpl_cart_planner.h.
Definition at line 123 of file sbpl_cart_planner.h.
int SBPLCartPlanner::force_scratch_limit_ [private] |
where to find the motion primitives for the current robot
Definition at line 115 of file sbpl_cart_planner.h.
bool SBPLCartPlanner::forward_search_ [private] |
what topic is being used for the costmap topic
Definition at line 113 of file sbpl_cart_planner.h.
double SBPLCartPlanner::initial_epsilon_ [private] |
initial epsilon for beginning the anytime search
Definition at line 108 of file sbpl_cart_planner.h.
bool SBPLCartPlanner::initialized_ [private] |
Definition at line 97 of file sbpl_cart_planner.h.
unsigned char SBPLCartPlanner::inscribed_inflated_obstacle_ [private] |
Definition at line 159 of file sbpl_cart_planner.h.
unsigned char SBPLCartPlanner::lethal_obstacle_ [private] |
Definition at line 158 of file sbpl_cart_planner.h.
unsigned int SBPLCartPlanner::num_sbpl_markers_ [private] |
Definition at line 160 of file sbpl_cart_planner.h.
ros::Publisher SBPLCartPlanner::plan_pub_ [private] |
Definition at line 121 of file sbpl_cart_planner.h.
SBPLPlanner* SBPLCartPlanner::planner_ [private] |
Definition at line 102 of file sbpl_cart_planner.h.
std::string SBPLCartPlanner::planner_type_ [private] |
sbpl method to use for planning. choices are ARAPlanner and ADPlanner
Definition at line 105 of file sbpl_cart_planner.h.
std::string SBPLCartPlanner::primitive_filename_ [private] |
whether to use forward or backward search
Definition at line 114 of file sbpl_cart_planner.h.
Definition at line 133 of file sbpl_cart_planner.h.
unsigned char SBPLCartPlanner::sbpl_cost_multiplier_ [private] |
Definition at line 157 of file sbpl_cart_planner.h.
Definition at line 121 of file sbpl_cart_planner.h.
Definition at line 121 of file sbpl_cart_planner.h.
Definition at line 121 of file sbpl_cart_planner.h.
Definition at line 121 of file sbpl_cart_planner.h.
int SBPLCartPlanner::visualizer_skip_poses_ [private] |
Definition at line 161 of file sbpl_cart_planner.h.