How to interface lidar with pixhawk and how to do object avoidance with parameter modification

Continuing the discussion from I need help about Lidar!:

Buy a lidar that is ArduPilot compatible.
Configure it like described in the ArduPilot documentation
Ask questions if something is not clear

i am using TF02-PRO LIDAR,THAT IS CONNECTED TO MY CUBEORANGE PIXHAWK BOARD I AM GETTING RANGE VALUES IN MISSION PLANNER ALSO BUT I WANT TO KNOW HOW TO CONTROL OBJECT AVOIDANCE WITH THAT LIDAR FOR MY ROVER (MOTOR CONTROL),I MEAN HOW TO CHANGE PARAMETERS VALUES IN MISIION PLANNER

No need to scream. Read this Object Avoidance — Rover documentation

With a single (or multiple) LIDAR/Rangefinder you need to set the PRX1_TYPE to 4
Then you can start doing Proximity and Avoidance things