tier4 / nebula

Apache License 2.0
45 stars 43 forks source link

AT128 HW interface crashes on GetLidarRange #129

Open mojomex opened 5 months ago

mojomex commented 5 months ago

When launching Nebula when connected to AT128, the HW interface crashes with a segfault in GerLidarRange. The AT128 TCP protocol does not support request code 0x23 (Get Azimuth FOV) and sends an error response, which Nebula does not check. Instead it assumes the payload is larger than the error response, resulting in a segfault.

mojomex commented 5 months ago

As a first step, I made issues like these detectable by introducing error checking and handling in hesai_hw_interface: