AP_Scripting: AR_PosControl bindings

This commit is contained in:
Randy Mackay 2023-06-02 14:49:12 +09:00
parent 1a7595611d
commit 25b27b5b68
2 changed files with 12 additions and 0 deletions

View File

@ -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 = {}

View File

@ -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