学习日志2020.7.9 Livox-SDK错误码

用livox获取的点云数据有一列叫error code,通信协议里叫Status Code。由32bits组成,每一位的含义见:https://github.com/Livox-SDK/Livox-SDK/wiki/Livox-SDK-Communication-Protocol#imu_freq
目前遇到了两种错误码,0x00000800和0x40000840。翻译成二进制数分别是在第6位和第6,11,31位为1,(个位是第0位)。两种错误分别是dirty_warn:Dirty or Blocked和dirty_warn:Dirty or Blocked加Fan in Warning State,最终导致error,原因可能如下。
Error
Causes the LiDAR to Shut Down and Enter the Error State.
Any of the following situations will trigger error:
2.1 temp_status is 2;
2.2 volt_status is 2;
2.3 motor_status is 2;
2.4 firmware_status is 1;
还遇到过0x00000840的错误,也就是只有dirty warn和fan warn,没有最终的error。
在livox viewer里看到的这一列数据是用十进制数表示的,给我看蒙了。

你可能感兴趣的:(学习日志2020.7.9 Livox-SDK错误码)