Merge pull request #1086 from ScottMcMichael/fix_pose_rotation_prior_serialization

release/4.3a0
Frank Dellaert 2022-02-04 09:24:49 -05:00 committed by GitHub
commit 304467cf1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {}