From 484219bc4946f97ffe5a6d117e2fc1a9ba849d35 Mon Sep 17 00:00:00 2001 From: Tim Tuxworth Date: Sat, 14 Sep 2024 12:53:09 -0600 Subject: [PATCH] AP_Scripting: Scripted follow in Plane --- libraries/AP_Scripting/docs/docs.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libraries/AP_Scripting/docs/docs.lua b/libraries/AP_Scripting/docs/docs.lua index 32f460eb74c6d7..401e7b34738aa2 100644 --- a/libraries/AP_Scripting/docs/docs.lua +++ b/libraries/AP_Scripting/docs/docs.lua @@ -3482,7 +3482,7 @@ singleton AP_Follow method get_target_sysid uint8_t ---@return float function follow:get_distance_to_target() end --- desc +-- get target's heading in degrees (0 = north, 90 = east) ---@return number|nil function follow:get_target_heading_deg() end @@ -3505,14 +3505,14 @@ function follow:get_last_update_ms() end function follow:have_target() end -- combo function returning all follow values calcuted in a cycle ----@return Vector3f_ud|nil -- distance to the target ----@return Vector3f_ud|nil -- distance to the target with offsets ----@return Vector3f_ud|nil -- proposed velocity of the target ----@return Vector3f_ud|nil -- proposed velocity of the target with offsets ----@return Location_ud|nil -- location of the target ----@return Location_ud|nil -- location of the target with offsets ----@return number|nil -- distance to the target in meters ----@return number|nil -- heading to the target with offsets in degrees +---@return dist_ned Vector3f_ud|nil -- distance to the target +---@return dist_with_offs Vector3f_ud|nil -- distance to the target with offsets +---@return target_vel_ned Vector3f_ud|nil -- proposed velocity of the target +---@return target_vel_ned_ofs Vector3f_ud|nil -- proposed velocity of the target with offsets +---@return target_loc Location_ud|nil -- location of the target +---@return target_loc_ofs Location_ud|nil -- location of the target with offsets +---@return target_dist_ofs number|nil -- distance to the target in meters +---@return target_heading_ofs_deg number|nil -- heading to the target with offsets in degrees function follow:get_target_info() end -- desc