AP_Scripting: fixes trick announcements on 2nd run in plane_aerobastics.lua

thanks to Henry for finding this!
This commit is contained in:
Andrew Tridgell 2023-10-23 08:24:40 +11:00
parent 2ec87690b3
commit 13d5668fad

View File

@ -2434,6 +2434,8 @@ function do_path()
path_var.ss_angle_filt = 0.0
path_var.last_rate_override = 0
path.highest_i = 0
-- get initial tangent
local p1, _ = rotate_path(path, path_var.path_t + 0.1/(path_var.total_time*LOOP_RATE),
path_var.initial_ori, path_var.initial_ef_pos)