mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-08 10:38:44 +08:00
AP_Scripting: add binding for vehicle register_custom_mode
This commit is contained in:
1 parent
0fd497f203
commit
8bc5f797da
2 files changed
+8
No files matched your search
@@ -2826,6 +2826,13 @@ function vehicle:is_landing() end
|
||||
---@return boolean -- true on success
|
||||
function vehicle:set_crosstrack_start(new_start_location) end
|
||||
|
||||
-- Register a custom mode. This behaves like guided mode but will report with a custom number and name
|
||||
---@param number integer -- mode number to use, should be over 100
|
||||
---@param full_name string -- Full mode name
|
||||
---@param short_name string -- Short mode name upto 4 characters
|
||||
---@return boolean -- true if successful
|
||||
function vehicle:register_custom_mode(number, full_name, short_name) end
|
||||
|
||||
-- desc
|
||||
onvif = {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user