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

Method addStateWithCheck

src/FactorGraph.cpp:151–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 void FactorGraph::addStateWithCheck(string Name, DataType Type, double Timestamp)
152 {
153 if (!this->getStateData().checkElement(Name, Timestamp))
154 {
155 this->addState(Name, Type, Timestamp);
156 }
157 }
158
159 void FactorGraph::addIMUPreintegrationFactor(StateList List, PreintegratedIMUResult IMUState)
160 {

Callers

nothing calls this directly

Calls 2

addStateMethod · 0.95
checkElementMethod · 0.45

Tested by

no test coverage detected