Skip to content

Commit

Permalink
AP_Scripting: Scripted follow in Plane
Browse files Browse the repository at this point in the history
  • Loading branch information
timtuxworth committed Sep 14, 2024
1 parent 484219b commit 5cc7e77
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions libraries/AP_Scripting/docs/docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3478,10 +3478,6 @@ function follow:have_target() end
function follow:get_target_sysid() end
singleton AP_Follow method get_target_sysid uint8_t

-- get horizontal distance to target (including offset) in meters (for reporting purposes)
---@return float
function follow:get_distance_to_target() end

-- get target's heading in degrees (0 = north, 90 = east)
---@return number|nil
function follow:get_target_heading_deg() end
Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_Scripting/generator/description/bindings.desc
Original file line number Diff line number Diff line change
Expand Up @@ -736,11 +736,9 @@ singleton AP_Follow depends AP_FOLLOW_ENABLED && (APM_BUILD_TYPE(APM_BUILD_ArduP
singleton AP_Follow rename follow
singleton AP_Follow method have_target boolean
singleton AP_Follow method get_target_sysid uint8_t
singleton AP_Follow method get_distance_to_target float
singleton AP_Follow method get_last_update_ms uint32_t
singleton AP_Follow method get_target_location_and_velocity boolean Location'Null Vector3f'Null
singleton AP_Follow method get_target_location_and_velocity_ofs boolean Location'Null Vector3f'Null
singleton AP_Follow method get_target_dist_and_vel_ned boolean Vector3f'Null Vector3f'Null Vector3f'Null
singleton AP_Follow method get_target_heading_deg boolean float'Null
singleton AP_Follow method get_target_info boolean Vector3f'Null Vector3f'Null Vector3f'Null Vector3f'Null Location'Null Location'Null float'Null float'Null
singleton AP_Follow method get_target_info depends APM_BUILD_TYPE(APM_BUILD_ArduPlane)
Expand Down

0 comments on commit 5cc7e77

Please sign in to comment.