MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / addIMUPreintegrationFactor

Method addIMUPreintegrationFactor

src/FactorGraph.cpp:159–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void FactorGraph::addIMUPreintegrationFactor(StateList List, PreintegratedIMUResult IMUState)
160 {
161 /** create noise model */
162 GaussianFull<15> IMUNoiseModel;
163 IMUNoiseModel.setCovarianceMatrix(IMUState.PreIntCov);
164
165 /** add to factor graph */
166 typedef typename FactorTypeTranslator<FactorType::IMUPretintegration, GaussianFull<15>>::Type FactorClassType;
167 addFactorGeneric<GaussianFull<15>, FactorClassType> (IMUNoiseModel,
168 List._List,
169 FactorType::IMUPretintegration,
170 nullptr,
171 true,
172 List._List.front().Timestamp,
173 IMUState);
174 }
175
176 void FactorGraph::printReport() const
177 {

Callers

nothing calls this directly

Calls 1

setCovarianceMatrixMethod · 0.45

Tested by

no test coverage detected