-
Notifications
You must be signed in to change notification settings - Fork 686
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
ZUPT integrated_accel_constraint
Untested Code
#378
Comments
Hi, @goldbattle
|
Sorry, this is quite a bit of comments to answer all at once, so it will take me a while to get to them all.
There are a couple of perspectives on the zero velocity update. One can directly do an update saying that the For constraining the velocity, the current velocity in the state is at the
The idea here is to propagate the state forward and say that the relative orientation and position have not changed, and the velocity should be equal to zero. I don't remember if this ever worked well, nor do I expect the current implementation to work as it has not been tested and the codebase has evolved over many years.
If I remember right, the newest clone is the one we want to delete. This is basically a last in first out LIFO, as we have feature observations we want to try to update with at |
This code should either be removed or updated to work and exposed to the config. |
integrated_accel_constraint
Untested Code
Hi, @goldbattle
I have a few questions about zero-velocity update that I would like to ask you.
explicitly_enforce_zero_motion
totrue
, my code does not run properly and the program stops at the lineHx_order.push_back(state->_clones_IMU.at(time0_cam))
. It seems that the program cannot find the IMU data for this timestamp. I noticed that when the code is running normally, the value oftime0_cam
at the first entry to this line is 0, which seems abnormal to me.The text was updated successfully, but these errors were encountered: