| 205 | } |
| 206 | |
| 207 | bool ElevationMapping::initialize() |
| 208 | { |
| 209 | ROS_INFO("Elevation mapping node initializing ... "); |
| 210 | fusionServiceThread_ = boost::thread(boost::bind(&ElevationMapping::runFusionServiceThread, this)); |
| 211 | Duration(1.0).sleep(); // Need this to get the TF caches fill up. |
| 212 | resetMapUpdateTimer(); |
| 213 | fusedMapPublishTimer_.start(); |
| 214 | visibilityCleanupThread_ = boost::thread(boost::bind(&ElevationMapping::visibilityCleanupThread, this)); |
| 215 | visibilityCleanupTimer_.start(); |
| 216 | ROS_INFO("Done."); |
| 217 | return true; |
| 218 | } |
| 219 | |
| 220 | void ElevationMapping::runFusionServiceThread() |
| 221 | { |
nothing calls this directly
no outgoing calls
no test coverage detected