Skip to content

Commit

Permalink
Merge pull request #1086 from ScottMcMichael/fix_pose_rotation_prior_…
Browse files Browse the repository at this point in the history
…serialization
  • Loading branch information
dellaert authored Feb 4, 2022
2 parents 241f7a3 + a1fda3f commit 304467c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gtsam/slam/PoseRotationPrior.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class PoseRotationPrior : public NoiseModelFactor1<POSE> {

public:

/** default constructor - only use for serialization */
PoseRotationPrior() {}

/** standard constructor */
PoseRotationPrior(Key key, const Rotation& rot_z, const SharedNoiseModel& model)
: Base(model, key), measured_(rot_z) {}
Expand Down

0 comments on commit 304467c

Please sign in to comment.