inav-configurator icon indicating copy to clipboard operation
inav-configurator copied to clipboard

Add safety check to nav_rth_home_altitude

Open avsaase opened this issue 3 years ago • 3 comments

Current Behavior

When the user erroneously sets nav_rth_home_altitude above nav_rth_altitude, the aircraft will climb when it reaches the home position.

Desired Behavior

I think there is no real-world application for having the aircraft climb when it reaches the home position, so this should not be allowed.

Suggested Solution

When nav_rth_home_altitude > nav_rth_altitude, ignore nav_rth_home_altitude. A check in the configurator would also make sense.

avsaase avatar Nov 18 '20 22:11 avsaase