Commit Graph

1221 Commits (master)

Author SHA1 Message Date
Dean Lee 05b905d140
interfaces/apply: follow capnp best practices (#23371) 2022-01-04 11:34:49 +01:00
martinl 6b205347e5
Subaru FPv2 support (#1878)
* Add Subaru FPv2 support

* Add Subaru Ascent and Impreza FPv2 values

* Remove 10 second delay, use UDS for Subaru FPv2

* before VW

* before hyundai

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-04 11:06:29 +01:00
Anthony Foerster 1ca5e1c82b
Fix steering oscillations in 2019 RDX (#22677)
Steering wheel would oscillate quickly when going straight, oscillation
is gone after this modification.
2022-01-03 23:07:49 -08:00
Adeeb Shihadeh 231f74cd23
GM: Switch to AcceleratorPedal2 (#23376)
* GM: Switch to AcceleratorPedal2

* bump panda

Co-authored-by: Jason Shuler <jshuler@gmail.com>
2022-01-03 16:09:53 -08:00
Matt Barclay 162460ebd8
Toyota: 2020 Highlander Hybrid Engine fingerprint (#23373) 2022-01-03 14:13:00 -08:00
Adeeb Shihadeh 24c741ea3d
Toyota: merge Lexus RX params (#23374)
* Toyota: merge Lexus RX params

* pick tuning

* add those back
2022-01-03 14:11:34 -08:00
Jason Wen e1805574a8
HKG: Add and Fix FW for 2022 Kia Niro EV (#23253)
* Remove non-exist esp FW from Niro_EV

* HKG: Add FW for 2022 Kia Niro EV

* Add 2022 Kia Niro EV to STEER_MAX = 384

* Update CARS.md

* HKG: Add FW for 2022 Kia Niro EV

* Remove duplicate FW version

* Remove duplicate FW versions from 0.8.3 FW dump (#20702)

* Fix FW versions spacing

* Fix FW versions spacing

* Add additional FW version

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-03 18:59:23 +01:00
Nelson Chen ab2111adb0
Add firmware from 2021 prius in australia (#23271)
Discord user khalid.auslink#0024 / shah#3880

FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26
2022-01-03 18:41:36 +01:00
Jason Wen 30e8383f30
HKG: blacklist cars with lower steering max (#23255)
* HKG: Add Lower Steering Torque Cars to STEER_MAX = 255 Blacklist

* add comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-02 15:53:52 -08:00
Jason Wen bd399693b6
Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (#23332)
* Add car port: Hyundai Santa Fe Plug-in Hybrid 2022

* Add test route
2021-12-31 17:28:07 -08:00
Jason Young 13bf30fdc3
VW MQB: Add FW for 2019 Volkswagen Jetta (#23306)
* fingerprint 2019 vw jetta sel

* remove duplicate, fix sorting

Co-authored-by: cyanet01 <richard@connectya.com>
2021-12-24 13:25:58 -08:00
Ewout ter Hoeven 332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features (#23305)
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default

Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>

Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
2021-12-24 11:18:39 -08:00
Jason Young 6fd3d50d79
VW MQB: Add FW for 2018 Volkswagen Arteon (#23303) 2021-12-23 21:53:58 -08:00
Erich Moraga b1dfdca982
Add missing HIGHLANDER_TSS2 engine f/w (#23301)
`@JohnLips#7600`  2022 Highlander Platinum ICE  DongleID/route  697a805960f1b2d5|2021-12-23--13-14-37
2021-12-23 16:24:07 -08:00
Erich Moraga a1ac77310b
Add missing COROLLA_TSS2 ESP & engine f/w (#23294)
`Sebastiaan#0569` 2020 Corolla Hatch 1.2T XR RHD  DongleID/route  567e47e503b36408|2021-12-22--20-44-44
2021-12-22 19:31:50 -05:00
Adeeb Shihadeh c92199ab1a Revert "Mazda: alert when LKAS is disabled (#23273)"
This reverts commit f25121b736.
2021-12-20 23:02:02 -08:00
Jafar Al-Gharaibeh f25121b736
Mazda: alert when LKAS is disabled (#23273)
* Mazda: alert when LKAS is disabled

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

* Update selfdrive/controls/lib/events.py

* Update selfdrive/car/mazda/interface.py

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-20 14:58:46 -08:00
Jafar Al-Gharaibeh cd7db7f48e
Mazda CX-5 2021 FW (#23270)
dongle id: 661fdb17fa82339c

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-12-20 14:30:54 -08:00
Jafar Al-Gharaibeh fc7d152dca
Mazda: CX-5 and 3 FW (#23267)
* Mazda 3 2017 fw

dongle id: f7fec643f5178df8

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

* Mazda CX-5 2020 FW

dongle id: f4b488f06d3b7711

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-12-18 14:47:04 -08:00
HaraldSchafer cf466222f6
Road Roll Compensation Rebased (#23251)
* first commit

* update refs
2021-12-16 17:34:12 -08:00
Willem Melching 14bf834fef
Abstract classes inherit from ABC (#23246) 2021-12-16 15:31:53 +01:00
Ewout ter Hoeven 55390d273f
Convert format strings strings to f-strings (#23241)
* Convert all text strings to f-strings

Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.

Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.

F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale

* revert pyextra changes

* revert ublox.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-16 14:58:17 +01:00
Willem Melching 4f1eb4278a
Log actuators after applying rate limits in CarController (#23230)
* return actuators from carcontroller

* log it

* pass to latcontrol

* chrysler

* gm

* honda

* more brands

* rest of the brands

* gm cleanup

* hyundai cleanup

* update ref

* rename field

* fix subaru

* add types

* more subaru fixes #23240

* consistent whitespace

* bump cereal
2021-12-16 13:08:20 +01:00
martinl 7fd98757b4
Subaru: Add Impreza/Crosstrek 2020 (#21011)
* Add Subaru Impreza/Crosstrek 2020

* Update selfdrive/test/test_routes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-15 15:13:31 -08:00
Jason Young a11259929b
VW MQB: Add FW for 2018 Å koda Superb (#23233) 2021-12-15 11:18:40 -08:00
martinl 345fe48338
Subaru Pre-Global: Rename ES_CruiseThrottle to ES_Distance (#23024)
* Rename preglobal ES_CruiseThrottle to ES_Distance

* bump opendbc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-14 21:55:14 -08:00
Kevin Robert Keegan 245b4d910c
Toyota: Display Blue Barriers When Engaged, Matches OEM Design (#23150) 2021-12-14 16:42:31 -08:00
Shane Smiskol 2799ef5292
Remove minSpeedCan (#22991)
* Remove minCanSpeed

Remove minCanSpeed

* it actually only goes out to 2.5 seconds, this is okay to remove

* test to see if this preserves behavior

add minSpeedCan

* Revert "test to see if this preserves behavior"

This reverts commit 31b11f017f7e9da7654fc8064b5983d4a6cc22e5.

* preserve behavior (don't enter stopping as early)

* vEgoStopping needs to be less than or equal to vEgoStarting to avoid state oscillation
2021-12-14 12:09:32 -08:00
Shane Smiskol b745a14ff7
version.py: make function names more clear (#23216)
* rename a few version functions

* and is_prebuilt

* and some formatting 😊
2021-12-14 12:15:13 +01:00
Harald Schafer 44adea73ce fix max speed comments 2021-12-08 17:13:43 -08:00
Adeeb Shihadeh 1638975627
Merge 2021 Accords into 2018 Accords (#23174)
* Merge 2021 Accords into 2018 Accords

* last of them
2021-12-08 14:40:14 -08:00
Metalbird1997 809154571a add fingerprint for European 2018 Toyota C-HR Hybrid (#23171) 2021-12-08 13:43:11 -08:00
Willem Melching 0ec68a5a09
0.8.11-release FW batch (#23167)
* 0.8.11-release FW batch

* those toyota also dont always return esp

* attempt to clean up 2018 & 2021 accord
2021-12-08 14:44:00 +01:00
Harald Schafer 16bf562806 Add TSS2 prius to TSS2 long tunes 2021-12-07 16:06:43 -08:00
Chris McCammon 95c9cb3509
Kia Niro EV fw (#23159) 2021-12-07 13:01:43 -08:00
Adeeb Shihadeh 795bdf4c61
remove ford fingerprints (#23136) 2021-12-05 14:43:57 -08:00
Adeeb Shihadeh 0283942a95
Honda: use new Bosch LKAS_HUD messages (#23000)
* Honda: use new Bosch LKAS_HUD messages

* enum value

* better name

* flip that
2021-12-05 13:51:33 -08:00
Jason Wen fa952f650d
HKG: Add FW for 2022 Kia K5 (#23131) 2021-12-05 12:47:24 -08:00
khoi 1f73192695
Add 2021 Toyoto Corolla Cross Non-Hybrid (Thailand version) (#23123) 2021-12-04 22:53:23 -08:00
Jason Young 8a4ab7f46d
VW MQB: Audi Q3 Mk2 (#23128) 2021-12-04 18:55:02 -08:00
grekiki 6951b3271d
Python: Replace more lists with generators (#23116)
* Replace lists with generators v2

* Replace set with {}

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

* Replace more set() with {}

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-12-03 22:57:19 -08:00
cydia2020 b8c42d01eb
Toyota: remove unused ACCEL_HYST_GAP (#23121)
* fix typo in comments

* remove hyst gap from values.py
2021-12-03 22:56:11 -08:00
Chris McCammon 9e51befe18
Honda Pilot fw (#23119) 2021-12-03 16:11:15 -08:00
Willem Melching e6180738fd
add CarParams.wheelSpeedFactor (#23079)
* add CarParams.wheelSpeedFactor

* Fudge speed for Lexus RX

* should have been the TSS2 model

* bump cereal

* refactor into function

* update refs
2021-12-03 14:57:53 +01:00
flightguy2 0ee6f42a8e
2019 Lexus NX FW versions (#23106) 2021-12-02 16:12:29 -08:00
HaraldSchafer 316a10bb6b
add tss2 highlander to tss2 tune (#23107) 2021-12-02 14:01:17 -08:00
Erich Moraga 4a33d61de0
Add several missing LEXUS_ES_TSS2 firmwares (#23098)
`@TechGuy#9141`  2021 Lexus ES 350 ICE  DongleID/route  f9238e084316715b|2021-12-01--19-26-20
2021-12-02 07:55:50 -08:00
HaraldSchafer eda6993043
Toyota pedal rewrite (#23067)
* pedal redo

* add offset to compensate for creep and windbrake

* offset in standard units

* wrong size

* better creep values

* update ref
2021-11-30 10:50:06 -08:00
Willem Melching f7c46c6949
Do not run code on version.py import (#23063)
* Do not run code on version.py import

* fix athena
2021-11-29 19:38:55 +01:00
Erich Moraga 5abe293f61
Fix comment typo: steerRation -> steerRatio (#23058) 2021-11-28 19:15:36 -08:00
Jason Young adaffb3355
VW MQB: Add FW for 2013 Volkswagen Golf (#23036) 2021-11-25 14:37:33 -08:00
Adeeb Shihadeh f0f7359f6a mazda: capitalize CX9 like all others cars 2021-11-24 11:53:10 -08:00
Adeeb Shihadeh 239c7c1d4e
Bring back Accord 2021 + 2021 Hybrid (#23021)
Co-authored-by: Chris Souers <csouers@gmail.com>
2021-11-23 23:19:11 -08:00
Erich Moraga 9b9cbe1f37
Add several missing CHRH f/w (#23002)
`Hookler#6341` 2017 C-HR DongleID/route 9de14f6c78d29e91|2021-11-22--03-48-14
His car was previously FP'ing over FPv1 on OP 0.8.1, and he didn't realize it, until I verified it.  Relevant FPv1 was pruned from newer code.
2021-11-23 15:35:08 +01:00
Erich Moraga d630ec9092
Add Lexus RC support (#22941)
* Add f/w firmware for Lexus RC under LEXUS_IS

`@ph33rl355#0529`  2020 Lexus RC F Track Edition  DongleID/route 32696cea52831b02|2021-11-16--23-12-02

Doesn't seem to need a full port, per user feedback...
https://discord.com/channels/469524606043160576/524327905937850394/910400788319326229

* Update CARS.md

* Separated Lexus RC from IS... still using IS DBC

* match lexus IS for now

* Update wheelbase to match published specs

I'm hesitant to touch `mass`, even though I know it's different from the IS.

* Add TOYOTA.LEXUS_RC test route

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-22 14:22:28 -08:00
Jason Young 819b7a120a
VW MQB: Longitudinal prereqs (#23004) 2021-11-22 14:01:42 -08:00
Adeeb Shihadeh 7746130a1e
Honda Bosch cleanup (#22999) 2021-11-21 14:52:35 -08:00
Adeeb Shihadeh b07ddad6ed comma pedal: rename create_gas_command -> create_gas_interceptor_command 2021-11-20 20:13:58 -08:00
Adeeb Shihadeh 9abfc02148
Hyundai: remove longitudinal whitelist (#22976)
* Hyundai: remove longitudinal whitelist

* move legacy safety mode into values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-19 14:20:03 +01:00
Andrew 2a6816b893
Genesis G70 2020 port (#22692)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 20:45:32 -08:00
Cruise Brantley d77438b4e3
Hyundai: Add Elantra to allowed longitudinal cars (#22974) 2021-11-18 18:41:09 -08:00
Jason Wen 73d66ada8d
Hyundai: Car Port for 2022 Santa Fe Hybrid (#22962)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 17:33:10 -08:00
Dave 957864019a
GMC Acadia: Add lateral feedforward function (#22899)
* GM Acadia lateral tuning

* old tune was not returning to center, nor strong enough. Trying to make P and F equal.

* reduce integral, and eyeball actuator delay

* return PI to openpilot default

* remove default values from acadia

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
2021-11-18 15:45:37 -08:00
Jason Young ef38117219
VW MQB: Volkswagen T-Roc Mk1 (#22967) 2021-11-18 14:52:59 -08:00
Brett Sanderson 8b25551c7f
Honda: rename HONDA_NIDEC_ALT_MAIN to HONDA_PARAM_NIDEC_ALT_SCM_MESSAGES (#22970)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 14:52:37 -08:00
Robbe Derks 4960578bdf
Tesla longitudinal control (#22561)
* tesla long squashed changes

* fix no resume from stop

* try setting accel limits to 0 to remove jerk with fast switchover

* expand radard lookup tables

* bump merged panda submodule
2021-11-18 13:57:12 +01:00
Adeeb Shihadeh 14651866c2
Honda: handle ACC state consistent with ISO 15622:2018 (#22958) 2021-11-17 17:30:50 -08:00
Jafar Al-Gharaibeh 787dde003e
Mazda: fix typo in CX-5 fw (#22957) 2021-11-17 13:49:10 -08:00
Jason Young 36ca9d2daa
VW MQB: Add FW for 2018 Volkswagen e-Golf (#22953) 2021-11-17 13:44:10 -08:00
HaraldSchafer 06844821c5
Cleanup toyota tuning (#22859)
* start cleanup

* start lateral

* finish lateral

* add file

* typo

* add enu

* remove whitespace

* cleanup safetyparam

* typo
2021-11-17 12:06:39 +01:00
Adeeb Shihadeh 70c1f19304
pedal: only send command while actuators active (#22942) 2021-11-16 22:38:23 -08:00
Jafar Al-Gharaibeh 2492a11661
Mazda: add three new FW FP (#22939) 2021-11-16 21:10:16 -08:00
Erich Moraga e42bf919b2
Firmware replace \000 with \x00 (#22911) 2021-11-15 10:34:44 +01:00
Erich Moraga cdc53efb98
Add missing HIGHLANDERH_TSS2 engine f/w (#22910)
* Add missing HIGHLANDERH_TSS2 engine f/w

`maximammx#7799`  2022 Highlander Hybrid AWD  DongleID/route  91445f0962323b04|2021-11-14--21-33-29

* Add 2022 Highlander Hybrid
2021-11-14 21:49:36 -08:00
Erich Moraga abb292d666
Add missing COROLLAH_TSS2 engine f/w (#22909) 2021-11-14 21:31:10 -08:00
Adeeb Shihadeh c6ce88e231
Nissan: use cleaner Leaf brake pressed signal (#22890) 2021-11-12 12:18:13 -08:00
Willem Melching 8a8cee5e54
Batch of ECU FW from cars that fuzzy fingerprinted (#22883)
* honda

* hyundai

* toyota

* VW
2021-11-12 16:31:29 +01:00
Andre Volmensky 293a383d3a
Added fingerprint for Japanese 2017 X-Trail (#22881) 2021-11-12 14:02:13 +01:00
Erich Moraga 7f4de651e1
Add missing HIGHLANDER_TSS2 engine f/w (#22871) 2021-11-11 11:17:11 -08:00
Jafar Al-Gharaibeh b18661a3a6
Mazda: fix occasional main cruise disable (#22807)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-11-10 21:25:41 -08:00
Erich Moraga 09514fb8e5
Add missing LEXUS_RX_TSS2 EPS & engine f/w (#22840) 2021-11-09 16:59:19 -08:00
Jafar Al-Gharaibeh 2621e5301d
Mazda: disable hud alerts until we find a way to silence audible alerts (#22808)
* Mazda: disable hud alerts for now until we find a way to silence audible warnings

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

* Mazda: add hud alert for steer lockout

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

* show when above min steer speed

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-09 15:24:18 -08:00
smithula 96a4a2886c
Hyundai: add Sonata Hybrid FW (#22816) 2021-11-09 12:11:44 -08:00
Robbe Derks fee8ec74f1
Tesla: steerWarning on EPS error (#22834) 2021-11-09 13:36:23 +01:00
Jafar Al-Gharaibeh 8c38e9c49e
Mazda: fix occasional steer fault at initial lkas enable (#22806)
* Mazda: fix occasional steer fault at initial lkas enable

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

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-08 14:40:26 -08:00
Adeeb Shihadeh 8933859e35
Remove remaining Toyota + Honda CAN fingerprints (#22827) 2021-11-08 14:37:25 -08:00
sshane a0e5eccb70
Toyota: handle brake hold (#22810)
* disallow engagement if brake hold active

* we can check once

* move to common events

revert

* fix

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-08 14:26:30 -08:00
robin-reckmann e2288371f2
Fingerprinting v2 support for Nissan vehicles (#22655)
* Add Nissan FPv2

* Update Nissan version response

* Add second Nissan FPv2 query

* Add multiple offsets for Nissan

* Nissan offset fix

* Add Nissan diagnostic request

* Use 21 83 for Nissan version request

* Add partial 2018 Leaf FPv2

* Update 2018 Leaf FPv2

* Nissan FPv2: more RX offsets, add no diagostic request scan for 0x20

* Add FPv2 imports to Nissan values

* Change LEAF to LEAF_IC

It is an instrument cluster leaf. With this minor change it works :).

* fixed ecu addr for nissan eps

* Remove FW not used for fpv2

* Remove unused offsets

* add fw versions for 2018 Nissan Leaf JP

* add standard ecu fw query

* add esp fw

* add nissan xtrail

* Add missing ESP FW for 2018 Nissan Leaf IC

* Add fwdCamera FW for Xtrail 2017

* add missing comma

* Add 0x8 default offset

needed e.g. for xtrail engine ecu

* Apply suggestions from code review

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

* Fix variable naming

* remove unnecessary part of standard fw query

* add fw versions for CAN-GW ECU

* transmission eco does not reliable answer -> remove

* add Altima FWs (part 1)

* add Altima EPS FW

* Remove NISSAN_KWP_DIAGNOSTIC_REQUEST and cleanup

* Revert "Remove NISSAN_KWP_DIAGNOSTIC_REQUEST and cleanup"

This reverts commit 808d6f1562.

* cleanup

Co-authored-by: Martin Lillepuu <martin@mlp.ee>
Co-authored-by: Julian Pieles <julian@pieles.digital>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-08 10:51:59 +01:00
Jason Young 053404c878
VW MQB: Volkswagen Polo Mk6 (#22811)
* VW MQB: Volkswagen Polo Mk6

* add to RELEASES
2021-11-07 11:10:52 -08:00
Adeeb Shihadeh d8f5e8b7a4
remove toyota can fingerprinting exceptions (#22803)
* remove toyota can fingerprinting exceptions

* cleanup
2021-11-05 13:49:30 -07:00
Robbe Derks 6bef60ddf5
extend fingerprint for multipanda ports (#22798) 2021-11-05 13:17:27 +01:00
cydia2020 d66f0fcc87
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>
2021-11-04 14:53:32 -07:00
justinmccaffrey 28e16c7b84
Add 2021 Honda Passport (#22781)
* update values.py

* add passport to carstate, interface, values

* add a test route with mostly green

* switch to newer route

* update readme

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-11-04 15:28:04 +01:00
Willem Melching 246a52166e
assert openpilotLongitudinalControl not enabled for Hyundai legacy safety mode (#22778) 2021-11-02 11:22:38 +01:00
Willem Melching 3238386a76 Toyota: ensure ACC_CONTROL bytes are the same after opendbc bump 2021-11-01 12:07:11 +01:00
Willem Melching 5b93d44459
Hyundai: update FW in old format (#22764) 2021-11-01 11:51:37 +01:00
Jason Wen ea9b93008e
Kia (HKG): Add FW for 2021 Kia K5 (#22753) 2021-11-01 11:14:49 +01:00
Adeeb Shihadeh 2252c6bba7
Mazda: move CX-9 out of dashcam mode (#22717)
* move cx9 out of dashcam

* no alc below 28

* process replay route
2021-10-31 22:02:36 -07:00
Andrew b9c4f0c0ff
add new elantra hev 2021 fingerprints (#22727)
* add new elantra hev 2021 fingerprints

* add another transmission fp

* Remove duplicates

* Also duplicate

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-31 13:51:41 +01:00
Adeeb Shihadeh 40b7962b93
Mazda: fix up cruise cancellation (#22750)
* also cancel on cruiseControl.cancel

* set counter in button msg
2021-10-30 13:37:52 -07:00
Adeeb Shihadeh 1848fed6e2
Mazda: send dash alerts (#22730)
* Mazda: send dash alerts

* no actuators

* ldw

* send alerts

* test

* use cam parser

* add generic toggle

* wip

* revert some stuff

* try that

* steer required works

* cleanup

* bump panda

* little more cleanup

* no lane lines

Co-authored-by: Comma Device <device@comma.ai>
2021-10-30 10:56:30 -07:00
Jason Wen 248285d5c5
Hyundai: Add FW for 2022 Hyundai Sonata (#22702)
* Hyundai: Add FW for 2022 Hyundai Sonata

* Update selfdrive/car/hyundai/values.py

* sort engine fw

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-30 15:39:16 +02:00
Adeeb Shihadeh b76ccaac37
better alerts for temporary EPS faults (#22747)
* better alerts for temporary EPS faults

* reorder
2021-10-29 23:20:59 -07:00
Adeeb Shihadeh f9b6b03f5d Mazda: car state cleanup + comments 2021-10-29 14:40:58 -07:00
Adeeb Shihadeh 4bbeb27f9b
Mazda: allow engaging below min LKAS speed (#22737)
* Mazda: allow engagement below minimum LKAS speed

* bump panda

* bump panda
2021-10-29 13:07:52 -07:00
Willem Melching 51c4b3c34b
Add 2019 Rav4 engine FW (#22733) 2021-10-29 12:08:04 +02:00
Jason Young b49f518782
GM: EPS fault workaround (#22404)
* seems legit

* panda -> loopback

* fix comment

* add some "why" comments for the next guy

* re-test with stock 50Hz rate

* ugly test

* Update selfdrive/car/gm/carstate.py

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>

* update refs

* Update selfdrive/car/gm/carstate.py

Co-authored-by: qadmus <42746943+qadmus@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-28 16:54:12 -07:00
Adeeb Shihadeh 2b4a655f36
Mazda: fix blinker states (#22718)
* Mazda: fix blinker states

* not lamp

* back to lamp to fix convenience blinkers
2021-10-28 14:05:12 -07:00
cydia2020 944578ad09
Toyota: gate enableDsu on no smartDSU (#22711) 2021-10-27 11:29:34 -07:00
Gibby 46009fa6fd
GM: 2016 Escalade ESV (#22670)
* Added 2016 Escalade ESV fingerprint and data.

* Updated CARS.md for GM vehicles

* Uploaded Escalade fingerprint

* Removed part about auto high beams for GM. Seems to work for some.

* Revert other modifications in CARS.md

* Revert other modifications in CARS.md

* Added test route for Escalade

* Added tunning for Escalade to reduce jerky steering

* Apply suggestions from code review

* Update selfdrive/car/gm/interface.py

* cleanup test route

Co-authored-by: Gibby <git@twoitguys>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-26 15:59:24 -07:00
qadmus ca476650e9
GM: Cleanup & format values.py (#22671)
* cleanup & format gm/values.py like toyota/values.py

* Units and notes
2021-10-25 23:46:44 -07:00
sshane 82ad6642e2
Quiet steer temp unavailable alert at standstill (#22680)
* only sound critical alert when not at standstill

* need to flip

* just change the one line
2021-10-25 14:28:05 -07:00
Jason Young 68333dce60
VW MQB: Volkswagen Taos Mk1 (#22653)
* VW MQB: Volkswagen Taos Mk1

* add test route
2021-10-21 20:26:33 -07:00
qadmus 2e0bc9d365
GM: improved Volt lateral tuning (#22621)
* GM Volt lateral tuning and feedforward function

* improve comments, lower P 5% to 0.17, which matches all my notes over time, 0.18 was a last test change.

* don't justify actuator delay for now

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-21 14:10:41 -07:00
qadmus 778374d3dd
[Lateral PID] Function for steer feedforward (#22638)
* store a function for steer feedforward

* use classmethod

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-21 11:38:03 +02:00
Adeeb Shihadeh dffff03c37 remove unused camry hybrid fingerprint 2021-10-21 00:07:30 -07:00
Adeeb Shihadeh c85c8fee3c
Remove CAN fingerprints + FW dump (#22647)
* add missing pilot fw

* toyotas

* camry hybrid
2021-10-20 23:12:04 -07:00
Adeeb Shihadeh 66c20026f6
remove unused can fingerprints (#22646) 2021-10-20 22:32:51 -07:00
Jafar Al-Gharaibeh ca1f96ac72
Mazda: Fix OP steer warning in cars with lockout (#22612)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-10-20 21:36:22 -07:00
cydia2020 9a2ecec1a8
Toyota longitudinal: Illuminate PCS Warning Light If DSU is Unplugged (#22631)
* display amber "PCS Off" indicator when DSU is unplugged

* Update opendbc

* update ref

* Update opendbc

* update ref

* bump opendbc

* bump opendbc

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-20 15:41:31 -07:00
Jason Young b983f8aa9b
VW MQB: Audi S3 Mk3 (#22633) 2021-10-20 16:15:48 +02:00
cydia2020 0b6b9b595d
Toyota longitudinal: display PCS off when DSU is unplugged and no SDSU is found (#22626)
* display pcs off in car settings when DSU is unplugged

* Update opendbc

* fix checks

* bump opendbc

* use 0

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-19 22:01:47 -07:00
Jason Wen d01c340f1f
Hyundai: Car Port for 2022 Hyundai Ioniq Hybrid (#22610)
* Add car port: Hyundai Ioniq Hybrid 2022

* Update RELEASES.MD

* Update CARS.md

* Add test route: Hyundai Ioniq Hybrid 2022
2021-10-19 16:59:10 -07:00
Willem Melching 17067549bc
Honda Bosch longitudinal: show AEB disabled status on HUD (#22617)
* Honda Bosch longitudinal: show AEB disabled status on HUD

* also set acc hud
2021-10-19 16:09:14 +02:00
Jason Wen 7f5ffe54c0
Hyundai: Add FW for 2022 Hyundai Sonata Hybrid (#22543)
* Hyundai: Add FW for 2022 Hyundai Sonata Hybrid

* Add additional FW
2021-10-19 14:10:40 +02:00
Jason Wen e62442a9f3
Hyundai: Add FW for 2018 Hyundai Ioniq Hybrid (#22585) 2021-10-19 14:09:01 +02:00
Greg Hogan 3b60a25010
hyundai: match stock when aeb is disabled (#22580)
* match stock when aeb is disabled

* add comment about instrument cluster warning
2021-10-18 10:55:53 -07:00
Jason Wen 03f4188219
Hyundai: Fix Ioniq Hybrid signals (#22583) 2021-10-17 11:50:21 -07:00
Adeeb Shihadeh b427d4acc5 sort toyota and lexus models 2021-10-15 14:54:11 -07:00
Min CHO 0f8c3cdbf8
Add fingerprint for 2022 Korean RAV4H_TSS2 (#22565) 2021-10-15 14:51:07 -07:00
Jason Wen c2a5f0ade2
Hyundai: Add Kona EV and Kona HEV to higher STEER_MAX limit (#22520) 2021-10-14 19:41:43 -07:00
Jason Wen fe7ab37b7b
Hyundai: Add FW for 2022 Hyundai Santa Fe (#22559)
* Hyundai: Add FW for 2022 Hyundai Santa Fe

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-14 19:37:01 -07:00
Chris McCammon 12353bbea9
C-HR Firmware (#22549) 2021-10-13 19:33:07 -07:00
Erich Moraga f640772980
Add missing LEXUS_ESH_TSS2 engine & fwdRadar f/w (#22517)
`@LeoCar#9563` 2019 Lexus ES300 Hybrid DongleID/route 480aecfc70a26bb7|2021-10-10--19-20-25
2021-10-13 16:02:38 -07:00
Erich Moraga 973ccc5ec9
Add missing RAV4_TSS2 engine f/w (#22545)
`@James Tai#3141` 2020 RAV4 ICE  DongleID/route  5f3ff874ab5b3e0d|2021-10-14--02-22-22
2021-10-13 14:32:16 -07:00
Chris McCammon 649d70eafa
CH-R Hybrid fw (#22538) 2021-10-12 12:36:07 -07:00
Kyle Greenlaw 3412388b8c
Additional FW for 2021 Hyundai Sonata Hybrid (#22482)
* New FW for 2021 Hyundai Sonata Hybrid

* Removed duplicates

* Wild cards

* Update selfdrive/car/hyundai/values.py

* restore old value

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-11 06:22:02 +02:00
Jason Wen f8750f66c8
Hyundai: Add FW for 2021 Hyundai Santa Fe (#22485)
* Hyundai: Add FW for 2021 Hyundai Santa Fe

* Add additional FW

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-11 06:20:53 +02:00
oremax 277b354b0c
Prius prime 2020 Engine FW (#22514) 2021-10-11 05:44:46 +02:00
Jafar Al-Gharaibeh c898939423
Mazda: fix disabling cruise main on after cancelling cruise (#22193)
On some disengagement events (brake/gas/etc) OP may occasionally
ends up disabling the main cruise control where the driver has
to press the main cruise button before they can engage ACC again.
Try to detect this situation and automatically turn on cruise
when that happens.

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-10-10 14:24:57 -07:00
Jafar Al-Gharaibeh d19ac7e49b
Mazda: Fix steer lockout issue in CX-9 2021 (#22506)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-10-10 14:19:43 -07:00
Jafar Al-Gharaibeh 2dff0597b7
Mazda: Add CX-9 2021 GT firmware (#22509)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-10-10 10:08:18 -07:00
AlexandreSato 879b50c1a3
update comment in toyota carcontroller (#22490) 2021-10-08 10:13:50 -07:00
Robbe Derks 91987f38d4
Make pandaState and safetyMode a list (#22454)
* wip: move to pandaStates

* bump cereal

* wip: SafetyMode struct

* move to safetyMode

* fix typo

* this can be None

* fix potential empty pandaStates list

* fix thermald

* fix controlsd

* rename safetyModes to safetyConfigs

* update process_replay

* fix test_models

* bump cereal
2021-10-08 17:54:34 +02:00
Jason Wen 6c6f46bf9a
Hyundai: Add FW for 2021 Kia K5 (#22479) 2021-10-07 18:23:08 -07:00
Harald Schafer 0e4058d0ec remove unused line in honda carcontroller 2021-10-07 11:18:55 -07:00
HaraldSchafer e5da7cc04b
no throttle when not enabled (#22474) 2021-10-07 11:15:08 -07:00
Willem Melching 6c29a4c7fb
Honda Bosch longitudinal tuning (#22407)
* revert changes to standstill logic

* start with mostly open loop

* Revert "revert changes to standstill logic"

This reverts commit d737d858e7708aedaf09cfc068b85398161e9bbe.

* proper clipping

* less lag

* less gas command

* start gas from -0.2

* controls should take care of that

* use CarControllerParams

* switch to braking sooner

* Revert "switch to braking sooner"

This reverts commit cf11dae334ccb369f625d4b13b7cd4176156a446.

* 2.5x more P

* use active

* engage on rising edge

* Revert "engage on rising edge"

This reverts commit c972956cb4.

* update ref
2021-10-07 16:37:02 +02:00
Erich Moraga 0b9b479a5a
COROLLA_TSS2 add missing ESP f/w (#22446)
`PJ Tremblay#9640` 2021 Corolla ZR ICE (AUS)  DongleID/route 33e7ea5e01511d3|2021-10-06--01-37-50
2021-10-07 12:07:57 +02:00
Willem Melching 305e8d07ec
add Sonata N-Line FW versions (#22469) 2021-10-07 10:51:44 +02:00
Greg Hogan c1a8fe143f
Hyundai Palisade: adjust tire_stiffness_factor (#22444) 2021-10-07 10:46:42 +02:00
Willem Melching 95957bc188
FW query: catch asserts from uds.py (#22456) 2021-10-07 10:34:59 +02:00
Jason Wen 8bd626aade
Hyundai: Add FW for 2021 Hyundai Ioniq PHEV (#22455)
* Hyundai: Add FW for 2021 Hyundai Ioniq PHEV

* Force recognition

* Revert "Force recognition"

This reverts commit 6283b7f4c2.

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-06 20:40:12 -07:00
Jason Wen d4ac05b77b
Hyundai: Add FW for 2021 Hyundai Elantra (#22461)
* Hyundai: Add FW for 2021 Hyundai Elantra

* Apply suggestions from code review

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-06 20:35:49 -07:00
Erich Moraga 519fdc0816
RIDGELINE add missing combinationMeter f/w (#22458)
`elliot sharpe <elliot2345@hotmail.com>`  2021 Ridgeline  DongleID/route 03ba90562055a83e|2021-10-06--08-27-30
2021-10-06 11:56:46 -07:00
Lee Jong Mun de88349ef0
hyundai clean up interface.py (#22408)
* Update interface.py

santa_fe / santa_fe_2022 same value 
kia_k5_2021 single value

* hyundai fw sort

# fwdRadar, fwdCamera, eps, esp, engine, transmission

kia ceed esp double fix 0x7d4 eps

* Update selfdrive/car/hyundai/interface.py

* Revert "hyundai fw sort"

This reverts commit 8ab24ffeeb.

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-10-05 09:41:20 +02:00
Jason Young 10ff1fefaf
VW MQB: Add FW for 2019 Volkswagen Jetta (#22435) 2021-10-04 14:12:53 -07:00
odomobo 037624de60
2022 Corolla engine FW (#22432) 2021-10-04 19:43:43 +02:00
Willem Melching 26ce0fa0cb
Honda Bosch: switch ACC_HUD between metric/imperial (#22428)
* Honda Bosch: switch ACC_HUD between metric/imperial

* bump opendbc
2021-10-04 18:42:06 +02:00
qadmus 3461e25944
Lateral PID: move steer feedforward to CarInterface (#22411)
* move steer feedforward to car interface, in car parameters

* LatControlPID.get_steer_feedforward()
2021-10-04 10:03:53 +02:00
Jason Young e98d125811
VW MQB: Add FW for 2018 Volkswagen Passat (#22418) 2021-10-03 16:39:37 -07:00
Kamil Klimkiewicz 2ab0d52fda
Add fingerprint for 2019 Honda Civic Hatchback (#22400)
Honda Civic Hatchback 1.0T Elegance (Europe - Poland)
2021-10-01 15:02:26 -07:00
Jason Wen 6018bda2ba
HKG: Car Port for 2021 Kia K5 (#22347)
* HKG: Kia K5 2021 Car Port

* Update CARS.md and RELEASES.md

* Add test route: Kia K5 2021

* Update firmware format due to recent query change

* Update CARS.md: not all 2021 Kia K5 have SCC

* Update test_routes.py
2021-09-30 14:35:14 -07:00
Jason Young b289ee6e53
VW MQB: Add FW for 2013 Volkswagen Golf (#22388) 2021-09-30 11:15:29 -07:00
martinl 4c45e90722
Subaru: update brake pressed signal (#21012)
* Change Global brakePressed to Brake_Status Brake signal

* Add Brake_Status Brake signal and check

* bump panda

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-28 22:00:35 -07:00
Adeeb Shihadeh 4c0b82308d
honda nidec: fix no acceleration with pedal (#22368) 2021-09-28 16:31:12 -07:00
Adeeb Shihadeh 3b8fa4b7fd
controls: only send cruise cancel while cruise is enabled (#22359)
* controls: only send cruise cancel while cruise is enabled

* cleanup

* might actually do something

* update refs

* update refs again

* update refs
2021-09-28 12:30:50 -07:00
cto424 d95641a594
2021 Hyundai Sonata engine FW (#22355)
* Update values.py

* Apply suggestions from code review

* Also duplicate

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-28 14:56:56 +02:00
smithula 8096da1dcd
Add Firmware 2021 Hyundai Sonata Hybrid (#22353)
* Update values.py

* Update values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-28 12:24:05 +02:00
Jason Young f03ee4599e
VW MQB: Fix min steer speed alerts (#22358) 2021-09-27 15:00:55 -07:00
ikawaoka ed5644fc1a
Add Prius prime 2017 FW versions (#22350) 2021-09-27 13:37:52 -07:00
Jason Young 0630c42602
VW MQB: Improve auto network location detect (#22351) 2021-09-27 10:12:26 -07:00
John Belmonte 29edd56049
honda: replace hard-coded address for STEERING_CONTROL check (#22352) 2021-09-27 10:11:58 -07:00
Erich Moraga 98ee53618d
Add missing COROLLAH_TSS2 engine f/w (#22346)
`emerson#6018` DongleID 4907c31e2bc2b77b
https://discord.com/channels/469524606043160576/524592892627517450/891336882485608559
2021-09-25 09:56:25 -07:00
Willem Melching 2d7d8fba99
Improve Hyundai FW query stability (#22344)
* extend timeout on valid response

* extend total timeout in fw query

* redundant query

* cleanup

* add 2 new sonata fw

* add cloudlog

* total timeout always 10x

* update ref

* time.monotonic()

* more logging
2021-09-24 17:32:09 -07:00
John Belmonte edabca193d
Car Port: Honda Freed 2020 (#22003)
* car port: Honda Freed

Popular 3-row compact minivan in Japan based on Fit platform.

test route: 2c4292a5cd10536c|2021-08-19--21-32-15

* missing DRIVERS_DOOR_OPEN signal on FREED

* remove redundant long parameters

* additional FW; confirm lack of stop-and-go

* restore gateway ECU to fingerprint

* corrected mass and wheelbase

* add another forwardRadar id
2021-09-24 17:11:47 -07:00
Jafar Al-Gharaibeh b170c1f4e1
Mazda: use cruise speed signal from PCM (#22345)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-24 16:58:32 -07:00
HaraldSchafer 4e939a9648
NIDEC pedal, good gas/brake transition (#22314)
* need gas to combat windbrake

* coasting deadzone

* no pcm gas and no pedal when braking
2021-09-24 11:24:49 -07:00
Willem Melching c68fc8ef9c
set Honda Bosch long lag to 1s (#22335)
* set Honda Bosch long lag to 1s

* update ref
2021-09-24 10:28:00 -07:00
Jason Young 6a18c8624f
VW MQB: Add FW for 2013 Volkswagen Golf (#22338) 2021-09-24 08:45:32 -07:00
Adeeb Shihadeh 649af76fd4
remove community supported cars from community features (#22330)
* remove community supported cars from community features

* remove bosch and hkg long

* remove test case

* update refs
2021-09-23 17:34:52 -07:00
Willem Melching 88d248a5af
Remove fuzzy fingerprint startup alert (#22328)
* deprecate fuzzy fingerprint startup alert

* bump cereal
2021-09-23 17:15:33 -07:00
Jason Wen 9acc592cd9
Hyundai: Car Port for 2022 Hyundai Santa Fe (#22325)
* Add fingerprint: Hyundai Santa Fe 2022

* Update LFAHDA_mfc: Add 2022 Hyundai Santa Fe

* Add car port: Hyundai Santa Fe 2022

* Add test route: Hyundai Santa Fe 2022

* Update RELEASES.md

* Update CARS.md

* Update RELEASES.md

* Remove FPv1 due to deprecation
2021-09-23 16:03:28 -07:00
Jason Young c51eba3fd6
VW MQB: Min steer speed support, other cleanup (#22324)
* VW MQB: Min steer speed support, other cleanup

* simplify

* more correct

* fix README
2021-09-23 15:12:57 -07:00
Andrew cc03ac49aa
add another transmission FPv2 for elantra hev 2021 (#22316) 2021-09-23 13:23:16 -07:00
Greg Hogan 793ceb6b56
hyundai: resume from stop faster (#22274)
* hyundai: resume from stop faster

* update ref_commit
2021-09-23 13:20:25 -07:00
Jason Wen 1ba28af265
2021 Hyundai Sonata N Line: Fingerprint (#22300)
* 2021 Hyundai Sonata N Line: Fingerprint

* Force FPv2: 2021 Hyundai Sonata N Line

* Revert "Force FPv2: 2021 Hyundai Sonata N Line"

This reverts commit 50351a3d17.

* remove too short fw versions

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-23 11:20:29 -07:00
Chris McCammon b59894ec6e
Highlander Firmware (#22304) 2021-09-21 18:06:56 -07:00
Cruise Brantley 75730c28ca
Radar tracks for Santa Fe (#22270)
* Radar tracks for Santa Fe

* add radar DBC

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-09-21 15:04:14 -07:00
Jason Young 37acee843e
VW MQB: Volkswagen Arteon Mk1 (#22297)
* VW MQB: Volkswagen Arteon Mk1

* add test route

* update release notes
2021-09-21 14:38:40 -07:00
Jason Young 869ae44ad3
VW MQB: Volkswagen Transporter/California T6.1 (#22283)
* VW MQB: Volkswagen Transporter/California T6.1

* reformat values

* update CARS

* add test route

* assume SWB for now

* Update RELEASES

* update platform comments
2021-09-20 13:41:39 -07:00
VictorLier 9d42afe8c0
Add 2017 Ioniq EV fw versions (#22277)
* 2017 ioniq EV fingerprint

* Update values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-19 14:35:28 -07:00
protonchang dc076baf39
Add FW versions for 2020 Toyota Corolla Cross (Taiwanese Version) (#21694)
* Add Fingerprint 2.0 for 2020 Toyota Corolla Cross (Taiwanese Version)

* Fix fingerprint typo
2021-09-17 19:15:26 -07:00
Kyle Greenlaw 839147a333
Add Hyundai Sonata Hybrid Radar FW for OP Long support (#22259)
* add mondo dbc to Sonata Hybrid

* 2021 Sonata Hybrid radar FW

* Add Sonata Hybrid to openpilotLongitudinalControl

* Whoops... ,
2021-09-17 19:12:54 -07:00
samuwh e8e83a3dcf
Added fw versions for Hyundai Elantra 2021 (#22256)
* Added fingerprint for Hyundai Elantra 2021

This fingerprint started popping up on my 2021 Hyundai Elantra SEL (non-hybrid).

* Update values.py

* Apply suggestions from code review

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-17 16:59:57 -07:00
Chris McCammon 5f85ea09cd
Add Odyssey fw versions (#22266)
* 6a492387bdfcb4ba

* rerun ci
2021-09-17 16:55:34 -07:00
Greg Hogan 3eac5fc177
hyundai: update radar message names (#22258) 2021-09-16 19:07:54 -07:00
Kyle Greenlaw f10ac7d060
Additional FW for Sonata Hybrid (#22252)
* Additional Fingerprint for Sonata Hybrid

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-16 11:59:48 -07:00
John Belmonte 7ee9ba34dd
Honda carstate: refactor MAIN_ON signal (#22226)
* Honda carstate: refactor MAIN_ON signal

MAIN_ON handling was scattered throughout the code since
the enclosing message differed by model.  Store the message
name in the instance.

Several cases in get_can_signals() and update() were
subsequently collapsed.

* remove duplicate BRAKE_HOLD_ACTIVE signal

* Update selfdrive/car/honda/carstate.py

* add some whitespace

* cleanup carstate

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-15 19:00:44 -07:00
Chris McCammon d6201ce95a
2020 Corolla Engine fw (#22244) 2021-09-15 17:13:22 -07:00