CathIAS / TLIO

Tight Learned Inertial Odometry
Other
277 stars 69 forks source link

ValueError: A value in x_new is below the interpolation range #28

Open zinuok opened 2 years ago

zinuok commented 2 years ago

I succeed to training & test using my own dataset, but I can't execute 'main_filter.py' with the following error:

ValueError: A value in x_new is below the interpolation range.
1649423831335748 1649423831333688 1649423831336166
Trying to do interpolation at 1649423831333688 between 1649423831335748 and 1649423831336166

As my IMU data is 400 Hz, I have set

imu_freq: 400
imu_base_freq: 800

I've also tried with --update_freq as 10 and 20, but it produces the same error as above.

I think the too large value of self.dt_interp_us may cause this problem..

How can I solve this issue?

RajatArora-CA commented 1 year ago

Did you figure how to solve this out?