move default AHRSFactor constructor to public for wrapper

release/4.3a0
Varun Agrawal 2024-12-17 09:20:33 -05:00
parent c5554c836f
commit dfcbba822e
1 changed files with 3 additions and 3 deletions

View File

@ -139,9 +139,6 @@ class GTSAM_EXPORT AHRSFactor: public NoiseModelFactorN<Rot3, Rot3, Vector3> {
PreintegratedAhrsMeasurements _PIM_; PreintegratedAhrsMeasurements _PIM_;
/** Default constructor - only use for serialization */
AHRSFactor() {}
public: public:
// Provide access to the Matrix& version of evaluateError: // Provide access to the Matrix& version of evaluateError:
@ -154,6 +151,9 @@ public:
typedef std::shared_ptr<AHRSFactor> shared_ptr; typedef std::shared_ptr<AHRSFactor> shared_ptr;
#endif #endif
/** Default constructor - only use for serialization */
AHRSFactor() {}
/** /**
* Constructor * Constructor
* @param rot_i previous rot key * @param rot_i previous rot key