Commit Graph

499 Commits

Author SHA1 Message Date
Erich Moraga c8676c69e3 Added additional IS 300 engine f/w (#2015)
@Asochgelt#1815 DongleID|route 3da61f28d4ece0e8|2020-08-11--09-25-48

Also expanded the firmware layout to make additional f/w entries easier.
old-commit-hash: 8c9378af794c49e1e1958863b5b0feef10dd771d
2020-08-11 11:29:19 -07:00
martinl 6a000279ad Add preglobal Subaru Forester and Outback (#1993)
* Add preglobal Forester and Outback

* Tests and values cleanup

* Update units in carstate

* Remove ()

* Add OUTBACK_PREGLOBAL_2018 to non_tested_cars

* Add replay route for OUTBACK_PREGLOBAL_2018
old-commit-hash: c9adc4900b2e26d0582cb264da2e547a513de831
2020-08-10 12:31:40 -07:00
xps-genesis 83ae9ef377 Car Port: Hyundai Genesis G70 2018 (#2000)
* Car port Genesis G70

* Car port G70

* rebase

* update G70 car port

* Update README.md

* no space

* rebase mistake

* Update values.py

* Update values.py

* Update values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a16a948f9ee434c69a72f8aac39405a14ba62073
2020-08-08 22:20:25 -07:00
Adeeb Shihadeh c4ce441026 Remove non-SCC Hyundai Kona port (#1997)
old-commit-hash: 5e82578a1b66a1e13753d2258f32950aece48942
2020-08-08 11:48:16 -07:00
martinl 0aeae7d81e Subaru pre-global: add support for Subaru Legacy 2015-18 (#1805)
* Add support for Subaru Legacy 2015-18

* syntax fix

* Add Legacy 2018 FPv1

* Add Subaru Ascent from upstream

* Use GLOBAL_CAR and LEGACY_CAR lists

* Change LEGACY_2015 to LEGACY_PREGLOBAL

* Add LEGACY_CAR to carstate

* Change LEGACY_2015 to LEGACY_PREGLOBAL in test_car_models

* Add missing SafetyModel to Ascent

* Use GLOBAL_CAR and LEGACY_CAR to set safetyModel

* Change LEGACY_CAR to PREGLOBAL_CARS, remove GLOBAL_CAR

* Fix PREGLOBAL_CARS in carstate and subarucan

* Minor cleanups

* Add accelCruise button event

* Change Preglobal Driver Torque limit to match Global

* Match comments to upstream

* Use Steer_Warning and Steer_Error_1 only for Global

* Change mph units to match upstream values

* Increase Preglobal brakePressed  threshold to 2

* Add DashcamOnly to LEGACY_PREGLOBAL

* Fix typo in variable name

* Update README, add create_preglobal_steering_control

* cleanup carcontroller

* cleanup values

* missed that one

* Update STEER_STEP

* Update STEER_MAX

* Add preglobal signal frequency checks

* remove PREGLOBAL_CARS from subarucan

* Remove whitespace

* Use common frequency checks

* cleanup carstate

* cleanup subarucan

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e37b8e5d5632a7cc48326f7ca162ef87f259e526
2020-08-06 21:55:13 -07:00
VirtuallyChris 1ef178279f Add Camry 2020 camera fw
old-commit-hash: 0fd763f90256a7b1fce389bd69aff47e37e394a2
2020-08-06 16:39:06 -07:00
Cruise Brantley 7996e51de3 Add Kia Stinger transmission FW version (#1975)
* new Stinger transmission fingerprint

* Formatting
old-commit-hash: 85fc85b3c8e20d6b970e88774f84ac415c19f1ea
2020-08-04 13:05:13 -07:00
Adeeb Shihadeh dc5a5160d8 Add missing chrysler can parser checks (#1967)
* add missing chrysler can parser checks

* toyota

* toyota cam

* toyota freqs

* chrysler freqs

* doors

* just chrysler for now

* update refs

* update again
old-commit-hash: 1e44b99478e22d89e9b5077aa9e9d6b2aeee37dd
2020-08-02 18:11:42 -07:00
xps-genesis 5cecf53e5f Add Hyundai Veloster 2019 (#1955)
* Add Hyundai Veloster 2019

* Add Hyundai Veloster interface.py

* add route for Hyundia Veloster

* steer ratio fix

* Update interface.py

* new longer route

* space

* ignored fingerprint

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6e1bcdcb34d8361379cb2a21ea043ba331c3dabf
2020-08-02 15:45:41 -07:00
Adeeb Shihadeh 904217b646 Update Hyundai DBC (#1968)
* update for new DBC update

* update to new DBC

* Ioniq uses SCC12. Ioniq EV lim uses FCA11

* update elect gear to EV_PC5 signal

* remove 'alt' from label

* revert

* update name to ev_pc5_gears

* update name to use_ev_pc5_gears

* Update values.py

* Update carstate.py

* bump opendbc

Co-authored-by: xps-genesis <65239463+xps-genesis@users.noreply.github.com>
old-commit-hash: 059a27d12697e48b10c00fc345812704d7ba4640
2020-08-02 15:19:27 -07:00
Adeeb Shihadeh 1644e81dfb Add frequency check to hyundai camera can parser (#1965)
old-commit-hash: e10376f1aead6db2a40aa367dfccbb7b184abbcd
2020-08-02 11:17:18 -07:00
Adeeb Shihadeh 2f1d9daa9a Run CI tests in parallel (#1962)
* run car model unit tests in parallel

* remove refs to deleted file

* run with coverage

* that wasn't necessary

* as builder

* need a new route for this one too
old-commit-hash: 9ee1cc9b828e8018fa37443d90dba95f8a032260
2020-08-02 00:30:09 -07:00
Adeeb Shihadeh 224b7fd34b Remove get_one_can from messaging (#1946)
* move get_one_can into openpilot

* bump cereal
old-commit-hash: 714f8c3f0bf8fa98a4619763d46ecb3ea29bc9f6
2020-07-28 23:52:18 -07:00
xps-genesis c50e01474e new palisade fingerprint (#1945)
* new palisade fingerprint

* update 1

* FP2 added

* spacing adjust

* missed a syntax
old-commit-hash: 9853b5b1dfff60afdadb95aebe5ad5b23d09a3b1
2020-07-28 20:22:43 -07:00
Adeeb Shihadeh c6eac9e30b Add Lexus RX300 2019 FW (#1838)
* Add Lexus RX300 2019 fw

* build tmp branch

* Revert "build tmp branch"

This reverts commit e487ca13458ac0c8c75d2fd3600567b3c22a5ab3.

Co-authored-by: VirtuallyChris <chrismccammon123@gmail.com>
old-commit-hash: 5453d8dd302918bf1aa71c46cb067489b2f37a03
2020-07-27 15:59:59 -07:00
Adeeb Shihadeh 9ca2bbfc40 kia stinger: use hyundaiLegacy safety mode and add test route
old-commit-hash: 360cd7d8a86460fcc339ead89c0c6a439417eb66
2020-07-26 14:09:49 -07:00
Adeeb Shihadeh 39d98d3d2d Car cleanup (#1924)
* cleanup car code

* more pruning

* little more

* less pylint disables

* radar stuff

* fix

* udpate refs

* fix honda bosch

* fix test
old-commit-hash: 892e1162c0bfa0970cbe262452a70745eccb8ba6
2020-07-25 15:07:27 -07:00
Adeeb Shihadeh dbdcaef1a1 Test Car Models 2.0 (#1903)
* start with radar interface

* car interface

* panda safety rx check

* check panda safety inits

* check NO_RADAR_SLEEP in all radar interfaces

* sonata 2019 and kia optima should use hyundai legacy safety

* check radar errors

* check radar can errors

* real fingerprint

* run in CI

* it shoud pass now

* ignore old openpilot msgs

* ensure safety mode is set

* sort can msgs

* filter out openpilot msgs
old-commit-hash: 99106fd9c465b366c7c61b8a0452b73455a9b96d
2020-07-25 02:27:56 -07:00
xps-genesis bf5dfac4a4 Use hyundai legacy safety for Kia Sorento (#1912)
confirmed kia sorento to use legacy safety checks
old-commit-hash: 3a1b08eb9d0f82f4b15862431fe5164e752c1509
2020-07-23 15:45:19 -07:00
martinl 54e4939168 Subaru Global generated dbc and new signals (#1908)
* Change carstate signals to use feature-subaru-long dbc

* Add Conventional_Cruise signal to carstate

* Fix Conventional_Cruise signal source

* Use Cruise_Cancel signal in subarucan

* switch to subaru-global-2020 opendbc branch

* Update release file

* bump opendbc

* switch panda to subaru-global-carstate branch

* bump panda

* bump opendbc

* revert submodules for upstream PR

* switch panda and opendbc to upstream

* bump opendbc
old-commit-hash: a086f52881f4a1f0d20486e7fa089a843d5d8b34
2020-07-23 12:28:23 -07:00
Erich Moraga 8fe78bbf06 Add fwdCamera f/w for 2020 Corolla Hybrid ZR (AUS) (#1911)
@iamty#6048 DongleID c4bfe655c9130ba4
old-commit-hash: 8f6ea693963bfed8ccd27481c69dd6a7dd969458
2020-07-23 17:32:16 +02:00
Greg Hogan f646a64cce Honda CRV BSM alert from B-CAN (#1867)
old-commit-hash: 825821f010db63c3498d3730069f3eac08ace789
2020-07-21 17:41:45 +02:00
Chris Souers 750d422fb6 Add 2020 Insight FW (#1879)
old-commit-hash: 85000dd5cc4a5171789f970689dfb32dc31be4a1
2020-07-21 12:06:21 +02:00
Andre Volmensky 2809e447ad Nissan: Tweaking steeringPressed/LKAS_MAX_TORQUE (#1865)
* Tweaking steeringPressed/LKAS_MAX_TORQUE

* Update ref commit
old-commit-hash: da5dc7693edc12dd281ce365a655dab56fb62494
2020-07-20 16:30:40 -07:00
Adeeb Shihadeh c892049210 Revert "Update values.py (#1824)"
This reverts commit 1ba4b03ab3750db7aeb8655f14f86458a448f249.

old-commit-hash: 2d4f0c49fa15c423be2ce25716fbc9c9e9c4f2b1
2020-07-20 15:41:57 -07:00
s70160 8661f5f656 Update values.py (#1824)
CAR.IONIQ_EV_LTD: [{
68: 8, 127: 8, 304: 8, 320: 8, 339: 8, 352: 8, 356: 4, 544: 8, 576:8, 593: 8, 688: 5, 832: 8, 881: 8, 882: 8, 897: 8, 902: 8, 903: 8, 916: 8, 1040: 8, 1056: 8, 1057: 8, 1078: 4, 1136: 6, 1173: 8, 1225: 8, 1265: 4, 1280: 1, 1287: 4, 1290: 8, 1291: 8, 1292: 8, 1294: 8, 1322: 8, 1342: 6, 1345: 8, 1348: 8, 1355: 8, 1363: 8, 1369: 8, 1407: 8, 1427: 6, 1429: 8, 1430: 8, 1448: 8, 1456: 4, 1470: 8, 1476: 8, 1535: 8
}],
old-commit-hash: 2052bd69f1ebb5133869f47cfeed60d63962138c
2020-07-20 14:10:21 -07:00
cfranhonda 0059e653f0 Update civic bosch longitudinal tuning (#1875)
These are the correct values when i was testing visionradar. Things got messed when Civics were coded together and got split up again.
old-commit-hash: 1613abb0b15e24e3d0ddec3efdbd0d61581e6d2b
2020-07-20 17:03:20 +02:00
Adeeb Shihadeh 370a68623e minor cleanups from LGTM
old-commit-hash: 35a5b057c1ab6d3f77daae6a40d14c9bff28f08b
2020-07-17 23:34:38 -07:00
Alfonso Hernandez 0e0b6c0f57 Adding fingerprinting values for Toyota Rav4 Hybrid TSS2 Germany (#1885)
old-commit-hash: cdd9eb32a2e0b1ea10d6634b4ff8e9f56b3350af
2020-07-17 10:33:35 -07:00
Adeeb Shihadeh 5913405951 2020 Jeep Grand Cherokee fingerprint
Squashed commit of the following:

commit a1a14048375b4d9c9181b2797621e999738104f8
Author: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Date:   Mon Jul 13 16:30:54 2020 -0700

    cleanup

commit cf7d4bb162c5018a05b81dd83f124b3ef7826714
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 21:08:59 2020 -0700

    added missed value

commit b91af6eef1b5d966cf4342475a37129ddb46e8de
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 20:52:41 2020 -0700

    Update values.py

commit d3d564fc76db19eae1464d6d938fdc43aa9b6d4e
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Fri Jul 10 00:23:35 2020 -0700

    add support for 2020 Grand Cherokee

old-commit-hash: 1ef3b2095564518cd16190f1f4ed2c2d3030e7a2
2020-07-13 17:00:27 -07:00
martinl 0d6df8fc79 Add APPROACHING signals for Subaru blindspot monitoring (#1864)
old-commit-hash: 7b2789aa3aa36611c06301de6e56d2cdf1af96a6
2020-07-11 14:36:26 -07:00
s70160 c2836f6112 Add hyundai ioniq 2018 fingerprint (#1863)
old-commit-hash: 1286b45bfeb1b62bf756e474cbe34dd3fd3e4a8d
2020-07-11 00:17:32 -07:00
Adeeb Shihadeh a9a1a3a2ba Simplify hyundai resume logic (#1852)
* simplify hyundai resume logic

* more reliable

* SCC doesn't resume under 3.7m
old-commit-hash: b81f404457b2bfeee1d9c18c86af2aeb167b9403
2020-07-10 12:53:14 -07:00
Adeeb Shihadeh 100f6914b3 promote sonata
old-commit-hash: d0b7760731f1e310c7770dafee215ed2dee0d92d
2020-07-10 11:48:55 -07:00
Adeeb Shihadeh 4e25a5862c all genesis have BSM standard
old-commit-hash: d2784f0ff07c95046c5a17a5b903877030b80e75
2020-07-09 18:42:05 -07:00
Scott Adair 71a537f29d Add BSM Support for the Palisade (#1851)
Us Palisade drivers love BSM as much as the Sonata drivers, maybe more because our blind spots are bigger...

Anyway, BSM is standard across all trims so it's safe to enable support
old-commit-hash: c6caf061c7a2ad8b6b360c0c7698719fbb2dd628
2020-07-09 18:38:27 -07:00
Adeeb Shihadeh 00b5cba95a only check BSM on sonata for now, not equipped on all HKG
old-commit-hash: 8bf198ba7de7f50274cb3b1ebca938031b71ced1
2020-07-09 18:26:06 -07:00
Adeeb Shihadeh 88d80cee39 Hyundai: use SCC12 for stock ADAS signals on cars that don't have FCA11 (#1849)
* some hyundai use SCC12 for AEB/FCW

* add other cars from fingerprints

* comment
old-commit-hash: 7cfdeb1a3246267598ec50eed092ad02802eed3b
2020-07-09 17:52:48 -07:00
Andre Volmensky a29579eae6 Nissan: Increase steer pressed threshold (#1833)
* Increasing steer threshold

* Update ref commit
old-commit-hash: 977a6ba46b23f0c1f52bbe59579d5c6908294f94
2020-07-09 13:50:50 +02:00
Erich Moraga 925da66edb Added COROLLAH_TSS2 engine f/w (#1845)
Requious#7292 DongleID bfe8b7e3fabc420f
https://discord.com/channels/469524606043160576/524327905937850394/730546409396240416
old-commit-hash: beb130789fecadd40f4ac76d260bb686cbcf32b0
2020-07-08 15:38:51 -07:00
Erich Moraga e7351b7d10 Added engine f/w for CAR.COROLLAH_TSS2 (#1832)
Jordi#2212's 2020 Toyota Corolla Touring Sports 2.0 Hybrid (EU) DongleID 221a06e11b28330b
https://discord.com/channels/469524606043160576/524327905937850394/729778471869612173
old-commit-hash: 9adfc83b23ff9973c7a5053f4b5d8cc5881600d7
2020-07-06 12:31:12 -07:00
Jafar Al-Gharaibeh 6af4e85487 Mazda BSM (#1830)
* Mazda BSM support

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

* Add Mazda3 2017 and CX-9 2016 Fingerprints

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: d5d0e75070b3f39f9d1dba3306b2b9bbffe46911
2020-07-06 10:25:17 -07:00
TK211X 73c800a16c Update 2020 Sonata Print (#1806)
The Korean version has extra features.
old-commit-hash: d417481e2b7bc364342be29d2611bfb6dcec656b
2020-07-03 16:29:31 -07:00
Adeeb Shihadeh e50c6ad58d Subaru cleanup (#1809)
old-commit-hash: 30d6d77e26e2608ff9ad607a7353fadc0347d419
2020-07-02 13:37:53 -07:00
martinl dfee3692f6 Support for 2019 Subaru Ascent (#1801)
* Add support for Subaru Ascent 2019

* remove duplicate safetyModel

* Add Ascent 2019 to README.md
old-commit-hash: b1abf17752f7631014d855466c46f2aef71bc604
2020-07-01 16:54:40 -07:00
Adeeb Shihadeh 3cadb46f31 Fix CAN Error on Kona EV (#1800)
old-commit-hash: 83af35bf95e794f0968fc3a8e18333d96c786172
2020-06-29 18:39:50 -07:00
Erich Moraga 77c699af5b CAR.COROLLA_TSS2 engine and ESP f/w (#1794)
@stevheng#6662's 2019 Australian Corolla HB  DongleID/route 0a9995ae54acb892|2020-06-28--07-24-06
old-commit-hash: c6bf0f0b576804b5c63b053134add9a9c8bba8c3
2020-06-28 17:16:32 -07:00
Adeeb Shihadeh 0722b40c04 Hyundai Ioniq SE 2020 (#1786)
* Update values.py

* Update carcontroller.py

* Update values.py

* Update interface.py

* Update carcontroller.py

* add test route

* readme

Co-authored-by: baldwalker <insigniadesign@yahoo.co.uk>
old-commit-hash: 57deb3a8930c3fa9140b48338c599dfda0f59435
2020-06-26 12:25:09 -07:00
xps-genesis 7aff353362 Add Hyundai BSM signals (#1782)
* Add Hyundai BSM signals

to take advantage of BSM to block lane change when BSM active.

* bug, added LCA11 to canparser

previous check failed, fixed by adding LCA11 to canparser

* update refs

Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
old-commit-hash: 57f29968a2662bb49807f15165fd69254da0cc93
2020-06-26 12:16:06 -07:00
Willem Melching 3cc539e83a Honda Bosch, use proper non adaptive cruise mode alert
old-commit-hash: 611dc4c37f4a607c26542dce67d7568a8319cf55
2020-06-24 18:48:57 -07:00