rpng / open_vins

An open source platform for visual-inertial navigation research.
https://docs.openvins.com
GNU General Public License v3.0
2.18k stars 642 forks source link

improve odometry publishing speed #234

Closed goldbattle closed 1 year ago

goldbattle commented 2 years ago

The odometry with high frequency IMU (greater than 400hz) can be slow since the state is re-integrated from the previous update timestep. More ideally we should cache the result of the previous odometry result and only integrate the next IMU amount. This cache would need to be invalided after update (or propagation). This caused 3x slower simulations compared to before (see https://github.com/rpng/open_vins/commit/a3a209b9580dd94845cee0f2056cd4b519adff08)