Skip to content

[fix] Fix loop indices in loop closure

Tong Fu requested to merge ROS2/fix/FixLoopIndices into feat/ROS2

Goal

This MR is to synchronize MR !376 (merged) for ros2 branch

Fix the "[ERROR] Error: could not cast the vertex" error.

Changes

First bug was a weird check on a vertex in Loop closure that is removed

Second bug was due to the fact that the loop indices were badly input to the graph optimizer

Results

The loop closure is well set

Merge request reports