Hi,
I am wondering if there's a way to fix a variable/value in the factor graph, such that it does not get optimized/updated during the optimization phase, equivalent e.g. to 'SetParameterBlockConstant" in Ceres.
To clarify, I do not want to a add a (very strong) prior factor on the variable (which might have a similar effect), but really kind of "turn off" the variable from being optimized altogether, such that the complexity of optimizing the factor graph is reduced accordingly.
I came across the NonlinearEquality constraint, but wasn't quite sure if this is really equivalent to setting a variable/value constant?
Any help regarding this is highly appreciated. Thanks!
Cheers,
Mathias