AP_Scripting: added vehicle:reboot() binding

This commit is contained in:
Andrew Tridgell 2023-03-23 14:22:45 +11:00
parent 4141dd5bbe
commit 19a46fff0f
2 changed files with 5 additions and 0 deletions

View File

@ -1938,6 +1938,10 @@ function vehicle:nav_script_time_done(param1) end
---@return number|nil ---@return number|nil
function vehicle:nav_script_time() end function vehicle:nav_script_time() end
-- desc
---@param hold_in_bootloader boolean
function vehicle:reboot(hold_in_bootloader) end
-- desc -- desc
---@class onvif ---@class onvif
onvif = {} onvif = {}

View File

@ -276,6 +276,7 @@ singleton AP_Vehicle method nav_scripting_enable boolean uint8_t'skip_check
singleton AP_Vehicle method set_velocity_match boolean Vector2f 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 set_land_descent_rate boolean float'skip_check
singleton AP_Vehicle method has_ekf_failsafed boolean singleton AP_Vehicle method has_ekf_failsafed boolean
singleton AP_Vehicle method reboot void boolean
include AP_SerialLED/AP_SerialLED.h include AP_SerialLED/AP_SerialLED.h
singleton AP_SerialLED rename serialLED singleton AP_SerialLED rename serialLED