Livox-SDK / livox_ros2_driver

Livox device driver under Ros2, support Lidar Mid-40, Mid-70, Tele-15, Horizon, Avia.
Other
85 stars 88 forks source link

Imu burst mode sending #10

Open tigelbri opened 3 years ago

tigelbri commented 3 years ago

Hi, I have a question about the IMU on the livox horizon. When I do a plot of the IMU data then Iam reveicing the data in a kind of burst mode where I get 20 dates in about 2 ms and then 100 ms pause and repeat. Is this the way how it should work or do I missed something on my side?

It seems like that the imu data is received every time a scan is received. So is there a way to get the imu data more frequently?

Great Thanks in advance

Tristan

Livox-SDK commented 3 years ago

Hi, tegelbri, You can create a new thread, and poll the imu data at your needed frequency.

Livox-SDK commented 3 years ago

image

tigelbri commented 3 years ago

I tried it. The IMU now gets its 200 Hz, but Iam receiving some lags in the data. pastedImage