Skip to content

Dijkstra nodes estimation in CGraphSlamEngine overwrites previously optimized values #985

@YB27

Description

@YB27

@bergercookie

Hi,
I am currently using MRPT 1.5.6 and more specifically the CGraphSlamEngine class.

In this class, the graph is optimized (CGraphSlamEngine_impl.h l. 615) and, if a new node has been previously registered, node values are estimated by first converting the graph into a MST (minimum spanning tree) using the dijkstra algorithm (CGraphSlamEngine_impl.h l. 660, execDijkstraNodesEstimation()).

Doing so, it appears that if a new node has been registered, the optimized values are overwritten using solely the computed MST and the edge constraint (ie here relative poses between nodes).

It seems that the function execDijkstraNodesEstimation() should only be called if no graph optimization occurred.

Can you confirm ?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions