We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67575e0 commit 502e528Copy full SHA for 502e528
src/spatio_temporal_voxel_layer.cpp
@@ -725,6 +725,10 @@ void SpatioTemporalVoxelLayer::updateBounds(
725
return;
726
}
727
728
+ // Required because UpdateROSCostmap will also lock if AFTER we lock here voxel_grid_lock,
729
+ // and if clearArea is called in between, we will have a deadlock
730
+ boost::unique_lock<mutex_t> cm_lock(*getMutex());
731
+
732
boost::recursive_mutex::scoped_lock lock(_voxel_grid_lock);
733
734
// Steve's Note June 22, 2018
0 commit comments