Segmentation Fault in the Lidar Sensor SDK code for measurement angle and distance through lidar S2 sensor
I have write the code for the measurement the Angle and Distance the Slamtec RP Lidar sensor model S2 using SDK of the sl_lidar SDK and when i compile the following C++ code it give and run with the connected directly with the my linux based laptop then run smoothly and give the correct angle and distance but when I try use the same code through the Rasberry Pi then it give segmentation fault. error. If anyone have the the solution of this problem then please tell me.