mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Scripting: Typo fixes
This commit is contained in:
parent
bc80358e9b
commit
9df4796b70
@ -45,5 +45,5 @@ Motors_dynamic:load_factors(factors)
|
|||||||
|
|
||||||
motors:set_frame_string("Dynamic example")
|
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
|
-- see 'protected_call.lua' example
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
-- configure a forward or downward facing lidar with a range of at least 5m
|
-- 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 = 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
|
-- 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.
|
-- setup EK3_SRCn_ parameters so that GPS is the primary source, opticalflow is secondary.
|
||||||
-- EK3_SRC1_POSXY = 3 (GPS)
|
-- EK3_SRC1_POSXY = 3 (GPS)
|
||||||
-- EK3_SRC1_VELXY = 3 (GPS)
|
-- EK3_SRC1_VELXY = 3 (GPS)
|
||||||
|
@ -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()
|
local auth_id = arming:get_aux_auth_id()
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
--[[
|
--[[
|
||||||
add ALT_OFFSET parameter for copter
|
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
|
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
|
for change of altitude without mission change.
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
|
||||||
|
@ -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_KEY = 135
|
||||||
local PARAM_TABLE_PREFIX = "STEST_"
|
local PARAM_TABLE_PREFIX = "STEST_"
|
||||||
|
Loading…
Reference in New Issue
Block a user