Commit Graph

720 Commits

Author SHA1 Message Date
Jason Young f86f344ba5 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>
2021-06-13 22:21:23 -07:00
Adeeb Shihadeh af8d417627 Fix Honda Accord transmission type detection (#21247) 2021-06-12 20:52:50 -07:00
Jason Young 9ad129fd5f VW MQB: Škoda Octavia RS Mk3 (#21230)
* Add 2016 Skoda Octavia RS (derflo000)

* Autogratitude
2021-06-11 13:55:51 -07:00
ShaneSmiskol e7df9adfe3 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>
2021-06-10 23:25:02 -07:00
Jason Young fd397f039d VW MQB: Add FW for 2020 Volkswagen Tiguan (#21222) 2021-06-10 17:14:30 -07:00
jhlee111 4fc48834a4 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>
2021-06-10 13:07:11 +02:00
nepro012 579567102a 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
2021-06-09 14:10:49 +02:00
Nick Eneboe 6e32b13613 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
2021-06-08 13:30:56 -07:00
Cruise Brantley 22b1db8af0 Add Hyundai Santa Fe 2020 fw versions (#21161)
* updated values for 2020

* removed duplicate esp value
2021-06-07 23:47:35 -07:00
Camilo Lozano 5dbf1c1e28 Add Hyundai Sonata N-Line 2021 fw versions (#21182) 2021-06-07 22:52:09 -07:00
speedking456 f5d9ddc6c2 Add Kia Seltos fw (#21179)
* Kia Seltos updated fingerprint

* updated fpv2

dongle: c75a59efa0ecd502
2021-06-07 17:31:28 -07:00
CrispinFlowerday 7458e143e3 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>
2021-06-07 15:06:28 -07:00
Adeeb Shihadeh d4ab1f1e27 startup alert for no fw returned (#21177) 2021-06-07 14:15:09 -07:00
Jason Young db83cd7f84 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.
2021-06-07 01:34:22 -07:00
jma0 4488df8d1f VW MQB: Add FW for 2019 Volkswagen Golf SE (#21154) 2021-06-06 16:21:16 -07:00
Jafar Al-Gharaibeh 56fbf66c20 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>
2021-06-06 14:40:57 -07:00
Jason Young 30b6c1b506 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>
2021-06-06 14:32:50 -07:00
Jason Young 3a2893f11a 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"
2021-06-04 19:12:42 -07:00
Willem Melching 72199e60d3 add FW versions 2021-06-04 10:37:00 +02:00
Greg Hogan 6e300aaf57 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>
2021-06-03 15:34:25 -07:00
Adeeb Shihadeh 66d01bd847 Remove unused CAN fingerprints (#21124)
* toyota

* honda
2021-06-03 15:22:40 -07:00
ShaneSmiskol ebc294296a 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>
2021-06-03 15:11:10 -07:00
ShaneSmiskol bf0e0ae00b Use hyundaiLegacy safety model for Hyundai Elantra (#21108) 2021-06-03 13:48:54 -07:00
ShaneSmiskol e9e197eb3c 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>
2021-06-03 13:35:23 -07:00
Josh Smith 77321dbac4 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
2021-06-03 12:21:04 +02:00
Cruise Brantley 8220056252 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>
2021-06-03 11:31:18 +02:00
Adeeb Shihadeh a69e1715d4 Honda: cleanup enable logic (#20749) 2021-06-03 01:49:33 -07:00
Jason Young fcc68d2a74 VW MQB: Add FW for 2017 Volkswagen Golf R (#21110) 2021-06-02 10:43:28 -07:00
Jason Young 83ca5a0d29 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!
2021-06-02 15:51:54 +02:00
Adeeb Shihadeh 9740052378 Kona EV: send LFA MFA message (#20320) 2021-06-01 18:11:46 -07:00
Adeeb Shihadeh 2183582216 fix missing semicolon 2021-06-01 15:58:26 -07:00
Robert Hanna 6d8c985801 Add LEXUS_ESH_TSS2 to improved longitudinal tune (#21016)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-01 15:52:16 -07:00
Erich Moraga 43fd045a3e 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>
2021-06-01 15:47:09 -07:00
Adeeb Shihadeh 2680537b4b Merge Lexus UXH into TSS2 Corolla Hybrid (#21100) 2021-06-01 14:56:53 -07:00
jbates9011 909b848fa3 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>
2021-06-01 14:51:28 -07:00
ShaneSmiskol 07e4129edc 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
2021-06-01 12:41:24 -07:00
Jason Young b12637d782 VW MQB: Add FW for 2015 Audi A3 (#21095)
* Add FW for 2015 Audi A3 (iamhtoo)

* Maintain sorting

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

* Extend Leon MY range in README and RELEASES
2021-05-30 13:44:07 -07:00
Jason Young 34b6c56021 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!
2021-05-28 13:53:50 -07:00
Jason Young 0c89ad98e5 VW MQB: Add FW for 2018 Volkswagen Atlas (#21068) 2021-05-28 11:45:53 -07:00
Willem Melching 0f13a80e0b Mazda: remove CAN fingerprints (#21067) 2021-05-28 16:53:12 +02:00
Jafar Al-Gharaibeh 824f93303d 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>
2021-05-28 15:50:58 +02:00
Ewan a844c60f14 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
2021-05-26 17:54:44 -07:00
Jason Young 4de1655d20 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
2021-05-26 17:08:33 -07:00
Jason Young 182b00896c 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
2021-05-26 14:02:42 -07:00
Adeeb Shihadeh c736b7e5bb chrysler pacifica 2020 fingerprint values 2021-05-25 14:23:05 -07:00
dingyf12593 a6cfe90436 VW MQB: Add FW values for 2018 Volkswagen Golf (#21020) 2021-05-25 12:37:23 +02:00
Jason Young df93263a81 VW MQB: Rescue some FPv1 stragglers (#21019)
* Add FW, model-year for Audi A3 (Flyer)

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