OctoMap / octomap_mapping

ROS stack for mapping with OctoMap, contains octomap_server package
http://www.ros.org/wiki/octomap_mapping
335 stars 280 forks source link

Rate limit publishAll method during insertPointCloudCallback #53

Closed sbiddlestone closed 5 years ago

sbiddlestone commented 5 years ago

While profiling octomap, the "insertScan" method is fairly consistent at <1 ms on each run, publishAll however can drift up to 30 ms + with no new options. With publish crossSection it approaches 40 ms + and grows with map size. To try to get things more deterministic I added a 100 ms publish rate to keep CPU usage down.