#include <map_grid_visualizer.h>
Definition at line 44 of file map_grid_visualizer.h.
base_local_planner::MapGridVisualizer::MapGridVisualizer |
( |
| ) |
|
base_local_planner::MapGridVisualizer::~MapGridVisualizer |
( |
| ) |
|
|
inline |
void base_local_planner::MapGridVisualizer::initialize |
( |
const std::string & |
name, |
|
|
std::string |
frame, |
|
|
boost::function< bool(int cx, int cy, float &path_cost, float &goal_cost, float &occ_cost, float &total_cost)> |
cost_function |
|
) |
| |
Initializes the MapGridVisualizer.
- Parameters
-
name | The name to be appended to ~/ in order to get the proper namespace for parameters |
costmap | The costmap instance to use to get the size of the map to generate a point cloud for |
cost_function | The function to use to compute the cost values to be inserted into each point in the output PointCloud as well as whether to include a given point or not |
Definition at line 44 of file map_grid_visualizer.cpp.
Build and publish a PointCloud if the publish_cost_grid_pc parameter was true. Only include points for which the cost_function at (cx,cy) returns true.
Definition at line 55 of file map_grid_visualizer.cpp.
boost::function<bool (int cx, int cy, float &path_cost, float &goal_cost, float &occ_cost, float &total_cost)> base_local_planner::MapGridVisualizer::cost_function_ |
|
private |
The function to be used to generate the cost components for the output PointCloud.
Definition at line 71 of file map_grid_visualizer.h.
std::string base_local_planner::MapGridVisualizer::name_ |
|
private |
The documentation for this class was generated from the following files: