-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waypoint multi-mission in flight mission change #8354
Waypoint multi-mission in flight mission change #8354
Conversation
Tested today but found 2 major problems.
|
That may be the case but multi missions was really only intended as a means of having access to more than a single mission loaded from eeprom. There doesn't seem much point in using it if you have the ability to upload missions in flight because you can use the upload itself as the means to change missions as required.
I guess it's always problematic trying to accommodate all possibilities here, too many modes for not enough channels, I'm not sure what the ideal solution is. Remember there is also the possibility to change mission index in flight using Adjustments which is actually easier than toggling the WP mode switch.. |
To point 1: To point 2: I guess forcing POSHOLD would be the safest option. It would also make the most sense as a general way the feature works. what else should the craft do while selecting a mission? |
I just set up |
Closes #8301.
Allows WP multi-missions to be changed in flight using new mission change mode. With mode active the required mission index can be selected by cycling through missions using the WP mode switch. Selected mission is loaded when mission change mode is switched off. Mission index can also be changed through addition of a new Mission Index adjustment function which should be useful for DJI users unable to use the normal OSD mission related fields.
PR also improves function of multi-missions by keeping waypoint mission array intact on arming rather than overwriting the start of the array with the selected mission as happens currently (this requires eeprom reload when disarmed to restore the mission array).
Not flight tested yet but works as expected using the HITL Sim.