Merge pull request #1205 from borglab/fix/matlab-geometry

Fix templated type declaration in geometry.i
release/4.3a0
Varun Agrawal 2022-06-01 23:06:38 -04:00 committed by GitHub
commit 12aed1f9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -873,7 +873,7 @@ template <CALIBRATION>
class PinholeCamera { class PinholeCamera {
// Standard Constructors and Named Constructors // Standard Constructors and Named Constructors
PinholeCamera(); PinholeCamera();
PinholeCamera(const gtsam::PinholeCamera<CALIBRATION> other); PinholeCamera(const This other);
PinholeCamera(const gtsam::Pose3& pose); PinholeCamera(const gtsam::Pose3& pose);
PinholeCamera(const gtsam::Pose3& pose, const CALIBRATION& K); PinholeCamera(const gtsam::Pose3& pose, const CALIBRATION& K);
static This Level(const CALIBRATION& K, const gtsam::Pose2& pose, static This Level(const CALIBRATION& K, const gtsam::Pose2& pose,
@ -942,7 +942,7 @@ template <CALIBRATION>
class PinholePose { class PinholePose {
// Standard Constructors and Named Constructors // Standard Constructors and Named Constructors
PinholePose(); PinholePose();
PinholePose(const gtsam::PinholePose<CALIBRATION> other); PinholePose(const This other);
PinholePose(const gtsam::Pose3& pose); PinholePose(const gtsam::Pose3& pose);
PinholePose(const gtsam::Pose3& pose, const CALIBRATION* K); PinholePose(const gtsam::Pose3& pose, const CALIBRATION* K);
static This Level(const gtsam::Pose2& pose, double height); static This Level(const gtsam::Pose2& pose, double height);