AP_Scripting: AR_PosControl bindings

This commit is contained in:
Randy Mackay 2023-06-02 14:49:12 +09:00 committed by Andrew Tridgell
parent 5e3c0d4ead
commit 0fd87667e5
2 changed files with 12 additions and 0 deletions

View File

@ -2848,6 +2848,14 @@ AR_AttitudeControl = {}
---@return number -- spees slew rate ---@return number -- spees slew rate
function AR_AttitudeControl:get_srate() end 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 -- desc
---@class follow ---@class follow
follow = {} follow = {}

View File

@ -603,6 +603,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 depends APM_BUILD_TYPE(APM_BUILD_Rover)
singleton AR_AttitudeControl method get_srate void float'Ref float'Ref 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 include AP_Mount/AP_Mount.h
singleton AP_Mount depends HAL_MOUNT_ENABLED == 1 singleton AP_Mount depends HAL_MOUNT_ENABLED == 1
singleton AP_Mount rename mount singleton AP_Mount rename mount