koide3 / hdl_localization

Real-time 3D localization using a (velodyne) 3D LIDAR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delta time (dt) variable inside pose_system.hpp

kunnalparihar opened this issue · comments

I am a little confused as to how did you choose dt as 0.01?
https://github.com/koide3/hdl_localization/blob/master/include/hdl_localization/pose_system.hpp#L21
Imu frequency is 200 Hz
I guess dt should be equal to (1 / imu_frequency)

Thank you in advance

Yes, you are correct, and dt will be updated based on the last and current data timestamps.

okay, I got it. thanks