diff --git a/src/navigation_model/visualization/video.py b/src/navigation_model/visualization/video.py index 60176c9..21c4a6c 100644 --- a/src/navigation_model/visualization/video.py +++ b/src/navigation_model/visualization/video.py @@ -100,8 +100,8 @@ def update(dt): # x_end_pnt = all_x[dt-1] # y_end_pnt = all_y[dt-1] - x_end_pnt = all_x[max(dt-1, 0)] - y_end_pnt = all_y[max(dt-1, 0)] + x_end_pnt = [all_x[max(dt-1, 0)]] + y_end_pnt = [all_y[max(dt-1, 0)]] ln.set_data(x, y) ln_end.set_data(x_end, y_end)