AP_Scripting: add is_landing and is_taking_off binding

This commit is contained in:
Tatsuya Yamaguchi 2023-05-19 11:55:56 +09:00 committed by Tom Pittenger
parent 797cb9c8e2
commit 7ebc2256bc
2 changed files with 10 additions and 0 deletions

View File

@ -2144,6 +2144,14 @@ function vehicle:nav_script_time() end
---@param hold_in_bootloader boolean
function vehicle:reboot(hold_in_bootloader) end
-- desc
---@return boolean
function vehicle:is_taking_off() end
-- desc
---@return boolean
function vehicle:is_landing() end
-- desc
---@class onvif
onvif = {}

View File

@ -277,6 +277,8 @@ singleton AP_Vehicle method set_velocity_match boolean Vector2f
singleton AP_Vehicle method set_land_descent_rate boolean float'skip_check
singleton AP_Vehicle method has_ekf_failsafed boolean
singleton AP_Vehicle method reboot void boolean
singleton AP_Vehicle method is_landing boolean
singleton AP_Vehicle method is_taking_off boolean
include AP_SerialLED/AP_SerialLED.h
singleton AP_SerialLED rename serialLED