mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: Add bindings for jump to landing and abort in the mission
This commit is contained in:
parent
689a5c7b52
commit
ae256b168e
|
@ -1799,6 +1799,14 @@ function mission:get_index_of_jump_tag(tag) end
|
|||
function mission:get_last_jump_tag() end
|
||||
|
||||
|
||||
-- Jump the mission to the start of the closest landing sequence. Returns true if one was found
|
||||
---@return boolean
|
||||
function mission:jump_to_landing_sequence() end
|
||||
|
||||
-- Jump to the landing abort sequence
|
||||
-- @return boolean
|
||||
function mission:jump_to_abort_landing_sequence() end
|
||||
|
||||
-- desc
|
||||
---@class param
|
||||
param = {}
|
||||
|
|
|
@ -485,6 +485,8 @@ singleton AP_Mission method cmd_has_location boolean uint16_t'skip_check
|
|||
singleton AP_Mission method jump_to_tag boolean uint16_t 0 UINT16_MAX
|
||||
singleton AP_Mission method get_index_of_jump_tag uint16_t uint16_t 0 UINT16_MAX
|
||||
singleton AP_Mission method get_last_jump_tag boolean uint16_t'Null uint16_t'Null
|
||||
singleton AP_Mission method jump_to_landing_sequence boolean
|
||||
singleton AP_Mission method jump_to_abort_landing_sequence boolean
|
||||
|
||||
|
||||
userdata mavlink_mission_item_int_t depends AP_MISSION_ENABLED
|
||||
|
|
Loading…
Reference in New Issue