Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Landmarks as Vertices in g2o format #242

Closed
varunagrawal opened this issue Mar 6, 2020 · 0 comments · Fixed by #396
Closed

Support for Landmarks as Vertices in g2o format #242

varunagrawal opened this issue Mar 6, 2020 · 0 comments · Fixed by #396
Assignees
Labels
feature New proposed feature

Comments

@varunagrawal
Copy link
Collaborator

Feature

Currently, GTSAM saves only camera poses as vertices in the g2o format using writeG2o and readG2o. We would like GTSAM to also save landmark points as vertices using the same machinery so we can save and retrieve 3D landmark points.

The format for landmarks as per the g2o repo is

VERTEX_TRACKXYZ i x y z

This specifies a 3D point xi = (x, y, z)T which is located at (x, y, z)

Motivation

This feature would allow us to read arbitrary g2o files and save/load both poses and landmarks.

Pitch

Read and save both poses and points.

Alternatives

N/A

Additional context

https://github.com/RainerKuemmerle/g2o/wiki/File-format-slam-3d

@varunagrawal varunagrawal added the feature New proposed feature label Mar 6, 2020
@varunagrawal varunagrawal self-assigned this Mar 6, 2020
@varunagrawal varunagrawal linked a pull request Jul 11, 2020 that will close this issue
@varunagrawal varunagrawal modified the milestone: GTSAM 4.1 Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New proposed feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant