Luckily, there aren't a ton of parameters for auto-landing itself. Unfortunately though, getting these just right can be a frustrating process. Let's take a look at them one by one:
- LAND_FLARE_SEC and LAND_FLARE_ALT: We'll cover both of these at the same time as they are very closely related. LAND_FLARE_SEC is given first priority of the two, and this is simply the number of seconds before impact with the ground that the plane should flare. Flaring is cutting power, and pitching the nose up to slow the plane and start final descent to the landing zone. LAND_FLARE_ALT is how many meters from the ground the airplane should perform this same task. If you are relying solely on Pixhawk's barometer for altitude, ...