I want to control one output digital device(relay) by using rplidar a2 lidar (based on threshold value of distance)

I want to control one output digital device(relay) by using rplidar a2 lidar (based on threshold value of distance)

Double posting will not get you an answer twice as fast. It just waists everybody’s time.