Subject to discuss about the Robot Maker ld06 lidar library : https://github.com/R...Maker-SAS/LD06/
First issue is : https://github.com/R...S/LD06/issues/1
In order to understand what is the origin of the probleme here are some config we should test.
- First disable filtering with ld06.disableFiltering(); ( Just to be sure that the missing data is not filtered data )
- Then disable " full scan waiting mode " ld06.disableFullScan(); This way it will print each data chunk you receive and not wait for a full scan. ( If your board is to slow to process the whole scan it may be a problem )
- If the problem is still there then you can add a " debug message" in : ld06.cpp in readDataCRC() function to replace the comment " // TODO Handle CRC error " in order to verify if missing data is because of CRC error.
- If there are some CRC errors you can disable crc control with ld06.disableCRC(); and try to verify if you get corrupted data and what data is corrupted ...
Best regards.