Repository navigation
Conversation
dellaert
left a comment
There was a problem hiding this comment.
CI is failing, and you should target the branch of the other PR.
|
@oafolaya Ping: merge conflicts and CI failures :-_ |
ae89caa to
2a1ff3e
Compare
I've updated #2930 to build on top of #2945 and removed the redundant changes. All three languages have been tested locally, as well as the monolithic and chordal SDP formulations with MOSEK. Since the branch for #2945 is in my fork, I wasn't able to directly target it from #2930. Would it be fine to leave it targeting develop until #2945 is merged? For now, the changes specific to #2930 can be viewed here: oafolaya/gtsam@feature/wnoa-augmented-point-nonlinear...feature/wnoa-augmented-point-unstable |
|
I'm moving this back to draft for now. After revisiting the existing SE(3) Gaussian process example, I'd like to reconsider the QCQP formulation. Currently, the QCQP approach introduces position and velocity variables at measurement timestamps. I'd like to investigate whether the squared-range measurements can instead be expressed directly in terms of the neighboring knot states through GP interpolation, as in the nonlinear implementation. This would avoid introducing additional trajectory states, although the QCQP conversion would need to account for the interpolation relationships. I'll revisit the formulation before proceeding. |
Summary
This PR builds on #2945 and introduces QCQP conversion for WNOA motion factors using GTSAM's existing QCQP and SDP infrastructure.
For this formulation, we explicitly estimate the position and velocity at measurement times in addition to the original knot states. This allows us to incorporate the squared-range measurements without introducing multi-key equality constraints. Additional trajectory states can still be recovered through GP interpolation after optimization.
The current limitation is that we lose the computational advantage of optimizing only the knot states. A QCQP formulation that directly incorporates interpolated measurements is left for future investigation.
Changes
WnoaQcqpMotionFactoringtsam_unstable, which inherits fromWnoaMotionFactorand implementsqcqpFactors()without introducing a dependency fromnonlineartoconstrained.Validation
Built and tested locally on Windows with MOSEK enabled. The code quality checks and corresponding C++, Python, and MATLAB tests passed, including both SDP formulations.
In the range-only notebook, the full-GP nonlinear, augmented Lagrangian, monolithic SDP, and chordal SDP solutions agree in objective value to six decimal places. Both SDP solvers report primal and dual feasibility, with recovered objectives agreeing with the relaxation objectives to within approximately (10^{-7}) and small equality constraint violations.
No changes were made to the stable motion factors or the core QCQP and SDP infrastructure.
Future Work
AugmentedPointlifting representation by removing the redundant homogeneous coordinate, since homogenization is already handled by the SDP infrastructure.Dependency
This PR builds on #2945.