Skip to content

[PV][fix] Fix error message of Offline SLAM

Tong Fu requested to merge fix/FixOfflineSLAMInPV into master

Problem:

When we choose offline SLAM filter in LidarView, the default value of First frame is 1 and the Last frame is 0. When we enable All frames, the First frame and the Last frame are set respectively as 0 and the last frame of data. But it checks the validity of parameters before setting them. So the check is done with the default values. This caused the error “Last frame must come after first frame”.

Changes:

  • Check FirstFrame and LastFrame when AllFrames is disabled
  • Change default value of FirstFrame as 0 and default value of LastFrame as 1

Merge request reports

Loading