Add default constructor to PoseRotationPrior to fix serialization

release/4.3a0
Scott 2022-02-03 21:50:55 -08:00
parent 241f7a31a7
commit a1fda3f14c
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ protected:
public: public:
/** default constructor - only use for serialization */
PoseRotationPrior() {}
/** standard constructor */ /** standard constructor */
PoseRotationPrior(Key key, const Rotation& rot_z, const SharedNoiseModel& model) PoseRotationPrior(Key key, const Rotation& rot_z, const SharedNoiseModel& model)
: Base(model, key), measured_(rot_z) {} : Base(model, key), measured_(rot_z) {}