Livox-SDK / Livox-SDK2

Drivers for receiving LiDAR data and controlling lidar, support Lidar HAP and Mid-360.
Other
89 stars 57 forks source link

how to use HAP control command #47

Closed NHMMing closed 11 months ago

NHMMing commented 11 months ago

hi, @Livox-Infra I want to get HAP lidar sn code. And I saw “3.1 control command” are related to this question in Livox SDK2 protocol . However, I do not know how to use control command by Livox SDK2. I just use PC to connect lidar by internet. Could you give me some ways to fix this problem?

NHMMing commented 11 months ago

Also, @Livox-Infra I want to obtain the SN number to distinguish between multiple HAP lidar data in the same LAN, and then save the data of each radar separately. This is done with only the Livox SDK2. However, using handles to distinguish if is easier than sn signs.I saw that there was "uint32_t handle" in the callback function parameter table of the point cloud "void PointCloudCallback(uint32_t handle, const uint8_t dev_type, LivoxLidarEthernetPacket data, void client_data)". If I use handle to distinguish HAP lidar data, what I need to do

NHMMing commented 11 months ago

“handle” works done.