Skip to content

Commit

Permalink
Marginalize nodes during lifelong mapping
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
hidmic committed Dec 30, 2021
1 parent 07b0cb4 commit 8e3880f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/experimental/slam_toolbox_lifelong.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,12 @@ void LifelongSlamToolbox::removeFromSlamGraph(
Vertex<LocalizedRangeScan> * vertex)
/*****************************************************************************/
{
smapper_->getMapper()->RemoveNodeFromGraph(vertex);
smapper_->getMapper()->MarginalizeNodeFromGraph(vertex);
smapper_->getMapper()->GetMapperSensorManager()->RemoveScan(
vertex->GetObject());
dataset_->RemoveData(vertex->GetObject());
vertex->RemoveObject();
delete vertex;
vertex = nullptr;
// LTS what do we do about the contraints that node had about it?Nothing?Transfer?
}

/*****************************************************************************/
Expand Down

0 comments on commit 8e3880f

Please sign in to comment.