Commit Graph

8898 Commits

Author SHA1 Message Date
Shane Smiskol 67d6f0b769 Revert "Honda: brazilian HR-V 2023 fingerprint" (#32240)
Revert "Honda: Brazilian HR-V 2023 fingerprint (#31503)"

This reverts commit db5eb58d91.
2024-04-17 15:36:44 -07:00
ksfi 3c69fcddc8 [$100 bounty] mapsd: switch to static render mode (#32118)
* staticrender

* modify static_render_sig_rec name + use back setStyleJson

* better name

---------

Co-authored-by: ksfi <ethos.bulbes_0g@icloud.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-04-17 13:00:47 -07:00
ZwX1616 1d05704d27 Toggle to always enable DM (#32205)
* permanent

* param

* correct behavior

* toggle

* need trans

* ref_commit

* translate for chs/t

* disable on P and R

* read
2024-04-17 12:56:37 -07:00
Shane Smiskol 5d0dc2ded2 Toyota: remove unecessary ECUs for fingerprinting (#32235)
* remove some ecus

* missing doc

* fix

* fix

* clean up

* update refs

* rm
2024-04-17 00:09:20 -07:00
Shane Smiskol 3d0f9fb18f Platforms: less redundant string repr (#32233)
smol
2024-04-16 23:37:46 -07:00
Dean Lee 6de5e0d71a ui/network: simplify getActiveConnections (#32174) 2024-04-16 22:25:17 -07:00
Dean Lee 2bee28938a ui/map_eta: avoid divide by zero (#31962) 2024-04-16 22:23:54 -07:00
Alexandre Nobuharu Sato db5eb58d91 Honda: Brazilian HR-V 2023 fingerprint (#31503)
* add braziliam honda HR-V fingerprint

* cleanup white spaces

* cleanup more white spaces

* remove radar

* add fwdRadar (camera)

* format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-16 22:08:28 -07:00
Shane Smiskol 3d44edb348 Honda HR-V 3G: allow fingerprinting without the comma power (#32231)
* from 147613502316e718/00000001--ce406cf8a7

* honda hrv 3g obd-less

* rm

* good test

* add back
2024-04-16 21:52:14 -07:00
Shane Smiskol a076c1e78f FwQueryConfig: test non-essential ecus aren't needless (#32232)
* good test

* remove :D

* typo
2024-04-16 21:49:30 -07:00
Shane Smiskol 119e284758 Honda HR-V 3G: add missing camera ECU (#32230)
* add from 320098ff6c5e4730/2023-04-13--17-47-46

* from a3af9bb0ea9298f4/2024-04-07--10-35-20

* Revert "from a3af9bb0ea9298f4/2024-04-07--10-35-20"

This reverts commit 1bbfa8805891d072986e741296ff2248ab249f23.

* add from 5d8793699017d179/2024-04-16--16-21-14

Honda HR-V 2023 EX-L Mexico plant, US market

* this is that unknown response

* and this is the unknown addr from the og user

* clean up

* consistent order

* update pattern
2024-04-16 21:19:57 -07:00
Shane Smiskol 4a9f3a4f27 [bot] Fingerprints: add missing FW versions from new users (#32221)
Export fingerprints
2024-04-16 19:12:30 -07:00
Adeeb Shihadeh 713b7e90c2 pandad: reconnect after reset (#32223) 2024-04-16 15:54:58 -07:00
Alexandre Nobuharu Sato 7e20812924 ui: cleanup white space after string (#32217)
* cleanup white space after string

* update

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-16 12:51:23 -07:00
Alexandre Nobuharu Sato 7e494eb06f Multilang: update pt-BR translation (#32216)
remove navFeatures description from experimental toggle
2024-04-16 10:35:02 -07:00
Shane Smiskol 0b8de57c56 [bot] Fingerprints: add missing FW versions from new users (#32211)
Export fingerprints
2024-04-16 10:33:58 -07:00
Shane Smiskol c309333b79 [bot] Fingerprints: add missing FW versions from new users (#32209)
Export fingerprints
2024-04-15 15:34:10 -07:00
Shane Smiskol f7f7dba5ed [bot] Fingerprints: add missing FW versions from new users (#31840)
Export fingerprints
2024-04-15 15:17:21 -07:00
Jason Young d14407dafa Subaru: Add FW for 2020 Subaru Forester (#31748) 2024-04-15 15:03:22 -07:00
kangtae1 fd401c317d Fingerprint: KIA Niro HEV 2021 - South Korea model (#31499)
* Fingerprints: KIA Niro HEV South Korea model

* Update selfdrive/car/hyundai/fingerprints.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-15 14:58:34 -07:00
Shane Smiskol ed1d12974f Hyundai CAN: check traction control enabled (#32208)
* add esp

* add tcs11
2024-04-15 14:41:03 -07:00
Dean Lee c1b059de1e ui/onroad: split into multiple files (#32059) 2024-04-15 09:33:28 -07:00
Shane Smiskol 70cdcc51a9 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32203)
Export fingerprints
2024-04-15 09:28:32 -07:00
James 038782bcba Fix "PlaformConfig" typo (#32201) 2024-04-15 09:11:40 -07:00
Cameron Clough 7bc81341e1 Ford: add Ranger 2024 (CAN FD, dashcam only) (#31956)
* Ford: add Ranger 2024 (CAN FD, dashcam only)

* force fingerprint

* debug

* add FW (using debug_fw_fingerprinting_offline)

* add test route

* Revert "debug"

This reverts commit 9d128cb1bbb28fb0cb8da6725c291ebe285e7467.

* Revert "force fingerprint"

This reverts commit 421d92172f354b4713a1371bec9dc9b1bbb6318f.

* update package and finalise steer ratio

"Adaptive Cruise Control with Lane Centering" is part of the Raptor
Standard Equipment Group (i.e. only on the Raptor trim). However,
looking at As-Built/VIN data for Raptor LARIATs show that although Ford
does not advertise it they do come with Lane Centering (the configurator
only says they have ACC with Stop and Go).

ACC with Stop and Go can also be added to the lower XLT trim as part of
the Technology Package, but it is unclear at this point whether that
includes Lane Centering.

The 2021 Ranger had a 17.0 steer ratio. The As-Built data suggests
17/18. PlotJuggler shows the liveParameters.steerRatio between 16.5-17.5
on two short drives.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-14 18:00:34 -07:00
Dean Lee ba98786ee3 ui: fix pair button shows on paired device (#32109) 2024-04-14 18:00:01 -07:00
Dean Lee e9965c87d3 ui/network: initialize raw_adapter_state to NM_DEVICE_STATE_UNKNOWN (#32175) 2024-04-14 17:52:59 -07:00
Dean Lee 40b061cd51 ui/network: update known connections after adding tethering connection. (#32166)
update known connections
2024-04-14 17:52:20 -07:00
Shane Smiskol 585c62673f [bot] Fingerprints: add missing FW versions from new users (#32195)
Export fingerprints
2024-04-13 21:20:15 -07:00
Shane Smiskol 5f9a25dfe9 Volkswagen: add missing Golf FW (#32196)
add missing golf fingerprints
2024-04-13 21:03:45 -07:00
dkiiv 9244f0f0d5 VW: update LKA HUD to be more logically accurate (#31895)
* VW: update LKA HUD to be more logically accurate

* consistent case

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-13 20:27:53 -07:00
Saber 70ee42d17f VW MQB: Add FW for 2023 TROC (#31737)
* Update fingerprints.py

* Update values.py

TROC is MQB instead of MQB A0

* update docs

* missing srs!

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-04-13 20:22:34 -07:00
Shane Smiskol 6acf763db4 Volkswagen: fingerprint on VIN chassis code (#32148)
* add function signature and behavior comment

* add test

* move chassis codes to platform config!

* add a shared chassis code test

* function

* test matching

* this commit isn't complete yet

* Revert "this commit isn't complete yet"

This reverts commit ae77d5cd54e1f43d390fb70c4da38a95ac34f8da.

* need to check WMI

* TODO: test WMI

* test wmi

* radar FW sanity check

* fix test

* fixes from merge

fixes from merge

* whoops

* fix static analysis!

* do match_fw_to_car

match_fw_to_car takes vin

* makes sense to keep it one function, and we can return exact or fuzzy!

* clean up

* kinda pointless

* fix more tests

* back to function being only fuzzy

* revert test_fw_fingerprint

* revert test_fw_fingerprint

* simplify

* clean up/fixes

* rename test

* less duplicatey WMI descriptions

* fix

* convert to enum

* I am confident about these WMIs

* these are also good

* we support 5N AUS/NZ and NAR (North American) AX Tiguans

fixes

* Tiguan also Mexico

* only one user for caddy

* got from the test route

* check that the gateway type matches the platform (each platform has 1 or 2 types)

* ~gateway~ -> exact FW match

* remove re

* ensure WMIs are set

* actually no reason to delete

* move comment up to the platform config

* proper wmis typing

* spacing

* flip
2024-04-12 22:00:03 -07:00
Shane Smiskol 02920d67b7 Volkswagen: move FW pattern to test (#32191)
move
2024-04-12 21:19:20 -07:00
Shane Smiskol 8dbf7aa2ab Volkswagen: add missing chassis codes (#32189)
* add Tiguan NAR (North American Region)

* cars in AUS/NZ (2019+) have first generation chassis code :/

jyoung states true first generation cars should CAN error
2024-04-12 21:05:50 -07:00
Shane Smiskol b3397882a3 Volkswagen: enable OBD-less fingerprinting for gateway-integrated cars (#32188)
* too complex

* Revert "too complex"

This reverts commit 7614bfd466f26cf9b3ebf267f5a2c06d97527496.

* no logging is fine

* EPS is non-essential for exact matching
2024-04-12 20:51:54 -07:00
Miwa / Ensan 969be5ab9c Fix panda sorting logic in pandad (#32100)
* fix: returns int instead of bool in cmp function

* fix: usb_serial will not be equal

* refactor: stop using cmp function and instead use tuple of keys
2024-04-12 18:47:22 -07:00
Shane Smiskol 08097bdf0c [bot] Fingerprints: add missing FW versions from new users (#32186)
Export fingerprints
2024-04-12 16:02:27 -07:00
Iamz 7dd5dbcf7c Update Thai translations (#32184) 2024-04-12 10:34:24 -07:00
Dean Lee eb0b1ce975 ui/setup: Initially disable continue button (#32180) 2024-04-12 10:32:23 -07:00
Dean Lee 1c491513b6 ui/setup: use the mode "wb" instead of "w". (#32181) 2024-04-12 10:32:11 -07:00
Adeeb Shihadeh ee9d12a038 Tesla: remove CAN fingerprints (#32176) 2024-04-11 14:58:05 -07:00
James a05de943da Toyota: use existing "pcm_acc_status" declaration (#32173) 2024-04-11 13:58:41 -07:00
Shane Smiskol cd16eba8fd [bot] Car docs: update model years from new users (#32165) 2024-04-11 10:43:39 -07:00
Dean Lee e66ded444c ui/network: fix typos (#32163) 2024-04-11 10:43:20 -07:00
Justin Newberry cce17dc0c5 no cross references between updaters (#32168)
* no references

* but keep this
2024-04-11 09:52:45 -07:00
Shane Smiskol 70b8e277d0 Volkswagen: test FW version format (#32162)
* add test

* more explicit
2024-04-10 23:39:45 -07:00
MarinkoMagla 9d1b3cc773 Encode the actual current date in vw_mqb_config.py (#32093) 2024-04-10 15:22:36 -07:00
Shane Smiskol 7a3c03c901 [bot] Fingerprints: add missing FW versions from new users (#32149)
Export fingerprints
2024-04-10 10:38:56 -07:00
Shane Smiskol 16bb4a9ccd Volkswagen: combine platforms with common chassis codes (#32147)
* fix curb weight for Ateca to match Leon better

https://www.auto-data.net/en/seat-ateca-i-1.6-tdi-115hp-start-stop-23096

https://www.seat.com/content/dam/public/seat-website/car-shopping-tools/brochure-download/brochures/ateca/cars-specs-brochure-KH7-NA-december-2018.pdf

* combine leon and ateca

* combine fw

* migrate

* great, both use same torque params

* scala and kamiq

* remove duplicates

* fix

* fix!
2024-04-09 21:00:56 -07:00