AP_Scripting: added get_rpy_srate binding

and remove dmod binding
This commit is contained in:
Andrew Tridgell 2022-04-30 19:25:52 +10:00
parent 99a6cb69f8
commit 77a985182c
2 changed files with 6 additions and 7 deletions

View File

@ -1963,11 +1963,11 @@ function ahrs:get_roll() end
---@class AC_AttitudeControl ---@class AC_AttitudeControl
AC_AttitudeControl = {} AC_AttitudeControl = {}
-- return PD modifier for VTOL controller -- return slew rates for VTOL controller
---@return number -- roll PDmod ---@return number -- roll slew rate
---@return number -- pitch PDmod ---@return number -- pitch slew rate
---@return number -- yaw PDmod ---@return number -- yaw slew rate
function AC_AttitudeControl:get_rpy_PDmod() end function AC_AttitudeControl:get_rpy_srate() end
-- desc -- desc
---@class follow ---@class follow

View File

@ -509,5 +509,4 @@ singleton AP_Follow method get_target_heading_deg boolean float'Null
include AC_AttitudeControl/AC_AttitudeControl.h depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI include AC_AttitudeControl/AC_AttitudeControl.h depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
singleton AC_AttitudeControl depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI singleton AC_AttitudeControl depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)||APM_BUILD_COPTER_OR_HELI
singleton AC_AttitudeControl method get_rpy_PDmod void float'Ref float'Ref float'Ref singleton AC_AttitudeControl method get_rpy_srate void float'Ref float'Ref float'Ref