default constructor to allow serialization

release/4.3a0
cbeall3 2014-02-11 20:03:01 -05:00
parent b5c89b22b8
commit ec19643840
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ protected:
public:
/** default constructor - only use for serialization */
PoseTranslationPrior() {}
/** standard constructor */
PoseTranslationPrior(Key key, const Translation& measured, const noiseModel::Base::shared_ptr& model)
: Base(model, key), measured_(measured) {