MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / GridMapToImageDemo

Method GridMapToImageDemo

grid_map_demos/src/GridmapToImageDemo.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace grid_map_demos {
15
16GridMapToImageDemo::GridMapToImageDemo(ros::NodeHandle& nodeHandle)
17 : nodeHandle_(nodeHandle)
18{
19 readParameters();
20 gridMapSubscriber_ = nodeHandle_.subscribe(gridMapTopic_, 1, &GridMapToImageDemo::gridMapCallback, this);
21 ROS_ERROR("Subscribed to %s", nodeHandle_.resolveName(gridMapTopic_).c_str());
22}
23
24GridMapToImageDemo::~GridMapToImageDemo()=default;
25

Callers

nothing calls this directly

Calls 1

subscribeMethod · 0.80

Tested by

no test coverage detected