AP_Scripting: examples: fault_handling.lua: ignore errors.

This commit is contained in:
Iampete1 2024-05-20 00:27:27 +01:00 committed by Andrew Tridgell
parent 38a7c837fc
commit 91cdea1a8d
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@
example script to test fault handling with pcall
--]]
---@diagnostic disable: need-check-nil
---@diagnostic disable: undefined-field
local MAV_SEVERITY = {EMERGENCY=0, ALERT=1, CRITICAL=2, ERROR=3, WARNING=4, NOTICE=5, INFO=6, DEBUG=7}
gcs:send_text(MAV_SEVERITY.INFO, "Loading fault test")