Toyota: Increment by 5 km/h (5 mph) on long press (#22678)

* Allow 5km/h speed increments on Toyota

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d66f0fcc87
commatwo_master
cydia2020 4 years ago committed by GitHub
parent 9d65df9048
commit 02f6ca414a
  1. 2
      selfdrive/car/toyota/toyotacan.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -35,10 +35,10 @@ def create_accel_command(packer, accel, pcm_cancel, standstill_req, lead, acc_ty
"ACC_TYPE": acc_type,
"DISTANCE": 0,
"MINI_CAR": lead,
"ALLOW_LONG_PRESS": 3,
"PERMIT_BRAKING": 1,
"RELEASE_STANDSTILL": not standstill_req,
"CANCEL_REQ": pcm_cancel,
"ALLOW_LONG_PRESS": 1,
}
return packer.make_can_msg("ACC_CONTROL", 0, values)

@ -1 +1 @@
5b624879c952ec610c431564ebcd3d257d679015
94d3ebac800d4db32d2947ae81fe7969026f40a3
Loading…
Cancel
Save