SMACC
|
#include <undo_path_global_planner.h>
Public Member Functions | |
UndoPathGlobalPlanner () | |
virtual | ~UndoPathGlobalPlanner () |
bool | makePlan (const geometry_msgs::PoseStamped &start, const geometry_msgs::PoseStamped &goal, std::vector< geometry_msgs::PoseStamped > &plan) |
bool | makePlan (const geometry_msgs::PoseStamped &start, const geometry_msgs::PoseStamped &goal, std::vector< geometry_msgs::PoseStamped > &plan, double &cost) |
virtual bool | createDefaultUndoPathPlan (const geometry_msgs::PoseStamped &start, const geometry_msgs::PoseStamped &goal, std::vector< geometry_msgs::PoseStamped > &plan) |
virtual void | initialize (std::string name, costmap_2d::Costmap2DROS *costmap_ros_) override |
Private Member Functions | |
void | onForwardTrailMsg (const nav_msgs::Path::ConstPtr &trailMessage) |
void | publishGoalMarker (const geometry_msgs::Pose &pose, double r, double g, double b) |
Private Attributes | |
ros::NodeHandle | nh_ |
ros::Subscriber | forwardPathSub_ |
ros::Publisher | planPub_ |
ros::Publisher | markersPub_ |
nav_msgs::Path | lastForwardPathMsg_ |
costmap_2d::Costmap2DROS * | costmap_ros_ |
stored but almost not used More... | |
ros::ServiceServer | cmd_server_ |
double | skip_straight_motion_distance_ |
double | puresSpinningRadStep_ |
Definition at line 17 of file undo_path_global_planner.h.
cl_move_base_z::undo_path_global_planner::UndoPathGlobalPlanner::UndoPathGlobalPlanner | ( | ) |
Constructor()
Definition at line 32 of file undo_path_global_planner.cpp.
References skip_straight_motion_distance_.
|
virtual |
Definition at line 37 of file undo_path_global_planner.cpp.
References planPub_.
|
virtual |
defaultBackwardPath()
Definition at line 118 of file undo_path_global_planner.cpp.
References costmap_ros_, and lastForwardPathMsg_.
Referenced by makePlan().
|
overridevirtual |
Definition at line 50 of file undo_path_global_planner.cpp.
References costmap_ros_, forwardPathSub_, markersPub_, nh_, onForwardTrailMsg(), and planPub_.
bool cl_move_base_z::undo_path_global_planner::UndoPathGlobalPlanner::makePlan | ( | const geometry_msgs::PoseStamped & | start, |
const geometry_msgs::PoseStamped & | goal, | ||
std::vector< geometry_msgs::PoseStamped > & | plan | ||
) |
Definition at line 247 of file undo_path_global_planner.cpp.
References costmap_ros_, createDefaultUndoPathPlan(), lastForwardPathMsg_, planPub_, and publishGoalMarker().
Referenced by makePlan().
bool cl_move_base_z::undo_path_global_planner::UndoPathGlobalPlanner::makePlan | ( | const geometry_msgs::PoseStamped & | start, |
const geometry_msgs::PoseStamped & | goal, | ||
std::vector< geometry_msgs::PoseStamped > & | plan, | ||
double & | cost | ||
) |
Definition at line 311 of file undo_path_global_planner.cpp.
References makePlan().
|
private |
Definition at line 68 of file undo_path_global_planner.cpp.
References lastForwardPathMsg_.
Referenced by initialize().
|
private |
Definition at line 79 of file undo_path_global_planner.cpp.
References costmap_ros_, and markersPub_.
Referenced by makePlan().
|
private |
Definition at line 54 of file undo_path_global_planner.h.
|
private |
stored but almost not used
Definition at line 48 of file undo_path_global_planner.h.
Referenced by createDefaultUndoPathPlan(), initialize(), makePlan(), and publishGoalMarker().
|
private |
Definition at line 39 of file undo_path_global_planner.h.
Referenced by initialize().
|
private |
Definition at line 45 of file undo_path_global_planner.h.
Referenced by createDefaultUndoPathPlan(), makePlan(), and onForwardTrailMsg().
|
private |
Definition at line 43 of file undo_path_global_planner.h.
Referenced by initialize(), and publishGoalMarker().
|
private |
Definition at line 37 of file undo_path_global_planner.h.
Referenced by initialize().
|
private |
Definition at line 41 of file undo_path_global_planner.h.
Referenced by initialize(), makePlan(), and ~UndoPathGlobalPlanner().
|
private |
Definition at line 58 of file undo_path_global_planner.h.
|
private |
Definition at line 56 of file undo_path_global_planner.h.
Referenced by UndoPathGlobalPlanner().