Commit Graph

3135 Commits

Author SHA1 Message Date
Justin Newberry 8ba5d660f3 common PlatformFlags base class + test for < 32 bits (#31779)
* add 32 bit check

* space

* this is not required

* jk yes we do
2024-03-07 14:01:28 -08:00
Justin Newberry a919d27afc fix car test routes typing (#31773)
* Fix typing

* and fix test_car_model

* fix
2024-03-07 11:33:40 -08:00
Justin Newberry ca79e3ec0b and controlsd (#31769) 2024-03-07 11:34:03 -05:00
Jason Wen 7f11517257 Nissan: Remove unused code (#31768) 2024-03-07 07:28:52 -08:00
Shane Smiskol cec9f59113 Toyota: set distance lines to max (#31728)
* press the button

* 33hz/2

* fix tests

* PCM_CRUISE_SM is a UI message: it goes to 0 when not displayed, and is much lower rate

* only change when enabled so we don't hide the welcome message on cruise main button

* unbump

* then you can get into a weird state

* stuff

* for unplugged DSU we can still read PCM distance, but not buttons

* skip

* skip
2024-03-07 03:53:41 -08:00
Alexandre Nobuharu Sato c4ef17ac28 Toyota TSS-P: parse distance button from SDSU (#31741)
* Toyota TSS-P: parse distance button from SDSU

* it's 1000hz wtf... da99509bd910288a/2024-03-04--13-51-30

* add events for SDSU

* need to check for CAN filter

* clena up

* check

* whoops

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-07 02:03:39 -08:00
Cameron Clough 98a491b1f2 Ford: parse distance button (#31733)
Ford: parse ACC gap toggle button

Use the ACC gap toggle button signal from the SCCM. There are two other
signals for "increase" and "decrease" gap buttons, but no supported car
has these buttons.
2024-03-07 01:54:33 -08:00
Shane Smiskol 2e0a4a8574 Hyundai: remove Sorento and G80 CAN fingerprints (#31758)
* Add FW

* rm can fp
2024-03-07 01:23:05 -08:00
Shane Smiskol 66680515a7 Hyundai Genesis: remove CAN fingerprints (#31757)
We already have the FW from 1bc85e3b0b53e1ad, 1b85fa0a357240ac, and cb5df08e7b5d0633
2024-03-07 01:09:08 -08:00
Shane Smiskol 9f7c577564 Hyundai Ioniq Hybrid 2017: remove CAN fingerprints fixing mismatch (#31755)
* Run bot on 0e13ee2b821302f4

* remove IONIQ CAN fingerprints and move to Niro PHEV (part numbers match!)

* remove dups

* best guess is Hyundai C (IONIQ is also)
2024-03-07 00:53:31 -08:00
Shane Smiskol 4624bb3d7c Sonata LF: remove CAN fingerprint (#31754)
add FW from 7ae1c131629d96e5
2024-03-07 00:24:50 -08:00
Shane Smiskol 2a29778ae2 HKG: test platform codes per platform (#31753)
* test

* clean up
2024-03-07 00:14:56 -08:00
Shane Smiskol 28b4e9962d Hyundai Palisade: allow fingerprinting without comma power (#31752)
* Palisade gets camera, radar, eps

* Add versions from d23a555519923793

* add FW from 0af43ba62cc3ffc4

* remove CAN fingerprints!
2024-03-06 23:39:11 -08:00
Shane Smiskol 78a46ce724 car values formatting (#31747)
values formatting
2024-03-06 15:47:44 -08:00
Robbe Derks 7177ec0631 Tesla Raven (#29947)
* fingerprinting

* wip

* bug

* fix another bug

* fix rebase

* clean up raven

* forgot to save

* one more rename

* one more rename

* radar fixes

* AP1 also has bosch radar

* put back dashcamOnly

* small fixes

* raven flag

* fix bug

* fix raven flag

* bump opendbc

* fix radar trigger for non-raven

* fix tests?

* bump panda

* more test fixes

* tesla fingerprinting is a bit slower now

* fix tests

* bump opendbc

* bump submodules to master

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-03-06 21:14:48 +01:00
Justin Newberry 25ccb2426c cars: remove CAR_INFO map (#31739)
* no carinfo map

* smaller diff

* not on mock
2024-03-06 11:22:12 -08:00
Justin Newberry 233f0437d9 add get_car_interface helper (#31738)
add helper
2024-03-06 10:56:46 -08:00
Shane Smiskol 079b713097 Lexus: add missing IS 2023 FW versions (#31729)
* ahh it has a different engine!

* flip
2024-03-06 02:40:31 -08:00
James a2de0115b3 Toyota TSS2: parse distance button (#31722)
* Enable the distance button to switch personalities for Toyota/Lexus

* Default to the "standard" personality for now

* only parsing first

* only parse

* no personality in card

* safe

* comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-06 01:06:06 -08:00
Shane Smiskol 0da9a1ea75 [bot] Fingerprints: add missing FW versions from new users (#31682)
Export fingerprints
2024-03-06 00:46:12 -08:00
Shane Smiskol 1b9df8aca6 Toyota: move stop and go cars to one tuple (#31726)
* One tuple!

* rm
2024-03-05 23:23:47 -08:00
Shane Smiskol fcd33786ca Toyota: remove Mirai from interface (#31725)
* mirai

* just mirai
2024-03-05 23:11:10 -08:00
Shane Smiskol 2df61a30eb Toyota: flag for cars without PCM accel limit under 19 mph (#31724)
use flags
2024-03-05 23:04:41 -08:00
Shane Smiskol 342a20ef8e Toyota Highlander: also check unplugged DSU to enable sng (#31723)
* also check unplugged DSU

* fix
2024-03-05 22:50:14 -08:00
Shane Smiskol eaefdb386f Toyota: Highlander can not do sng as standard (#31721)
* .

* update docs

* fix docs

* Update selfdrive/car/toyota/interface.py
2024-03-05 21:34:06 -08:00
Shane Smiskol ed39519014 Hyundai: remove OBD ECUs for Sonata 2020+ (#31458)
no abs on hybrid, and we have eps!
2024-03-05 20:08:15 -08:00
gkiss1977 8958dbaa09 Added KIA_EV EU EPS fingerprint (#30937)
Co-authored-by: Gabriel Kiss <kiss@ntnu.no>
2024-03-05 20:03:57 -08:00
dgcntrk 5bb223a7bf Hyundai: add Tucson 2022 PHEV camera FW version (#31408)
* Update fingerprints.py Hyundai Tucson 2022 phev

* Apply suggestions from code review

* format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-05 19:59:55 -08:00
Saber 9f5d316c7a VW MQB: Add FW for 2023 Karoq (#30713)
* VW MQB: Add FW for 2023 Karoq

route name:9c3d97394a78e872|2023-12-12--14-39-47--6

* add to fp

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-05 19:50:06 -08:00
noname314 95a80fd2cd HKG: Add FW versions and Enable Radar Tracks for KOR Sonata DN8 Hybrid 2020 (#31371)
* HKG: Add FW versions for KOR Sonata DN8 Hybrid 2020

* HKG: Enable radar tracks for KOR Sonata DN8 Hybrid 2020

* rm extra

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-05 18:08:32 -08:00
Shane Smiskol 6919c37445 Reapply "Hyundai Azera: allow fingerprinting without comma power (#31717)" (#31719)
* Revert "Revert "Hyundai Azera: allow fingerprinting without comma power" (#31…"

This reverts commit 1ffc58a69a.

* we should get EPS

* add EPS to non-logging can 0 query
2024-03-05 18:00:47 -08:00
MJ Kim 2d2695cd6e Hyundai: AZERA_HEV_6TH_GEN (Update fingerprints.py) (#31684)
* Update fingerprints.py

Hyundai AZERA_HEV_6TH_GEN

* no new CAN fingerprints

* no crnr rdr

* Update selfdrive/car/hyundai/fingerprints.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-05 18:00:39 -08:00
Shane Smiskol 1ffc58a69a Revert "Hyundai Azera: allow fingerprinting without comma power" (#31718)
Revert "Hyundai Azera: allow fingerprinting without comma power (#31717)"

This reverts commit ccda4119a8.
2024-03-05 17:51:13 -08:00
Shane Smiskol ccda4119a8 Hyundai Azera: allow fingerprinting without comma power (#31717)
* do azera

* azera is same

* need to do this
2024-03-05 17:49:18 -08:00
Kacper Rączy ecce4663d3 RadarInterfaceBase: remove no_radar_sleep field (#31715)
Remove no_radar_sleep field from base radar interface
2024-03-05 16:45:47 -08:00
Cameron Clough fb81cfe3c4 fw_versions: add more type hints (#31577)
* fw_versions: add more type hints

* cleanup

* fixes

* more implicit optional

* Update selfdrive/car/fw_versions.py

* backslash is unnecessary inside parenthesis

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-03-05 15:33:39 -08:00
Shane Smiskol 638aaa9e53 Platform configs: move tire stiffness into config (#31678)
* first one to open PR

* mazda

* oh it is

* fix gm car specs and create MazdaCarSpecs

* fix

* do honda

* ruff
2024-03-05 15:10:58 -08:00
Justin Newberry deb79a9c44 card: fix startup condition (#31698)
fix default cc
2024-03-04 16:18:16 -08:00
Justin Newberry bc2407abeb move card to selfdrive/car/card (#31693)
* more obivous dif

* release
2024-03-04 10:45:32 -08:00
Jason Young 15955bfcd0 VW: Early EPS faults are temporary, round deux (#31525)
* VW: Early EPS faults are temporary, round deux

* a bit cleaner

* Revert "a bit cleaner"

This reverts commit e836f92394eba0ace8d9cc87b5aa5080d6332d17.

* a little better

* clarity

* consolidate

* cleanup
2024-03-03 17:40:27 -08:00
Shane Smiskol 6fc0a2102f Add Highlander 2024 to car docs 2024-03-03 07:21:53 -08:00
Shane Smiskol 3b5f6cd6b2 [bot] Fingerprints: add missing FW versions from new users (#31610)
* Export fingerprints

* Update selfdrive/car/toyota/fingerprints.py
2024-03-01 23:59:28 -08:00
Shane Smiskol eaf3332599 Revert "mazda"
This reverts commit b57d371626.
2024-03-01 21:37:29 -08:00
Shane Smiskol b57d371626 mazda 2024-03-01 21:37:09 -08:00
Shane Smiskol b74e8c91bd Hyundai: clean up platform configs (#31677)
* formatting

* should always end with comma

* rest are lower

* to avoid confusion, don't subclass from CAN config -- nothing is common
2024-03-01 17:17:52 -08:00
Shane Smiskol 77d896eb89 Honda: two base platform configs (#31676)
* subclass bosch and nidec

* end with comma

* one line

* remove unused flags

* as a test see what happens if we exceeed CP.flags

* Revert "as a test see what happens if we exceeed CP.flags"

This reverts commit f57a346df5e6f3c6ab19875b843633c0571d16e3.

* Update ref_commit
2024-03-01 17:16:46 -08:00
Shane Smiskol 81bed0aad8 Honda Bosch: fix detection for alternate brake signal bug (#31675)
statically set alt brake for platforms where we don't need detection yet
2024-03-01 16:37:09 -08:00
Shane Smiskol bf20358440 CI: increase test car interfaces examples (#31641)
* increase

* huh

* Revert "huh"

This reverts commit 1a652cbed06a7c814711db6f2bc6b3146d3aec04.

* no huge fp dicts

* ugh

* try 300

* test

* at least increase a bit
2024-03-01 16:11:48 -08:00
Jason Young 50a754f470 VW PQ: Volkswagen Caddy Mk3 (#31670) 2024-03-01 16:41:56 -05:00
Jason Young e0c840cd02 VW: Cleanup, migrate center-to-front ratio to CarSpecs (#31668)
* VW: Cleanup after PlatformConfig refactor

* whitespace fix
2024-03-01 12:05:28 -08:00