Skip to content

Cyclic pose graph freezing #63

@richard-warren

Description

@richard-warren

When the pose graph is cyclic (e.g. A->B->C->A), the while loop in graph_to_edges is infinite. I solved this in my fork by detecting cycles and giving them all their own edge group label.

It was also necessary to change this:
edge_confidence = edge_confidence[..., 1:]
to this:
edge_confidence = edge_confidence[..., lines>=0].

I believe the former assumes the first confidence map corresponds to the parent of all parents. In cycles no such parent exists, so all the confidence maps should be shown. I'm sure you will have more elegant solutions to this problem. Please let me know if you have some ideas. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions