Factor Graph Cooperative Handoff with EKFs - Building

permalink

Idea: Factor Graph cooperative handoff with EKFs

  • Idea Version 1: Solve for EKF parameters that most accurately replicates the factor graph outcome across all time steps. Initial states, motion model, motion noise, sensor model, sensor noise, etc.
  • Idea Version 2: Solve for an EKF that most accurately represents the expected next time steps as part of the factor graph solution. How do you set up a known EKF model to most accurately model the noise for an unknown roll out (say 1 second after the factor graph horizon)
  • Idea Version 3: Given memoized EKF updates since the last factor graph solution, how can you use that information to speed up convergence of the factor graph algorithm?

...

Code: Marginals marginals(graph, result);

Q: This calculation is done by running a function on the graph and the result. What is the algorithm to recover the marginals?

Idea follow up: if you’re recovering the marginals, this seems like a good way to hand off to an EKF (maybe with some adjustment function to make sure that the EKF converges to the expected future marginals). Ideally, this could also be done in a fast [approximate] way to compute the last marginal (the only thing the EKF would do) without necessarily needing to compute all marginals. If you can’t do that, then ideally, you can have some previous marginal and incrementally update. You could also solve for the best EKF configuration as part of factors and variables in the graph.

Idea: You could also handoff to model-based extrapolation [fast to compute and accurate enough for short time periods] or low pass filtering [low compute use, maybe with longer accuracy window than extrapolation and less compute than EKF]

Related Posts: