mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
@@ -196,7 +196,7 @@ class CarController():
|
||||
clip(CS.out.vEgo + accel/2.0 - 2.0, 0.0, 100.0),
|
||||
clip(CS.out.vEgo + accel/2.0 + 2.0, 0.0, 100.0),
|
||||
clip(CS.out.vEgo + 5.0, 0.0, 100.0)]
|
||||
pcm_speed = interp(-brake, pcm_speed_BP, pcm_speed_V)
|
||||
pcm_speed = interp(gas-brake, pcm_speed_BP, pcm_speed_V)
|
||||
|
||||
if not CS.CP.openpilotLongitudinalControl:
|
||||
if (frame % 2) == 0:
|
||||
|
||||
Reference in New Issue
Block a user