-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
MissionRotation LUA - Load one of up to 10 mission files #28789
Closed
Closed
Commits on Dec 1, 2024
-
MissionRotation LUA - Load one of up to 10 mission files based on AUX…
… switch state This LUA script is an evolution on the MissionSelector.LUA. Allows you to select up to 10 missions, either while arming or in the unarmed state. Requires that an RC_xFUNCTION be set to 24 (Mission Reset). The scripts should be installed in the SCRIPTS folder on the MicroSD, and the mission files in the root. The mission file called mission0.txt (the default mission) must exist and is loaded at boot, if the script does not find it it stops working. To load to the next mission file just bring AUX switch from low to high, each switch loads the next mission file in numerical order. If the next mission file numerically does not exist load the next one, at the end of the rotation it returns to load mission0.txt. Provides for sending messages under any condition, load or error.
Configuration menu - View commit details
-
Copy full SHA for 8095117 - Browse repository at this point
Copy the full SHA 8095117View commit details -
Configuration menu - View commit details
-
Copy full SHA for fccb74d - Browse repository at this point
Copy the full SHA fccb74dView commit details
Commits on Dec 2, 2024
-
Changed the operating logic: - always loads mission0.txt at startup, cycles missions to AUX high if held for less than 3 seconds - resets mission0.txt if AUX is high for more than 3 seconds
Configuration menu - View commit details
-
Copy full SHA for be00dad - Browse repository at this point
Copy the full SHA be00dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a8817b - Browse repository at this point
Copy the full SHA 5a8817bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75dc1e1 - Browse repository at this point
Copy the full SHA 75dc1e1View commit details -
- removal of last_sw_pos - removed all comments except the initial ones
Configuration menu - View commit details
-
Copy full SHA for 468c730 - Browse repository at this point
Copy the full SHA 468c730View commit details -
Inhibited the ability to change mission if flight mode is AUTO, with associated warning message
Configuration menu - View commit details
-
Copy full SHA for a5e5eef - Browse repository at this point
Copy the full SHA a5e5eefView commit details -
If a mission switch is attempted in AUTO flight mode, a warning “Could not clear current mission” will be shown and no operation will be performed.
Configuration menu - View commit details
-
Copy full SHA for 526f336 - Browse repository at this point
Copy the full SHA 526f336View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c108b1 - Browse repository at this point
Copy the full SHA 4c108b1View commit details -
Fixed issue that sent duplicate mission change messages.
Configuration menu - View commit details
-
Copy full SHA for 8186d84 - Browse repository at this point
Copy the full SHA 8186d84View commit details -
Second attempt: fixed duplicate message sending problem in mission loading.
Configuration menu - View commit details
-
Copy full SHA for a96fa59 - Browse repository at this point
Copy the full SHA a96fa59View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.