Fix GridMap erase Octans
This commit is contained in:
parent
ad8a2b3d52
commit
4da4514b71
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue