mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-08 10:38:44 +08:00
AP_Scripting: new scripting bindings get_roll_rad
deprecate the old get_roll binding
This commit is contained in:
1 parent
f3a3c32885
commit
fa899c14cc
2 files changed
+21
-3
No files matched your search
@@ -3785,16 +3785,31 @@ function ahrs:get_position() end
|
||||
|
||||
-- Returns the current vehicle euler yaw angle in radians.
|
||||
---@return number -- yaw angle in radians.
|
||||
---@deprecated -- get_yaw_rad
|
||||
function ahrs:get_yaw() end
|
||||
|
||||
-- Returns the current vehicle euler pitch angle in radians.
|
||||
---@return number -- pitch angle in radians.
|
||||
---@deprecated -- get_pitch_rad
|
||||
function ahrs:get_pitch() end
|
||||
|
||||
-- Returns the current vehicle euler roll angle in radians.
|
||||
---@return number -- roll angle in radians
|
||||
---@deprecated -- get_roll_rad
|
||||
function ahrs:get_roll() end
|
||||
|
||||
-- Returns the current vehicle euler yaw angle in radians.
|
||||
---@return number -- yaw angle in radians (0 to 2*Pi).
|
||||
function ahrs:get_yaw_rad() end
|
||||
|
||||
-- Returns the current vehicle euler pitch angle in radians.
|
||||
---@return number -- pitch angle in radians.
|
||||
function ahrs:get_pitch_rad() end
|
||||
|
||||
-- Returns the current vehicle euler roll angle in radians.
|
||||
---@return number -- roll angle in radians
|
||||
function ahrs:get_roll_rad() end
|
||||
|
||||
-- desc
|
||||
AC_AttitudeControl = {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user