Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The use of InertialPose3 #641

Open
saparkison opened this issue Dec 20, 2022 · 4 comments
Open

The use of InertialPose3 #641

saparkison opened this issue Dec 20, 2022 · 4 comments

Comments

@saparkison
Copy link

saparkison commented Dec 20, 2022

I'm having trouble figuring out how to use the IntertialPose3 type. Sorry if I am missing an obvious example. I see /test/testInertialPose3.jl but following that approach doesn't seem to work anymore. I get an error with addVariable!()

ERROR: LoadError: MethodError: no method matching addVariable!(::GraphsDFG{SolverParams, DFGVariable, DFGFactor}, ::Symbol, ::Type{InertialPose3}; N=100)

which I think comes down to InertialPose3 <: InferenceVariable evaluating as false

Am I missing something? Or is there a better example of how to use InertialPose3?

Thanks!

@dehann
Copy link
Member

dehann commented Jan 2, 2023

Hi @saparkison , apologies just noticed your issue now! The InertialPose3 factor was withheld on licensing delays, but a full INS integration factor model replacement is in the works using IncrementalInference.DERelative factors. One of big blockers we just cleared late in 2022 was converting the full code base to Manifolds.jl. The plan is to build out IMU related factors on Manifolds proper. These will be a bit slower to compute than the preintegration versions, but should have good accuracy and much greater versatility.

Could you perhaps say a bit more on your application to see if there is a stand-in solution we can help find that can work in the short term?


The INS-type factor described above is on our roadmap, maybe Q2, Q3 of this year.

Aside: part of the longer build out of the code base here is to be fully consolidated between both parametric and nonparametric solutions (for batch and Bayes tree w/ recycling solutions); while also being fully integrated with Manifolds, ManOpt / Optim, DiffEq, and other packages.

TAC

  • FIXME restore test/testInertialPose3.jl

@saparkison
Copy link
Author

Thanks for the response and the explanation. I'll be interested in seeing the IncrementalInference.DERelative implementation and how it compares to preintegration approaches.

I'm trying to perform state estimation using IMU + GPS data (and maybe eventually wheel encoder data) for a ground vehicle. After looking around more, maybe /src/services/OdometryUtils.jl is the place to start looking?

@dehann
Copy link
Member

dehann commented Sep 16, 2023

Hi @Affie , FYI see test/testInertialPose3.jl

@dehann
Copy link
Member

dehann commented Nov 14, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants