mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: add support for can_printf in lua
This commit is contained in:
parent
7f5dc33e7e
commit
39b771c3a9
|
@ -742,6 +742,9 @@ function periph:get_vehicle_state() end
|
|||
---@return number
|
||||
function periph:get_yaw_earth() end
|
||||
|
||||
-- desc
|
||||
---@param text string
|
||||
function periph:can_printf(text) end
|
||||
|
||||
-- desc
|
||||
---@class ins
|
||||
|
|
|
@ -473,6 +473,7 @@ singleton AP_Periph_FW depends defined(HAL_BUILD_AP_PERIPH)
|
|||
singleton AP_Periph_FW alias periph
|
||||
singleton AP_Periph_FW method get_yaw_earth float
|
||||
singleton AP_Periph_FW method get_vehicle_state uint32_t
|
||||
singleton AP_Periph_FW method can_printf void "%s"'literal string
|
||||
|
||||
include AP_Motors/AP_Motors_Class.h depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
||||
singleton AP::motors() depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
|
||||
|
|
Loading…
Reference in New Issue