qcr / gtsam-quadrics

An extension of gtsam to provide support for optimizing quadric landmarks
BSD 3-Clause "New" or "Revised" License
135 stars 25 forks source link

When using gtsam build with this repository it gives Point2 attribute not found #8

Closed dishank-b closed 2 years ago

dishank-b commented 3 years ago

p = gtsam.Point2() gives error and says gtsam doesn't containt the attribute Point2.

lachlan-nicholson commented 2 years ago

This is likely an indication that the gtsam library has not been correctly installed. Is this still an issue?

dishank-b commented 2 years ago

Yeah it's something with gtsam imported with this repository. I used independently build gtsam and it works.

btalb commented 2 years ago

Sorry about the delay @dishank-b; looking into this now.

This seems to be upstream, as the Point2 and Point3 classes are both still missing when trying to build 4.1.1 in isolation.

I've posted this issue borglab/gtsam#1242 and will work on a resolution from there.

Do you have any details on the independtly built gtsam you had that works? Was it 4.1 or an older version?

btalb commented 2 years ago

Have identified this is an issue with us not including the Python shims from the GTSAM project; will work on rectifying for next release.

btalb commented 2 years ago

Should now be fixed. Upgrade to v0.2.2.