You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up a mission with a Set Head WP that remained set until the end of the mission. Flew the mission twice without disarming but with WP mode cancelled and restarted between flights. Noticed that Set Head was still active when starting the second flight. Looking at the code there doesn't appear to be anything that cancels wpHeadingControl.mode when a new mission is started which would explain why it remained active.
Probably just needs wpHeadingControl.mode = NAV_WP_HEAD_MODE_NONE; setting in:
Set up a mission with a Set Head WP that remained set until the end of the mission. Flew the mission twice without disarming but with WP mode cancelled and restarted between flights. Noticed that Set Head was still active when starting the second flight. Looking at the code there doesn't appear to be anything that cancels
wpHeadingControl.mode
when a new mission is started which would explain why it remained active.Probably just needs
wpHeadingControl.mode = NAV_WP_HEAD_MODE_NONE;
setting in:inav/src/main/navigation/navigation.c
Line 1463 in c63aa64
The text was updated successfully, but these errors were encountered: