-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Large velocity nosie form imuPreintegration node? #104
Comments
How is the velocity calculated from the original loam? Is a filter used there? |
Hello @TixiaoShan @shibowin I think that probably my problem is related. I'm using LIO-SAM with an UAV too and I'm getting a really choppy odometry, both position and velocity. For instance, here is the Y axis:
This is making the UAV really difficult to control, almost impossible. I am trying to filter it, but still I get still a choppy signal. Also, I realized that the "saw shape" signal evolves in the direction of the signal sign, for instance:
I'm not sure, but my feeling is that the speed estimation is higher than it actually is, causing this "saw" to appear. Maybe it is related to the IMU pre-integration? Any ideas? Thanks! |
@rcabg @shibowing |
Hello @TixiaoShan Thanks for the response. It definitely improves a lot the odometry reducing noise. Here some examples:
I didn't have enough time for analizing the code and find out what could provoke this. Any idea? Thanks! |
@rcabg In the new code for imu preintegration, I introduced a new lidar odometry in mapOptimization that is only incremental with drift - it doesn't change even with loop closure. So the imuPreintegration won't reset when a loop-closure happens. Thus, the imu odometry is also increamental with drift. In the old code, imuPreintegration resets everytime when a loop-closure is detected. |
@TixiaoShan |
From my perspespective, it seems like we don't need to reset imu preintergration frequently. Frequent reset imu-preintegration may cause the large noise of velocity. Please correct me if I am wrong. Thank you very much! |
@shibowing
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi Tixiao,
Thank you very much for sharing! This is really great work!
I just tested your code and noticed that the velocity you estimated is larger than the one estimated by the original loam, which will be difficult for the drone controller to use. Could you please give me some suggestions on how to reduce the velocity noise?
The red line is LIO-SAM and the blue line is the LOAM algorithm. It can be seen that the red line is not very smooth and has a big noise compared with the blue one.
Thank you very much for your suggestions!
The text was updated successfully, but these errors were encountered: