Commit Graph

905 Commits

Author SHA1 Message Date
Jason Young 8dff553951 VW MQB: Switch to comfort blinker signal (#21253)
* Switch to comfort blinker signal

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f86f344ba506c037893c4c796c047da64a95d307
2021-06-13 22:21:23 -07:00
Adeeb Shihadeh ff875ae2df Fix Honda Accord transmission type detection (#21247)
old-commit-hash: af8d4176271c0ecc972d1e8d437aa1707abaf5d1
2021-06-12 20:52:50 -07:00
Jason Young ddf43ae288 VW MQB: Škoda Octavia RS Mk3 (#21230)
* Add 2016 Skoda Octavia RS (derflo000)

* Autogratitude
old-commit-hash: 9ad129fd5ff9ea314266e2f34ad40ddd40d60dfc
2021-06-11 13:55:51 -07:00
ShaneSmiskol 0ba3c1ada3 2020 Ioniq PHEV Support (#21147)
* use DriverOverride

* keep using EMS16 msg which is available on manuals, TCS13 is not

* Need to differentiate between hybrid ev and ev

* bump opendbc

* add to release files

* try this

* try this

* fixup

* shouldn't need multiple dbc's

* update comments

* combine phev into ev_hybrid

* clean up

* accel_pedal_pos is a percent

* bump

* bump

* update list name

* do this in another PR

* not 2020+

* explicitly set safety param

* full hyundai gas press test coverage

* bump

* bump

* bump

* bump

* like this convention better

* bump

* revert some null gas_signal changes for now

* revert style change

* Add Ioniq PHEV 2020

* Use appropriate signals

* can't verify this to be true

* defaults

* order should really be opposite...

* original style

* bump panda

* bump

* update releases

* bump panda

* Update test route

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e7df9adfe3fef777d4ec1143c758ca0501185130
2021-06-10 23:25:02 -07:00
Jason Young 7ee5bebe5c VW MQB: Add FW for 2020 Volkswagen Tiguan (#21222)
old-commit-hash: fd397f039d5e46babc8b73cc34595474354162e8
2021-06-10 17:14:30 -07:00
jhlee111 5d7143daee Adding firmware for 2021 Honda CRV Touring (#21211)
* Adding firmware for 2021 Honda CRV Touring

* Update selfdrive/car/honda/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 4fc48834a42ce96859079de9f69e0f13f773ea4a
2021-06-10 13:07:11 +02:00
nepro012 ad5e5a354a added Hyundai Veloster 2020 FPv2 (#21203)
* added Hyundai Veloster 2020 FPv2

* added Hyundai Veloster 2020 FPv2

* revert addition of year information on hyundai/values.py
old-commit-hash: 579567102a83b3669a95a491c51da2b1b88bb12a
2021-06-09 14:10:49 +02:00
Nick Eneboe 0421b1c244 Fingerprint for Lexus NX Hybrid 2019 (#21198)
* added Lexus NX Hybrid 2019 engine fw version and included car in readme

* remove 2019 from CAR name in values.py
old-commit-hash: 6e32b13613ad5e44b4d28a4758ccc2aee106e57f
2021-06-08 13:30:56 -07:00
Cruise Brantley 77867519a5 Add Hyundai Santa Fe 2020 fw versions (#21161)
* updated values for 2020

* removed duplicate esp value
old-commit-hash: 22b1db8af0be3ccd84ef30f6e1506a96c03488ba
2021-06-07 23:47:35 -07:00
Camilo Lozano 674f052647 Add Hyundai Sonata N-Line 2021 fw versions (#21182)
old-commit-hash: 5dbf1c1e280b45a2e8a7a49b965d044fe7d261e0
2021-06-07 22:52:09 -07:00
speedking456 b0eef5223a Add Kia Seltos fw (#21179)
* Kia Seltos updated fingerprint

* updated fpv2

dongle: c75a59efa0ecd502
old-commit-hash: f5d9ddc6c2a2802a61e5ce590c6b6688bf736a69
2021-06-07 17:31:28 -07:00
CrispinFlowerday 4f02e178db Subaru: show LDW on dash for correct lane (#20934)
* Emit correct alerts for LDW Left & Right on Subarus

This change switches the ldw event to use VisualAlert.ldw and
alters all cars to use the prior behaviour for that alert, except
global subarus - they emit the correct warning to the dash

* Remove whitespace, and add comment about not overwriting stock alerts

Co-authored-by: Crispin Flowerday <crispin@theflowerdays.com>
old-commit-hash: 7458e143e3c0123a95680b0b2db6c7a1f94405fa
2021-06-07 15:06:28 -07:00
Adeeb Shihadeh 5dfc430d47 startup alert for no fw returned (#21177)
old-commit-hash: d4ab1f1e274bc5e36b47fb9e6f76a977e04d1f1a
2021-06-07 14:15:09 -07:00
Jason Young 6d9702f5bb VW MQB: Audi Q2 Mk1 (#21165)
* Add 2018 Audi Q2 (breckler)

* Update README

* Add test route

* Summarized autogratitude

* Revert "Summarized autogratitude"

This reverts commit e308e2afc1f4020528e1643f5da4976715a366da.
old-commit-hash: db83cd7f844e225f2b79d6a4e81c877351ffc135
2021-06-07 01:34:22 -07:00
jma0 2e70df44ef VW MQB: Add FW for 2019 Volkswagen Golf SE (#21154)
old-commit-hash: 4488df8d1fad8f2567942af07fcfebc17771751e
2021-06-06 16:21:16 -07:00
Jafar Al-Gharaibeh 67f6bb5c9b Add Mazda 6 and new FW for other models (#21167)
* Add support for Mazda6

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* New FWs and Mazda 6 test route

Change Mazda to MAZDA
Mazda6 test route
CX-5 2018 FW
CX-5 2019 Australia FW
CX-9 2016 FW
Mazda3 2014 FW

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 56fbf66c20d71ec53301f2297d88850964dfbf8b
2021-06-06 14:40:57 -07:00
Jason Young c100542359 VW MQB: Add FW for 2014 SEAT Leon (#21166)
* Add FW for 2014 SEAT Leon (loetkolben)

* Update README

* Update RELEASES

* revert

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 30b6c1b506b4679bc213b1b51d7d81a3b950d4fb
2021-06-06 14:32:50 -07:00
Jason Young 8552c3facd VW MQB: Fix bug with HCA state handling (#21104)
* Improved HCA state and fault handling

* Apparently opendbc does an upper() on everything

* Update EPS HCA init state

* Make initial state "ready"
old-commit-hash: 3a2893f11a7f40277ab21d7e70145d4900c0b532
2021-06-04 19:12:42 -07:00
Willem Melching 6815c68da8 add FW versions
old-commit-hash: 72199e60d38f16076acabfee5fec21553cffefad
2021-06-04 10:37:00 +02:00
Greg Hogan 3aa62de356 hyundai: disable steering on all steer warnings (#20657)
* hyundai: set CF_Lkas_ToiFlt for wind down

* hyundai: disable steering on all steer warnings

* Revert "hyundai: set CF_Lkas_ToiFlt for wind down"

This reverts commit 065f0a996db9e52511013c7011ed95876966d134.

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6e300aaf571acf0a61e946d793cd216bceca79b0
2021-06-03 15:34:25 -07:00
Adeeb Shihadeh c40fb813e3 Remove unused CAN fingerprints (#21124)
* toyota

* honda
old-commit-hash: 66d01bd847c60d524fc32eabee859fc3af3a1900
2021-06-03 15:22:40 -07:00
ShaneSmiskol a830c71a03 Toyota: Only use gas interceptor under 19 mph (#21101)
* pedal improvements

* pedal tuning under 19 mph, stock tuning above

* Correctly set tuning, and a temporary reference script

* looking good

* use minEnableSpeed

* minEnableSpeed will always be -1 if pedal since it's used for lockout

* add hysteresis around 19 mph for enabling pedal use

* parameterize minAccSpeed (enable speed is -1 when stop and go to allow engage, acc is min limit for acc commands)

* fix Prius later, 5 mph gap around switch speed

* define min_acc_speed in interface and CC

* use pedal gains up to 22 mph, and correctly use hysteresis above the switch speed

* only check this if pedal

* consolidate comment

* Change BP to switch tuning at 19 mph, define global constant

* Start at interceptor status

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* update releases

* typo

* transition tuning from 19 to +3 mph

* change cmd names and update tuning comment

* Update RELEASES.md

* calculate new pedal gains

* little more clear

* even clearer

* same comment convention and hardcode new pedal tune

* bump cereal

* weird, got added in with the rebase

* three possible long tunings: pedal, improved non-pedal, and default non-pedal

* update refs

* future note: don't add submodules when rebasing!

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ebc294296aa17a5aabeb9d1bb6f9cc38970173ba
2021-06-03 15:11:10 -07:00
ShaneSmiskol 15a4851969 Use hyundaiLegacy safety model for Hyundai Elantra (#21108)
old-commit-hash: bf0e0ae00b5ee24d96e10518cde11a29bd0f951e
2021-06-03 13:48:54 -07:00
ShaneSmiskol eca70237fd Merge Accord trims (#21105)
* Merge unique Accord 1.5 fw versions

* remove all instances of ACCORD_15

* bump opendbc and update dbcs

* Switch between gearbox messages by detecting presence of gearbox msg

* both accord (2t) and accord hybrid use the same gearbox, 1.5t is the outlier

* default to GEARBOX

* add old name to migration

* bump opendbc

* update refs

* change msg name, bump cereal

* Update selfdrive/test/test_routes.py

* update ref

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e9e197eb3c5f3714134ebfc104c2e4523fe57177
2021-06-03 13:35:23 -07:00
Josh Smith 2cae3a3799 Add type hints, small cleanups (#21080)
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl

* unpack more efficiently

* minor improvements

* agnos.py match spec better

* manual_ctrl test missing queue arg

* fix incorrect type annotation

* queues are generic

* varname reuse resulting in incorrect type inference

* bytes().hex() rather than bytes.hex(bytes())

* a bit of type hinting stuff
old-commit-hash: 77321dbac4ebfedf9cb5e9085e16055346299749
2021-06-03 12:21:04 +02:00
Cruise Brantley 32139ae377 Update Elantra 2021 FPv2 values (#21069)
* Updates to fpv2 values

* Removed x00 changes

* Update incorrect value

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Remove possible incorrect duplicate value

Co-authored-by: Willem Melching <willem.melching@gmail.com>

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 8220056252f4473ef19b85f6c25d1417c7d53323
2021-06-03 11:31:18 +02:00
Adeeb Shihadeh d1422c20fc Honda: cleanup enable logic (#20749)
old-commit-hash: a69e1715d4daa1eea41d15764a763d082e249235
2021-06-03 01:49:33 -07:00
Jason Young fd9763b810 VW MQB: Add FW for 2017 Volkswagen Golf R (#21110)
old-commit-hash: fcc68d2a741717dc7a6a6e02a6dfcbf099dd6e29
2021-06-02 10:43:28 -07:00
Jason Young 51db9216f2 Cleanup carstate quoting styles (#21109)
* carstate quoting style: VW

* carstate quoting style: Chrysler

* carstate quoting style: Ford

* carstate quoting style: GM

* carstate quoting style: Honda

* carstate quoting style: Hyundai

* carstate quoting style: Mazda

* carstate quoting style: Nissan

* carstate quoting style: Subaru

* carstate quoting style: Soulless Appliances

* Sorry Honda!
old-commit-hash: 83ca5a0d29a5befa210f60a60e25029cadf30930
2021-06-02 15:51:54 +02:00
Adeeb Shihadeh 31a1fd79bf Kona EV: send LFA MFA message (#20320)
old-commit-hash: 9740052378dcec3d07bc0e8ccebc7aa18d478df3
2021-06-01 18:11:46 -07:00
Adeeb Shihadeh c774eb6b64 fix missing semicolon
old-commit-hash: 21835822168d82dfdc82873bc488c0cfa89bae5b
2021-06-01 15:58:26 -07:00
Robert Hanna f7a928ace3 Add LEXUS_ESH_TSS2 to improved longitudinal tune (#21016)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6d8c9858013e65758e1641b7c52c22d307fbc704
2021-06-01 15:52:16 -07:00
Erich Moraga 76f49342b4 Add several missing PILOT_2019 f/w (#21097)
* Add several missing PILOT_2019 f/w

`@Abu ali#8344` 2019 Honda Pilot DongleID/route 1631748f51929063|2021-05-30--00-12-43

* Update selfdrive/car/honda/values.py

Ah yeah, got distracted ;-)

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Properly sorted the f/w

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 43fd045a3ecce82bf4bc4f2be9b58f15da87c80f
2021-06-01 15:47:09 -07:00
Adeeb Shihadeh 7ac7ec2094 Merge Lexus UXH into TSS2 Corolla Hybrid (#21100)
old-commit-hash: 2680537b4bf8f169b0233b88525e9fa8ee85a70f
2021-06-01 14:56:53 -07:00
jbates9011 7bf71a3e3d Car Port: Toyota Avalon Hybrid 2019 (#21082)
* Add 2019 Avalon Hybrid

* Rename variable

* Update values.py

Remove AVALONH fingerprint due to pending deprecation

* Add Avalon Hybrid 2019

* Add Avalon Hybrid 2019

* Update test_routes.py for Avalon Hybrid 2019

Co-authored-by: ShaneSmiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 909b848fa3a60322112ed5c96fc4b0e0aa15088e
2021-06-01 14:51:28 -07:00
ShaneSmiskol 1735252c7d Split Avalon 2016-18 and Avalon 2019+ (#21058)
* start to separate Avalon 2019+

* reverts #20824 (2020)...

and removes fw from a 2020 avalon

* revert 2020 fw from #20241

* revert 2021 fw from #19790

* bump opendbc, add smartDsu

* Add only removed fw from listed PRs above and from jryan's 2020

* bump opendbc to master

* comment out any non-original avalon fw

* new fw

* these 2016 (5 byte EPS_STATUS msg) Avalon fws are correct. comment out any 2019+ fw I haven't seen yet

* Add to release files

* these are good too

* nothing on 7e0 yet

* both have their engines on one address

* validated remaining fws! some from adeeb's, chris's, and kumar's PRs

* Add test route for Avalon 2019

* horrible

* Duplicate

* use nodsu dbc. Only difference is the addition of some signals that don't work, and max of BRAKE_PRESSURE is different

* Enablem 2019 Avalon test route
old-commit-hash: 07e4129edc5ebb870037c1a44d8a33a2faf8a98a
2021-06-01 12:41:24 -07:00
Jason Young 724323293e VW MQB: Add FW for 2015 Audi A3 (#21095)
* Add FW for 2015 Audi A3 (iamhtoo)

* Maintain sorting

* Maintain sorting
old-commit-hash: b12637d782e9c6de4db5065374406439e0739453
2021-06-01 18:11:02 +02:00
speedking456 9ffbacdae9 Add Kia Seltos fw versions (#21073)
old-commit-hash: 1a94a2cc8fc5449fbafd038b9fe5a0ca58accfe0
2021-05-30 17:03:16 -07:00
Jason Young 3355bc1381 VW MQB: Add FW for 2017 SEAT Leon (#21077)
* Add FW for 2017 SEAT Leon (fodys)

* Extend Leon MY range in README and RELEASES
old-commit-hash: 9b213538cf92c8ece59e30fb49b4e053e8b13017
2021-05-30 13:44:07 -07:00
Jason Young 2531599813 VW MQB: SEAT Leon Mk3 (#21048)
* Add 2020 SEAT Leon (exclamation point ai)

* Add SEAT Leon to README

* Fix Leon model-year

* Add SEAT Leon test route

* thanks me!
old-commit-hash: 34b6c56021c2bc83971c8bd113913c280e24a69c
2021-05-28 13:53:50 -07:00
Jason Young bf9a2704f6 VW MQB: Add FW for 2018 Volkswagen Atlas (#21068)
old-commit-hash: 0c89ad98e5ea3d6226f63e46dc807e7c9d73a625
2021-05-28 11:45:53 -07:00
Willem Melching 921aa1f0a4 Mazda: remove CAN fingerprints (#21067)
old-commit-hash: 0f13a80e0bcad505c7ba4aadf8c3cd36449f505f
2021-05-28 16:53:12 +02:00
Jafar Al-Gharaibeh f108d93bc0 Mazda FP 2.0 support (#20879)
* Mazda FP 2.0 support

ECU FW for CX-5 2017 and Mazda3 2017

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Use standard UDS request/reponse, fix missing arg.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add CX-5 FW test

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* update/add FW FP

Current suported models:
  CX-5 2017/2021
  CX-9 2019/2020
  Mazda3 2017/2018

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Add Cx-9 2019 FW FP

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Remove comments, remove TESTER_PRESENT_REQUEST from Mazda

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* add transmission ecu to startup test

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 824f93303d95695a761d10a00b0e9547274db6a9
2021-05-28 15:50:58 +02:00
Ewan e03be02f37 2019 Nissan Altima fingerprint (#20969)
* Update values.py

Add 2019 Altima support (may be specific to VC-Turbo model, do not have NA model to compare to)

* Update README.md

Add 2019 altima

* Update values.py

Combine fingerprint of 2020 + 2019

* Update values.py

* Update values.py

Sort fingerprint values numerically by key
old-commit-hash: a844c60f145447a35fbdafc3872a68ab8a3168ab
2021-05-26 17:54:44 -07:00
Jason Young f86abe47ce VW MQB: Škoda Octavia Mk3 (#21013)
* Add Skoda Octavia (cben, Saber422)

* Add Skoda Octavia to README

* Add to test_routes.py

* Remove non-viable test route

* Add test route for Octavia
old-commit-hash: 4de1655d20160f189181fe9f292b40d9e045061f
2021-05-26 17:08:33 -07:00
Jason Young 24a9b9248c Update CI tests for CAN fingerprinting deprecation (#21043)
* Start refactor of CI tests for FPv1 deprecation

* Fix test_car_interfaces

* Touch up comment

* Smaller diff
old-commit-hash: 182b00896c7c49dc18ee100fdb3cb7128f1dd5ea
2021-05-26 14:02:42 -07:00
Adeeb Shihadeh d67b194790 chrysler pacifica 2020 fingerprint values
old-commit-hash: c736b7e5bb928b42c22a9acf0fb33ff43ae3c0cc
2021-05-25 14:23:05 -07:00
dingyf12593 12a114dd6c VW MQB: Add FW values for 2018 Volkswagen Golf (#21020)
old-commit-hash: a6cfe9043672df66e78a6e7fce834ba794c0cf71
2021-05-25 12:37:23 +02:00
Jason Young 56612e7152 VW MQB: Rescue some FPv1 stragglers (#21019)
* Add FW, model-year for Audi A3 (Flyer)

* Add FW for 2016 Passat B8 (jwebb)
old-commit-hash: df93263a81bd0cc51424acff0fcc0be67db49b5c
2021-05-24 19:17:51 -07:00
martinl c2a95c9d2c Fix Subaru Preglobal create_es_throttle_control (#21010)
old-commit-hash: aa0c2a1e7f02aaf0e0379e9287594071b6d572bc
2021-05-24 15:36:31 -07:00