You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2022. It is now read-only.
* show model cruise control button
* handle in update function
* model-based pos/speed targets for cruise mpc
New model: 09633f87-a95c-4dfd-9992-ffbaa97b269f/600
Whoops
Fixed some more stuff
longitudinal_planner.update on modelV2 update
Retuned MPC
Clip speed and position to v_cruise
* split MPCs that require different tuning
* clean up
* ui fixes
* fix for cereal
* update releases
Co-authored-by: mitchellgoffpc <mitchellgoffpc@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
self.model_t= [i**2/102.4foriinrange(33)] # the timesteps of the model predictions
52
-
self.mpc_t=list(range(10)) # the timesteps of what the LongMpcModel class takes in, 1 sec intervels to 10
53
-
self.model_t_idx= [sorted(range(len(self.model_t)), key=[abs(idx-t) fortinself.model_t].__getitem__)[0] foridxinself.mpc_t] # matches 0 to 9 interval to idx from t
54
-
assertlen(self.model_t_idx) ==10, 'Needs to be length 10 for mpc'
0 commit comments