Hello everyone,
I am currently trying to calibrate the extrinsics parameters of a camera sensor using a projectionFactorPPP inside a big graph with other sensors. I recently tried to use the
gtsam::noiseModel::Constrained::MixedSigmas in order to constrain the translation, by setting a priorFactor to the extrinsics using this MixedSigmas, and setting the sigma to 0 on the translation components. However, when I tried this, the optimization slowed down to more than a factor 10.
Is this an expected behaviour (maybe because it creates an if statement deep in the code in the jacobian construction that prevents code optimization, or maybe because PPP factors are still unstable) or is this something else ? I didn't investigate a lot because setting low sigma for the translation gives good results for my problem, but I am wondering if there is something I don't get here and I'm curious what could be the reason.
Thanks in advance, and have a nice day everyone.
Best regards,
Philippe-Antoine