Fix GridMap erase Octans
This commit is contained in:
parent
ad8a2b3d52
commit
4da4514b71
|
@ -780,7 +780,7 @@ void GridMap::_update_octants_callback() {
|
|||
|
||||
while (to_delete.front()) {
|
||||
octant_map.erase(to_delete.front()->get());
|
||||
to_delete.pop_back();
|
||||
to_delete.pop_front();
|
||||
}
|
||||
|
||||
_update_visibility();
|
||||
|
|
Loading…
Reference in New Issue