Commit Graph

3315 Commits

Author SHA1 Message Date
Alexandre Nobuharu Sato edefdce5ec 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>
old-commit-hash: c4ef17ac28fdd2130fb8b9f4463575904739f394
2024-03-07 02:03:39 -08:00
Cameron Clough 1ed0a0e1cb 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.
old-commit-hash: 98a491b1f2f20f6ece847f4ad57369bc429b7e93
2024-03-07 01:54:33 -08:00
Shane Smiskol 782b64ad03 Hyundai: remove Sorento and G80 CAN fingerprints (#31758)
* Add FW

* rm can fp
old-commit-hash: 2e0a4a8574c1d576b898b677b441f1014d536687
2024-03-07 01:23:05 -08:00
Shane Smiskol 2a39c87af1 Hyundai Genesis: remove CAN fingerprints (#31757)
We already have the FW from 1bc85e3b0b53e1ad, 1b85fa0a357240ac, and cb5df08e7b5d0633
old-commit-hash: 66680515a79a29feb27d7dc3780232478ccd1ad8
2024-03-07 01:09:08 -08:00
Shane Smiskol 1b1b470abd 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)
old-commit-hash: 9f7c577564ba7f267a1e4d94c3d61ef41149b04c
2024-03-07 00:53:31 -08:00
Shane Smiskol 7b295b9a0d Sonata LF: remove CAN fingerprint (#31754)
add FW from 7ae1c131629d96e5
old-commit-hash: 4624bb3d7cf30db4fc8d1a68aa0cf21e1ad9ff0c
2024-03-07 00:24:50 -08:00
Shane Smiskol 8386f4ccf6 HKG: test platform codes per platform (#31753)
* test

* clean up
old-commit-hash: 2a29778ae2c7af26cfc014d04dadf15b1c0a5c66
2024-03-07 00:14:56 -08:00
Shane Smiskol 2741025bde Hyundai Palisade: allow fingerprinting without comma power (#31752)
* Palisade gets camera, radar, eps

* Add versions from d23a555519923793

* add FW from 0af43ba62cc3ffc4

* remove CAN fingerprints!
old-commit-hash: 28b4e9962d907533a367a855d25391a7c08304f1
2024-03-06 23:39:11 -08:00
Shane Smiskol 3af6ec73ee car values formatting (#31747)
values formatting
old-commit-hash: 78a46ce72499ce627c50ff95aa630602e71b8e39
2024-03-06 15:47:44 -08:00
Robbe Derks 8a2766a86b 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>
old-commit-hash: 7177ec06312c574aeb21dd261004be44bda5ba29
2024-03-06 21:14:48 +01:00
Justin Newberry e6dbf6d614 cars: remove CAR_INFO map (#31739)
* no carinfo map

* smaller diff

* not on mock
old-commit-hash: 25ccb2426c0b54dbf823b9e7e6d63607b37d9c5a
2024-03-06 11:22:12 -08:00
Justin Newberry e68f11ef60 add get_car_interface helper (#31738)
add helper
old-commit-hash: 233f0437d901eaa09a233ffb28b44feacced6b52
2024-03-06 10:56:46 -08:00
Shane Smiskol d42f03d433 Lexus: add missing IS 2023 FW versions (#31729)
* ahh it has a different engine!

* flip
old-commit-hash: 079b7130978f251a6e67bd9a076a3e1035847706
2024-03-06 02:40:31 -08:00
James 79e15ddbc1 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>
old-commit-hash: a2de0115b3cc46521f395953d97a94cd846c5f9d
2024-03-06 01:06:06 -08:00
Shane Smiskol 2c38c6442b [bot] Fingerprints: add missing FW versions from new users (#31682)
Export fingerprints
old-commit-hash: 0da9a1ea75413a08fb1f2f239b766d5ac3343634
2024-03-06 00:46:12 -08:00
Shane Smiskol f54f506c20 Toyota: move stop and go cars to one tuple (#31726)
* One tuple!

* rm
old-commit-hash: 1b9df8aca62bd57c81d82c7b8fb5683029b507ae
2024-03-05 23:23:47 -08:00
Shane Smiskol e323aa2cba Toyota: remove Mirai from interface (#31725)
* mirai

* just mirai
old-commit-hash: fcd33786ca85a25fb11afc22d4498edd97e6b178
2024-03-05 23:11:10 -08:00
Shane Smiskol 5529a16fff Toyota: flag for cars without PCM accel limit under 19 mph (#31724)
use flags
old-commit-hash: 2df61a30eb89b426ad937dbc6446326c04a9c73a
2024-03-05 23:04:41 -08:00
Shane Smiskol 5ac144fcdd Toyota Highlander: also check unplugged DSU to enable sng (#31723)
* also check unplugged DSU

* fix
old-commit-hash: 342a20ef8eca413fb4e48fc0dafe6bbca7471d1c
2024-03-05 22:50:14 -08:00
Shane Smiskol c195296036 Toyota: Highlander can not do sng as standard (#31721)
* .

* update docs

* fix docs

* Update selfdrive/car/toyota/interface.py
old-commit-hash: eaefdb386fd05780c31b1294b2bb5cab59cb3147
2024-03-05 21:34:06 -08:00
Shane Smiskol 2e18937108 Hyundai: remove OBD ECUs for Sonata 2020+ (#31458)
no abs on hybrid, and we have eps!
old-commit-hash: ed395190149c4b509b8bee9e0f18108a5bc6ce8e
2024-03-05 20:08:15 -08:00
gkiss1977 e6a576945f Added KIA_EV EU EPS fingerprint (#30937)
Co-authored-by: Gabriel Kiss <kiss@ntnu.no>
old-commit-hash: 8958dbaa09830f4567600855dfc147ddc4a589a2
2024-03-05 20:03:57 -08:00
dgcntrk 749cf4b83f 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>
old-commit-hash: 5bb223a7bf0629fc48aee7c395f08da3c7364cdf
2024-03-05 19:59:55 -08:00
Saber ca1b0ecae4 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>
old-commit-hash: 9f5d316c7a7e57a329789f1ef8ea026e2648cf32
2024-03-05 19:50:06 -08:00
noname314 d2528bcc8b 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>
old-commit-hash: 95a80fd2cd326c9dba3cbbfc5708ef284aec78c6
2024-03-05 18:08:32 -08:00
Shane Smiskol b7a7897170 Reapply "Hyundai Azera: allow fingerprinting without comma power (#31717)" (#31719)
* Revert "Revert "Hyundai Azera: allow fingerprinting without comma power" (#31…"

This reverts commit 4b95ec5db27ee95231cffd23d1227ae936f72e98.

* we should get EPS

* add EPS to non-logging can 0 query
old-commit-hash: 6919c3744563e0c24acfd7395fdf297d3152d970
2024-03-05 18:00:47 -08:00
MJ Kim 6ef3e1ab24 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>
old-commit-hash: 2d2695cd6e474f1d2c084f912303374dfa93b5bc
2024-03-05 18:00:39 -08:00
Shane Smiskol 368cb12207 Revert "Hyundai Azera: allow fingerprinting without comma power" (#31718)
Revert "Hyundai Azera: allow fingerprinting without comma power (#31717)"

This reverts commit 17a5240caa54d1f305e205820415916f9dc64cde.
old-commit-hash: 1ffc58a69a94efd70bf215bc9a324f17513bec85
2024-03-05 17:51:13 -08:00
Shane Smiskol 9146d560f7 Hyundai Azera: allow fingerprinting without comma power (#31717)
* do azera

* azera is same

* need to do this
old-commit-hash: ccda4119a8ce539c475a820ae53600b048599088
2024-03-05 17:49:18 -08:00
Kacper Rączy 0f8a2c80e0 RadarInterfaceBase: remove no_radar_sleep field (#31715)
Remove no_radar_sleep field from base radar interface
old-commit-hash: ecce4663d3f90d69c4592d3496de650c6714a75f
2024-03-05 16:45:47 -08:00
Cameron Clough c5d4bb7ad2 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>
old-commit-hash: fb81cfe3c41fabb33effa4027bb5eed95ced9f19
2024-03-05 15:33:39 -08:00
Shane Smiskol be4375a3ae 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
old-commit-hash: 638aaa9e53459127a0a1bbd757f85ef1ae16098d
2024-03-05 15:10:58 -08:00
Justin Newberry 9e54339af7 card: fix startup condition (#31698)
fix default cc
old-commit-hash: deb79a9c443fa1fc1499e40a97757c7d8b6af735
2024-03-04 16:18:16 -08:00
Justin Newberry 88467a0669 move card to selfdrive/car/card (#31693)
* more obivous dif

* release
old-commit-hash: bc2407abeb68bce9c0fa94e3c7df1b1d0799e660
2024-03-04 10:45:32 -08:00
Jason Young 1bbc97f242 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
old-commit-hash: 15955bfcd0cafb7578103705d4de7c465d8364a2
2024-03-03 17:40:27 -08:00
Shane Smiskol f78b27b281 Add Highlander 2024 to car docs
old-commit-hash: 6fc0a2102f5c98e8dcbfed40b50b7a2fe8609c4d
2024-03-03 07:21:53 -08:00
Shane Smiskol 3f56e2398c [bot] Fingerprints: add missing FW versions from new users (#31610)
* Export fingerprints

* Update selfdrive/car/toyota/fingerprints.py
old-commit-hash: 3b5f6cd6b2e695c7be321ff3ce863d98589ff1e1
2024-03-01 23:59:28 -08:00
Shane Smiskol 5bb8a89f92 Revert "mazda"
This reverts commit 219a59fdfe09a35e3c8d42a4b1056ea6b0246350.

old-commit-hash: eaf333259943c8069eacfe592b7bc0a26a0fecfb
2024-03-01 21:37:29 -08:00
Shane Smiskol ec82a5c2cb mazda
old-commit-hash: b57d37162622adff7b50b6992d882d19015418f8
2024-03-01 21:37:09 -08:00
Shane Smiskol e179c61a4b 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
old-commit-hash: b74e8c91bd5c291408c83be4cbc0fa8d542fe810
2024-03-01 17:17:52 -08:00
Shane Smiskol 46c211d833 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
old-commit-hash: 77d896eb898dd04490862b89bf34434e9d9811c3
2024-03-01 17:16:46 -08:00
Shane Smiskol d3b4577a55 Honda Bosch: fix detection for alternate brake signal bug (#31675)
statically set alt brake for platforms where we don't need detection yet
old-commit-hash: 81bed0aad857ee3ff41192b8cd8d05db7a7d5ecf
2024-03-01 16:37:09 -08:00
Shane Smiskol 22c1d2d100 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
old-commit-hash: bf20358440830106396780464c21ec9b100ebfbc
2024-03-01 16:11:48 -08:00
Jason Young fa8e3f1f39 VW PQ: Volkswagen Caddy Mk3 (#31670)
old-commit-hash: 50a754f4707d8b7cd0b9889b56f4b8fb50ccfec9
2024-03-01 16:41:56 -05:00
Jason Young dd78310f2f VW: Cleanup, migrate center-to-front ratio to CarSpecs (#31668)
* VW: Cleanup after PlatformConfig refactor

* whitespace fix
old-commit-hash: e0c840cd02e643fc3ace803c8a80af34c6218c8a
2024-03-01 12:05:28 -08:00
Justin Newberry e9ca84c95c platformconfig and carspecs are now required, carspecs no longer kwarg (#31667)
* required

* mock can be a platform!

* default is mock

* fix that

* and that one
old-commit-hash: b0eae8c1b7264b2d0c63ee2957689bc1317616f1
2024-03-01 11:31:51 -08:00
Justin Newberry 3ec004d482 Body: move to car specs (#31666)
* specs

* override

* fixes 1

* fix 3

* fixes 4

* fixes

* fixes

* fixc

* fix number 723124

* that too

* fixes

* aa

* do body real quick too

* body too
old-commit-hash: a5ee1638b8d4f7dde23b9160e26d715cd1420202
2024-03-01 10:32:31 -08:00
Justin Newberry 9b6963a00d Hyundai: move car specs to platformconfig (#31661)
* specs

* override

* fixes 1

* fix 3

* fixes 4

* fixes

* fixes

* fixc

* fix number 723124

* that too

* fixes

* aa
old-commit-hash: 2e0db7f8d87457d05fef8156eccb94c949623cf3
2024-03-01 10:31:43 -08:00
Cameron Clough d02888ce23 Ford: use flags for CANFD (#31664)
old-commit-hash: 341b81c0a5c5f378f749a8ba07514f48f0f9faa5
2024-03-01 12:18:03 -05:00
Shane Smiskol 2ac06e8d7d Toyota: use platform config (#31607)
* part 1. Toyota platform config

* more

* everything works now

* no more DBC

* janky but that saves a lot of car lines

* need to init inside values or else it won't be reliable

* no return

* fixes

* minor update

* common flags, no dbc grouping

* some clean up

* some clean up

* rename

* copied wrong :(

* another

* copied specs for easiest ones first

* second easiest

* fix erroneous commas

* more clean up

* do the rest

* bug

* the refactor is so error prone

* huh?!

* static

* fix stiffness factor

* detect unsupported DSU

* Revert "detect unsupported DSU"

This reverts commit 9b72de6c8ef282ce20f6472970874a960761884b.

* fix DBC diff

* test carparams

* test sets

* scratch

* catches this

* Revert "scratch"

This reverts commit de08daa9fb8cc0368c5847b669e87b1b2e577616.

* Revert "test sets"

This reverts commit 62402f9b021cdf16a27fd9fb0883d81169711cbd.

* Revert "test carparams"

This reverts commit b02971659c2a8268d0ac8fdff02231dc36b5a197.

* Update ref_commit
old-commit-hash: 52ee070fe0a6880b7e3a5db408a0453c8310be86
2024-03-01 02:14:33 -08:00