Skip to content

Commit d5cf589

Browse files
Forward port #534 to ros2 (#538)
1 parent e4bf949 commit d5cf589

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/slam_toolbox_common.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ void SlamToolbox::publishVisualizations()
277277
while (rclcpp::ok()) {
278278
updateMap();
279279
if (!isPaused(VISUALIZING_GRAPH)) {
280+
boost::mutex::scoped_lock lock(smapper_mutex_);
280281
closure_assistant_->publishGraph();
281282
}
282283
r.sleep();

0 commit comments

Comments
 (0)