#include <GridmapToImageDemo.hpp>
|
void | gridMapCallback (const grid_map_msgs::GridMap &msg) |
| The callback receiving the grid map. It will convert the elevation layer into a png image and save it to the specified location. Afterwards the node will terminate. More...
|
|
void | readParameters () |
| Reads and verifies the ROS parameters. More...
|
|
Saves an ElevationMapping layer as image.
Definition at line 25 of file GridmapToImageDemo.hpp.
◆ GridMapToImageDemo()
grid_map_demos::GridMapToImageDemo::GridMapToImageDemo |
( |
ros::NodeHandle & |
nodeHandle | ) |
|
◆ ~GridMapToImageDemo()
grid_map_demos::GridMapToImageDemo::~GridMapToImageDemo |
( |
| ) |
|
|
virtualdefault |
◆ gridMapCallback()
void grid_map_demos::GridMapToImageDemo::gridMapCallback |
( |
const grid_map_msgs::GridMap & |
msg | ) |
|
|
private |
The callback receiving the grid map. It will convert the elevation layer into a png image and save it to the specified location. Afterwards the node will terminate.
- Parameters
-
msg | the recieved grid map to save to a file. |
Definition at line 32 of file GridmapToImageDemo.cpp.
◆ readParameters()
void grid_map_demos::GridMapToImageDemo::readParameters |
( |
| ) |
|
|
private |
◆ filePath_
std::string grid_map_demos::GridMapToImageDemo::filePath_ |
|
private |
◆ gridMapSubscriber_
◆ gridMapTopic_
std::string grid_map_demos::GridMapToImageDemo::gridMapTopic_ |
|
private |
◆ nodeHandle_
The documentation for this class was generated from the following files: