Livox-SDK / Livox-SDK2

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

Return Codes #84

Open MaxiStocker opened 4 months ago

MaxiStocker commented 4 months ago

I am trying to change the point cloud data type to spherical, but it does not seem to work. I got the command to run, but get a return code 3, see console output:

[2024-07-30 15:07:07.039] [console] [info] Receive Ack: Id 256 Seq 7 [hap_command_handler.cpp] [Handle] [64] PclDataTypeCallack, status:0, handle:3724585152, ret_code:3, error_key:0

Does someone know the return code mapping? I am assuming non-zero means something went wrong, but further information would be very helpful.

Livox-louie commented 2 months ago

@MaxiStocker It seems that you are using HAP LiDAR, which does not support spherical mode. For return code mapping, please refer to:https://github.com/Livox-SDK/Livox-SDK2/wiki/Livox-SDK-Communication-Protocol-HAP(English)#return-code