mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 12:14:10 -04:00
AP_Scripting: added get_att_error_angle_deg binding for AC_AttitudeControl
This commit is contained in:
parent
54b0085f09
commit
1a43a4840f
@ -3737,6 +3737,10 @@ AC_AttitudeControl = {}
|
||||
---@return number -- yaw slew rate
|
||||
function AC_AttitudeControl:get_rpy_srate() end
|
||||
|
||||
-- Return the angle between the target thrust vector and the current thrust vector in degrees.
|
||||
---@return number -- attitude error
|
||||
function AC_AttitudeControl:get_att_error_angle_deg() end
|
||||
|
||||
-- desc
|
||||
AR_AttitudeControl = {}
|
||||
|
||||
|
@ -763,6 +763,7 @@ singleton AC_PrecLand method get_target_location boolean Location'Null
|
||||
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 method get_rpy_srate void float'Ref float'Ref float'Ref
|
||||
singleton AC_AttitudeControl method get_att_error_angle_deg float
|
||||
|
||||
include AC_AttitudeControl/AC_PosControl.h depends APM_BUILD_COPTER_OR_HELI
|
||||
singleton AC_PosControl depends APM_BUILD_COPTER_OR_HELI
|
||||
|
Loading…
Reference in New Issue
Block a user