Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ISAM2UpdateParams

ISAM2UpdateParams supplies per-update controls to iSAM2: factor removal, constrained ordering groups, relinearization exclusions, extra re-elimination keys, and full-solve overrides.

Open In Colab

Creating update parameters

The default object requests an ordinary incremental update. Set only the fields needed for a particular call; persistent solver behavior belongs in ISAM2Params.

Using the object with ISAM2.update()

The dedicated overload takes new factors, new values, and ISAM2UpdateParams. This example adds a prior in one update and a relative-pose factor in the next.

Advanced fields

constrainedKeys groups variables for constrained COLAMD ordering. noRelinKeys protects selected variables from relinearization, while extraReelimKeys forces selected variables through re-elimination. removeFactorIndices uses the indices returned by earlier ISAM2Result.getNewFactorsIndices() calls. forceFullSolve performs a full back-substitution after the incremental update.

Source

ISAM2UpdateParams.h

AI assistance caveat

AI was used to help draft this documentation, and inaccuracies could be present.