I recently tried LidarLite v2 on pixracer with latest stable code.
LidarLite is attacched via I2C, it has a separete power supply and a 1000uF capacitor.
What I see sometimes from the raw data is a jump of around 1 meter in the measurement which returns ok after a while as you can see in the attached picture
Moreover sometimes it sees a huge spike as in the following:
Do you know what is going on? Is it Lidar side of pixracer side? Any know fix?