Added accessor functions for internal data structures to

IncrementalFixedLagSmoother
release/4.3a0
Stephen Williams 2013-08-10 17:15:03 +00:00
parent 2f84788c2a
commit 1dc0e6192b
1 changed files with 20 additions and 0 deletions

View File

@ -79,6 +79,26 @@ public:
return isam_.params();
}
/** Access the current set of factors */
const NonlinearFactorGraph& getFactors() const {
return isam_.getFactorsUnsafe();
}
/** Access the current linearization point */
const Values& getLinearizationPoint() const {
return isam_.getLinearizationPoint();
}
/** Access the current ordering */
const Ordering& getOrdering() const {
return isam_.getOrdering();
}
/** Access the current set of deltas to the linearization point */
const VectorValues& getDelta() const {
return isam_.getDelta();
}
protected:
/** An iSAM2 object used to perform inference. The smoother lag is controlled
* by what factors are removed each iteration */