Fix 0 init bug for acados lateral (#22225)

* this is needed somehow

* new ref
pull/22010/head
HaraldSchafer 4 years ago committed by GitHub
parent 369c5d5bff
commit 0dc45eaf1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/controls/lib/lateral_planner.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -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

@ -1 +1 @@
a256ade033538eeead4f34ad7b12be25237ae443
d8ba159971afb46d9b936517d2911bb9d5cd3377
Loading…
Cancel
Save