AP_Scripting: Typo fixes

This commit is contained in:
George Zogopoulos 2024-06-24 16:51:07 +02:00 committed by Peter Barker
parent bc80358e9b
commit 9df4796b70
5 changed files with 6 additions and 6 deletions

View File

@ -45,5 +45,5 @@ Motors_dynamic:load_factors(factors)
motors:set_frame_string("Dynamic example")
-- if doing changes in flight it is a good idea to us pcall to protect the script from crashing
-- if doing changes in flight it is a good idea to use pcall to protect the script from crashing
-- see 'protected_call.lua' example

View File

@ -4,7 +4,7 @@
-- configure a forward or downward facing lidar with a range of at least 5m
-- setup RCx_OPTION = 90 (EKF Pos Source) to select the source (low=GPS, middle=opticalflow, high=Not Used)
-- setup RCx_OPTION = 300 (Scripting1). When this switch is pulled high, the source will be automatically selected
-- SRC_ENABLE = 1 (enable scripting)
-- SCR_ENABLE = 1 (enable scripting)
-- setup EK3_SRCn_ parameters so that GPS is the primary source, opticalflow is secondary.
-- EK3_SRC1_POSXY = 3 (GPS)
-- EK3_SRC1_VELXY = 3 (GPS)

View File

@ -1,4 +1,4 @@
-- This script runs a custom arming check for index == 1 and it must be a takeoff missionn item
-- This script runs a custom arming check for index == 1 and it must be a takeoff mission item
local auth_id = arming:get_aux_auth_id()

View File

@ -1,7 +1,7 @@
--[[
add ALT_OFFSET parameter for copter
This behaves similarly to ALT_OFFSET in plane. It operators only in AUTO mode, and slews the BARO_ALT_OFFSET to allow
for change of altitude without mission change
This behaves similarly to ALT_OFFSET in plane. It operates only in AUTO mode, and slews the BARO_ALT_OFFSET to allow
for change of altitude without mission change.
--]]

View File

@ -1,4 +1,4 @@
-- move a servo in a sinisoidal fashion, with settable limits and frequency
-- move a servo in a sinusoidal fashion, with settable limits and frequency
local PARAM_TABLE_KEY = 135
local PARAM_TABLE_PREFIX = "STEST_"