Move the declaration to cpp

release/4.3a0
Fan Jiang 2020-07-12 10:28:23 -04:00
parent f421a9316a
commit 8b9c199d0b
2 changed files with 3 additions and 2 deletions

View File

@ -384,5 +384,3 @@ struct traits<CombinedImuFactor> : public Testable<CombinedImuFactor> {};
} // namespace gtsam
/// Add Boost serialization export for derived class
BOOST_CLASS_EXPORT_GUID(gtsam::PreintegrationCombinedParams, "gtsam_PreintegrationCombinedParams");

View File

@ -42,6 +42,9 @@ BOOST_CLASS_EXPORT_GUID(gtsam::noiseModel::Isotropic,
BOOST_CLASS_EXPORT_GUID(gtsam::SharedNoiseModel, "gtsam_SharedNoiseModel");
BOOST_CLASS_EXPORT_GUID(gtsam::SharedDiagonal, "gtsam_SharedDiagonal");
/// Add Boost serialization export for derived class
BOOST_CLASS_EXPORT_GUID(gtsam::PreintegrationCombinedParams, "gtsam_PreintegrationCombinedParams");
template <typename P>
P getPreintegratedMeasurements() {
// Create default parameters with Z-down and above noise paramaters