HesaiTechnology / HesaiLidar_General_SDK

Development Kit for PandarXT PandarQT Pandar64 Pandar40P Pandar40M Pandar20A Pandar20B
BSD 2-Clause "Simplified" License
72 stars 36 forks source link

PktArray issues fix #20

Open dripdripdr0p opened 2 years ago

dripdripdr0p commented 2 years ago

Iterator should not increment before buffer full check, only if buffer is not full. hasEnoughPackets() only needs to know that iterators are not the same.