Skip to content

Commit

Permalink
AP_Scripting: applet for Plane follow on a switch
Browse files Browse the repository at this point in the history
  • Loading branch information
timtuxworth committed Jun 1, 2024
1 parent 7fc2526 commit e60baf8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/AP_Scripting/docs/docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2349,7 +2349,7 @@ function vehicle:nav_scripting_enable(param1) end
---@return boolean -- success
function vehicle:set_desired_speed(param1) end

-- desc
-- desc set the guided mode radious and direction used for the final loiter at the target
---@return boolean
---@param radius float
---@param direction_is_ccw boolean
Expand Down Expand Up @@ -3306,7 +3306,7 @@ function follow:get_target_location_and_velocity_ofs() end
---@return Vector3f_ud|nil
function follow:get_target_location_and_velocity() end

-- desc
-- desc get distance vector to target (in meters) and target's velocity all in NED frame
---@return Vector3f_ud|nil
---@return Vector3f_ud|nil
---@return Vector3f_ud|nil
Expand All @@ -3321,12 +3321,12 @@ function follow:get_last_update_ms() end
function follow:have_target() end


-- desc
-- desc the SYSID of the follow target vehicle
---@return uint8_t_ud
function follow:get_target_sysid() end

-- desc
---@return float
-- desc returns the distance in meters to the target
---@return float
function follow:get_distance_to_target() end

-- desc
Expand Down

0 comments on commit e60baf8

Please sign in to comment.