From 5cc7e7798b40bc125a8600a9c04553df8e354fa8 Mon Sep 17 00:00:00 2001 From: Tim Tuxworth Date: Sat, 14 Sep 2024 13:05:38 -0600 Subject: [PATCH] AP_Scripting: Scripted follow in Plane --- libraries/AP_Scripting/docs/docs.lua | 4 ---- libraries/AP_Scripting/generator/description/bindings.desc | 2 -- 2 files changed, 6 deletions(-) diff --git a/libraries/AP_Scripting/docs/docs.lua b/libraries/AP_Scripting/docs/docs.lua index 401e7b34738aa2..7aaf5c0d530f93 100644 --- a/libraries/AP_Scripting/docs/docs.lua +++ b/libraries/AP_Scripting/docs/docs.lua @@ -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 diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index b93892c0b12679..ab0d0ef7e941bc 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -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)