How to capture IMU data from Horizon? #76
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello
I want to capture the lidar IMU data. As you mentioned in the communication protocol, the IMU data can be captured if the data type is equal to 6. However, when I read the lidar package's data-type, it sent me number-2 which means the cartesian XYZ.
Could you please guide me on how I can request from the lidar to send me the package with data type=6 (IMU data)?
Should I force the lidar to change the package's data-type? I appreciate it if you tell me how it is possible to capture IMU data.
Many thanks in advance
Roya
Hi @roya-correct-ai
Horizon or Tele ‘s IMU data will be pushed at a frequency of 200Hz by defalut. And It's mixed with point cloud data in same data callback.
If data type equals to 6, it indicates IMU data, if data type equals to 2, it indicates point cloud data.
If you don't recevie any data type equals to 6 all the time. Please use Livox Viewer checking LiDAR's setting (whether IMU push is enabled).
Thank you for your response.
I checked the IMU push frequency in Livox viewer and it is set on 200 MHz but, unfortunately, when I read the data_type from lidar packet data, It is only equal to 2 and there is no data_type=6 at all.
How I can be sure that My LiDAR (Livox Horizon) is equipped by the IMU sensor?
Could you please guide me on what should I do to enable and capture the IMU data?
Many thanks in advance
Roya
@roya-correct-ai
Dear roya, I do not know if you solved this problem. And I want to show one of the solving ways to everyone who face this problem.
If you set the IMU frequency as 200 Hz, it can be confirmed that the IMU function is opened. Then if you want to turn lvx files to rosbag files, please ensure that the "arg name="imu_bag" default" is true(the default setting is false); in the lvx_to_rosbag.launch, the path of this file usually in this way
~/ws_livox/src/livox_ros_driver/launch/lvx_to_rosbag.launch.
Then you can get the IMU data after you finish the converting.
Is this problem solved? I don’t know how to get imu data when using avia.
Bumping this one.
Is IMU accessible for the AVIA ?
I know it is all about SDK here but can I ask a question about a point cloud captured through Livox Viewer with Horizon/Avia/Tele-15.
I have just downloaded a sample data from Horizon which comes with IMU on board but all O x,y,z fields have no values in them. Does it mean that if you use Livox Viewer to capture a point cloud with Horizon/Avia/Tele-15 that come with IMU and you turn it on in the lidar settings you still won't get it recorded by Livox Viewer.