Mine quadcopter doesn’t have a GPS installed, so it utilizes a rangefinder to monitor altitude. I prefer not to have surface tracking in loiter/althold mode, so I’ve disable the surface tracking parameter but quad still rise whenever it detect obstacle in downward.
yes correct. I set SURFTRAK_MODE= 0. Cause mine quad is designed for indoor environment. Is that possible for me to hardcoded so that target_alt remain same?
Here is my experience I can share, hope it is helpful to you. Same our drone is for indoor too. Can we know which flight control hardware are you using?