Skip to content

Commit

Permalink
make publish_pointclouds param grip for external map updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Schmluk committed Nov 4, 2020
1 parent 64016b1 commit e51092c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion voxblox_ros/src/esdf_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ void EsdfServer::esdfMapCallback(const voxblox_msgs::Layer& layer_msg) {
ROS_ERROR_THROTTLE(10, "Got an invalid ESDF map message!");
} else {
ROS_INFO_ONCE("Got an ESDF map from ROS topic!");
publishPointclouds();
if (publish_pointclouds_) {
publishPointclouds();
}
}
}

Expand Down

0 comments on commit e51092c

Please sign in to comment.