No appropriate method, property, or field at for class gtsam.Values

Issue #268 new
Former user created an issue

I get a problem when I try to run the FlightCameraTransformIMU.m with Ubuntu 14.04. It shows that gtsam.Values doesn't have appropriate method,property or field. What's wrong? Could someone look into this?

Comments (3)

  1. Frank Dellaert

    @cbeall3 this seems to be because TransformCalProjectionFactorCal3_S2 does not exist. I can't find that factor in gtsam_unstable. Seems you were the author. Comments?

  2. Chris Beall

    class TransformCalProjectionFactor was renamed to ProjectionFactorPPPC in 2c3f6e56, and in Matlab TransformCalProjectionFactorCal3_S2 --> ProjectionFactorPPPCCal3_S2.

    I can't test this right now, but hopefully that replacement should do it. (Might also need some IMU fixes, since stuff has changed there since 2014)

  3. Frank Dellaert

    Hmmm. I looked at it, and several things were wrong:

    • issue above: was easily fixed by your comment
    • IMU factor changed in GTSAM 4: I added getters and setters for params
    • IMUFactor is now a factor involving Vector3, not Vector

    The latter is a bit more involved: fixed Vectors and Matrices are not supported now, but there was another branch that did this. I'm willing to merge that one, but @cbeall3 I'd need a benchmark test to make sure performance is not killed by it (basically, it would mean Values.at always makes a copy, rather than returning a reference)

  4. Log in to comment