diff --git a/libraries/AP_Scripting/docs/docs.lua b/libraries/AP_Scripting/docs/docs.lua index bb953353cb..d1242a0f2b 100644 --- a/libraries/AP_Scripting/docs/docs.lua +++ b/libraries/AP_Scripting/docs/docs.lua @@ -2631,6 +2631,14 @@ AR_AttitudeControl = {} ---@return number -- spees slew rate function AR_AttitudeControl:get_srate() end +-- desc +---@class AR_PosControl +AR_PosControl = {} + +-- return position controller slew rates for rovers +---@return number -- velocity slew rate +function AR_PosControl:get_srate() end + -- desc ---@class follow follow = {} diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index 7e733eb1d8..227a78ffc1 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -595,6 +595,10 @@ include APM_Control/AR_AttitudeControl.h depends APM_BUILD_TYPE(APM_BUILD_Rover) singleton AR_AttitudeControl depends APM_BUILD_TYPE(APM_BUILD_Rover) singleton AR_AttitudeControl method get_srate void float'Ref float'Ref +include APM_Control/AR_PosControl.h depends APM_BUILD_TYPE(APM_BUILD_Rover) +singleton AR_PosControl depends APM_BUILD_TYPE(APM_BUILD_Rover) +singleton AR_PosControl method get_srate void float'Ref + include AP_Mount/AP_Mount.h singleton AP_Mount depends HAL_MOUNT_ENABLED == 1 singleton AP_Mount rename mount