Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions autonomous_vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from loss_functions import LossFunctions
from scipy import optimize
import pygame as pg
from scipy.interpolate import spline
#from scipy.interpolate import spline
from scipy.interpolate import make_interp_spline #updated by Yi
from scipy import stats
import time
import matplotlib.pyplot as plt
Expand Down Expand Up @@ -1062,4 +1063,4 @@ def dynamic(self, action_self): # Dynamic of cubic polynomial on velocity
A[np.tril_indices(N, 0)] = 1
predict_result_traj = np.matmul(A, predict_result_vel) + state_0

return predict_result_traj
return predict_result_traj