Skip to content

Commit

Permalink
Update MissionRotation.lua
Browse files Browse the repository at this point in the history
Cosmetics
  • Loading branch information
robustini authored Dec 10, 2024
1 parent acb0409 commit 32daea7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions libraries/AP_Scripting/applets/MissionRotation.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
-- Script to load one of up to 10 mission files based on AUX switch state
-- Always loads mission0.txt at boot, cycles missions on AUX high if held less than 3 seconds
-- Reset the mission0.txt if AUX is high for more than 3 seconds
-- Prevents mission change if the vehicle is in AUTO mode
-- Prevents the script from loading if the vehicle is in AUTO
-- For each loaded mission it also shows the number of events it contains
--[[
- Script to load one of up to 10 mission files based on AUX switch state
- Always loads mission0.txt at boot, cycles missions on AUX high if held less than 3 seconds
- Reset the mission0.txt if AUX is high for more than 3 seconds
- Prevents mission change if the vehicle is in AUTO mode
- Prevents the script from loading if the vehicle is in AUTO
- For each loaded mission it also shows the number of events it contains
--]]

local MAV_SEVERITY = {EMERGENCY=0, ALERT=1, CRITICAL=2, ERROR=3, WARNING=4, NOTICE=5, INFO=6, DEBUG=7}
local rc_switch = rc:find_channel_for_option(24)
Expand Down

0 comments on commit 32daea7

Please sign in to comment.