Skydroid - gimbal camers

i i have install the following skydroid gimbal with laser sensor:
in mission planner view - can see it detect obstacle - (in the mission planner radar - i see relevant distance).
but when i fly my pixhawk copter in loiter or stabilize mode - the drone wont stop/slow before obstacle.

do you know if i should connect the lidar to serial/pwm/i2c

please advise

thanks

Have you properly setup AVOID_ parameter family? Also, I think it will only work in Loiter or Alt Hold mode, not sure if this feature works in Stabilize flight mode.

but is it connected to serial i2c or pwm?

Sorry, I do not know, I have never used this gimbal and I have no information about ardupilot compatibility with it.