Fix 0 init bug for acados lateral (#22225)

* this is needed somehow

* new ref
pull/22010/head
HaraldSchafer 2021-09-13 21:23:22 -07:00 committed by GitHub
parent 369c5d5bff
commit 0dc45eaf1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class LateralPlanner():
self.y_pts = np.zeros(TRAJECTORY_SIZE)
self.lat_mpc = LateralMpc()
self.reset_mpc()
self.reset_mpc(np.zeros(6))
def reset_mpc(self, x0=np.zeros(6)):
self.x0 = x0

View File

@ -1 +1 @@
a256ade033538eeead4f34ad7b12be25237ae443
d8ba159971afb46d9b936517d2911bb9d5cd3377