RNGFND1_MAX_CM = 3500 (the maximum range the lidar can accurately report in cm)
RNGFND1_MIN_CM = 20 (the mininum range the lidar can accurately report in cm)
Step :3
To check if the lidar is working back to home page and go to Analyze tools ->Mavlink inspector -> DISTANCE_SENSOR and if the frequency is non-zero and the current distance is changing upon moving the lidar means the lidar is working properly.