Skip to content

Commit

Permalink
wrap PinholeCameraCal3Bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Sep 29, 2020
1 parent 0ae5a92 commit bb08c62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gtsam/gtsam.i
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ typedef gtsam::PinholeCamera<gtsam::Cal3_S2> PinholeCameraCal3_S2;
//TODO (Issue 237) due to lack of jacobians of Cal3DS2_Base::calibrate, PinholeCamera does not apply to Cal3DS2/Unified
//typedef gtsam::PinholeCamera<gtsam::Cal3DS2> PinholeCameraCal3DS2;
//typedef gtsam::PinholeCamera<gtsam::Cal3Unified> PinholeCameraCal3Unified;
//typedef gtsam::PinholeCamera<gtsam::Cal3Bundler> PinholeCameraCal3Bundler;
typedef gtsam::PinholeCamera<gtsam::Cal3Bundler> PinholeCameraCal3Bundler;

#include <gtsam/geometry/StereoCamera.h>
class StereoCamera {
Expand Down Expand Up @@ -2862,8 +2862,7 @@ class SfmTrack {
class SfmData {
size_t number_cameras() const;
size_t number_tracks() const;
//TODO(Varun) Need to fix issue #237 first before this can work
// gtsam::PinholeCamera<gtsam::Cal3Bundler> camera(size_t idx) const;
gtsam::PinholeCamera<gtsam::Cal3Bundler> camera(size_t idx) const;
gtsam::SfmTrack track(size_t idx) const;
};

Expand Down

0 comments on commit bb08c62

Please sign in to comment.