Skip to content

Commit e51092c

Browse files
author
Schmluk
committed
make publish_pointclouds param grip for external map updates
1 parent 64016b1 commit e51092c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

voxblox_ros/src/esdf_server.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ void EsdfServer::esdfMapCallback(const voxblox_msgs::Layer& layer_msg) {
240240
ROS_ERROR_THROTTLE(10, "Got an invalid ESDF map message!");
241241
} else {
242242
ROS_INFO_ONCE("Got an ESDF map from ROS topic!");
243-
publishPointclouds();
243+
if (publish_pointclouds_) {
244+
publishPointclouds();
245+
}
244246
}
245247
}
246248

0 commit comments

Comments
 (0)