In this video, I conducted multiple trials of obstacle avoidance using the MR72 Radar on an ArduCopter (CUAV X7 Plus - FC) in both Loiter and Auto flight modes. To ensure proper functionality of the sensor, the following parameters need to be updated in ArduCopter:
SERIAL2: 115 (if the device is connected to the Telemetry 2 port)
SERIAL2_PROTOCOL: 11 (if the device is connected to the Telemetry 2 port)
PRX1_TYPE: TeraRanger Tower Evo
PRX1_MIN: 2.5
PRX1_MAX: 10
AVOID_ENABLE: 2
AVOID_MARGIN: 4
AVOID_DIST_MAX: 8
AVOID_BEHAVE: 1 (to stop the drone when an obstacle is detected)