| 26 | } |
| 27 | |
| 28 | bool 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 | |
| 37 | void ImageToGridmapDemo::imageCallback(const sensor_msgs::Image& msg) |
| 38 | { |
nothing calls this directly
no outgoing calls
no test coverage detected