mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 21:42:05 +08:00
Fix 0 init bug for acados lateral (#22225)
* this is needed somehow * new ref
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user