Browse Source
This fixes a problem where we do not properly go to the set takeoff altitude but end up lower. The problem was that the setpoint triplet is reset when the navigation mode changes. So in this case, the triplet is reset when we switch from takeoff to loiter which can happen before reaching the actual takeoff altitude. The fix is an ugly hack to prevent the reset in the case of takeoff to loiter. A better solution would be to remove the general reset and have all navigation modes do the proper resets themselves. This hotfix should however be lower risk.sbg
1 changed files with 10 additions and 1 deletions
Loading…
Reference in new issue