hku-mars / FAST_LIO

A computationally efficient and robust LiDAR-inertial odometry (LIO) package
GNU General Public License v2.0
2.78k stars 936 forks source link

宏LASER_POINT_COV在ESEKF更新过程中有什么作用? #162

Closed liang0724s closed 2 years ago

liang0724s commented 2 years ago

define LASER_POINT_COV (0.001)

kf.update_iterated_dyn_share_modified(LASER_POINT_COV, solve_H_time);

WFram commented 2 years ago

LASER_POINT_COV is a covariance for LiDAR measurements and participates in calculating Kalman gain process which is essential to update the state vector.

liang0724s commented 2 years ago

LASER_POINT_COV is a covariance for LiDAR measurements and participates in calculating Kalman gain process which is essential to update the state vector.

Thanks, and how to get this value? is it from the LiDAR user manual?

WFram commented 2 years ago

There are many factors affecting measurement process, so in general this information can't be provided by only one value. Ideally, you need to take into account each individual measurement. And Livox Custom Messages actually provide this information in tag field (see https://www.livoxtech.com/showcase/livox-tag), but I would say, it's about confidence in general, rather than specific values. Even so, you can neglect this and approximate by one number and apparently it will not affect accuracy too much. But will increase performance significantly, since you don't need to calculate high-dimensional matrices and use only a scalar value.