Add ambiguous calibrate/uncalibrate declarations.
Without declaring calibrate / uncalibrated in the interface specification, the functions of the Base class Cal3DS2_Base is called. The layout of the optional Jacobian matrix is 2x10 in Cal3Unified and 2x9 in Cal3DS2_Base, so this are different function calls.release/4.3a0
parent
03049929a5
commit
d54e234f93
|
|
@ -910,6 +910,12 @@ virtual class Cal3Unified : gtsam::Cal3DS2_Base {
|
|||
gtsam::Cal3Unified retract(Vector v) const;
|
||||
Vector localCoordinates(const gtsam::Cal3Unified& c) const;
|
||||
|
||||
// Action on Point2
|
||||
// Note: the signature of this functions differ from the functions
|
||||
// with equal name in the base class.
|
||||
gtsam::Point2 calibrate(const gtsam::Point2& p) const;
|
||||
gtsam::Point2 uncalibrate(const gtsam::Point2& p) const;
|
||||
|
||||
// enabling serialization functionality
|
||||
void serialize() const;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue