Merge pull request #679 from borglab/fix/misc

Miscellaneous fixes
release/4.3a0
Varun Agrawal 2021-01-19 20:53:37 -05:00 committed by GitHub
commit e86e328240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -2623,6 +2623,8 @@ virtual class BearingRangeFactor : gtsam::NoiseModelFactor {
const BEARING& measuredBearing, const RANGE& measuredRange,
const gtsam::noiseModel::Base* noiseModel);
BearingRange<POSE, POINT, BEARING, RANGE> measured() const;
// enabling serialization functionality
void serialize() const;
};

View File

@ -113,12 +113,13 @@ class SmartStereoProjectionPoseFactor : public SmartStereoProjectionFactor {
* print
* @param s optional string naming the factor
* @param keyFormatter optional formatter useful for printing Symbols
*/ void print(
const std::string& s = "",
const KeyFormatter& keyFormatter = DefaultKeyFormatter) const override;
*/
void print(const std::string& s = "", const KeyFormatter& keyFormatter =
DefaultKeyFormatter) const override;
/// equals
virtual bool equals(const NonlinearFactor& p, double tol = 1e-9) const;
virtual bool equals(const NonlinearFactor& p,
double tol = 1e-9) const override;
/**
* error calculates the error of the factor.
@ -155,4 +156,4 @@ template <>
struct traits<SmartStereoProjectionPoseFactor>
: public Testable<SmartStereoProjectionPoseFactor> {};
} // \ namespace gtsam
} // namespace gtsam