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

Method readParameters

grid_map_demos/src/ImageToGridmapDemo.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28bool ImageToGridmapDemo::readParameters()
29{
30 nodeHandle_.param("image_topic", imageTopic_, std::string("/image"));
31 nodeHandle_.param("resolution", resolution_, 0.03);
32 nodeHandle_.param("min_height", minHeight_, 0.0);
33 nodeHandle_.param("max_height", maxHeight_, 1.0);
34 return true;
35}
36
37void ImageToGridmapDemo::imageCallback(const sensor_msgs::Image& msg)
38{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected