Fixed odom args ignored, fixed octomap_full output with right conversion

This commit is contained in:
matlabbe
2016-07-17 15:39:08 -04:00
parent 20e836b56b
commit d1e656bb64
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -872,7 +872,7 @@ void MapsManager::publishMaps(
if(octoMapPubFull_.getNumSubscribers())
{
octomap_msgs::Octomap msg;
octomap_msgs::binaryMapToMsg(*octomap_->octree(), msg);
octomap_msgs::fullMapToMsg(*octomap_->octree(), msg);
msg.header.frame_id = mapFrameId;
msg.header.stamp = stamp;
octoMapPubFull_.publish(msg);