Livox-SDK / livox_ros_driver

Livox device driver under ros, support Lidar Mid-40, Mid-70, Tele-15, Horizon, Avia.
Other
370 stars 204 forks source link

LIVOX AVIA 激光时间戳出错,imu发送逻辑问题(livox/lidar timestamp error and the publish logic of imu is weird) #163

Closed sychina closed 10 months ago

sychina commented 10 months ago

When i tried to run rosbag record with livox avia and checked in rqt_bag , I found something weird.

  1. lidar's timestamp is jumped each second. Screenshot from 2023-12-07 20-47-31 Screenshot from 2023-12-07 20-47-41 Screenshot from 2023-12-07 20-47-52 in seq.2188, the timestamp is 385.99943, but in seq.2189 and 2190, the timestamps are 386.9967 and 386.199. Where is 386.099 ????
  2. What is the advantage of bundling 20 imu msgs to align lidar msgs, I still must to align them in the code because all the timestamps of the topics are in a mess Screenshot from 2023-12-07 20-47-10 It looks like imu is 10Hz
sychina commented 10 months ago

Screenshot from 2023-12-07 20-46-58 sorry this picture shoud be right.

Thank you

sychina commented 10 months ago

Q1 miss one digital, Q1 sloved

HP-Yin commented 9 months ago

请问这个问题是怎么解决的呢? How was this problem solved?

sychina commented 9 months ago

请问这个问题是怎么解决的呢? How was this problem solved?

没问题,仔细数了下时间戳的小数位数,其实没少。但是不太明白为何要把imu的数据挤到一起发过来

HP-Yin commented 8 months ago

我也看了一下,header.stamp是没问题的,他发送的时候写在了一个while循环里打包发送了