Commit Graph

9092 Commits

Author SHA1 Message Date
Shane Smiskol 41c1a111be GM: hide ASCM from car docs (#32260)
* stash

* clean up

* programmatically

* Update selfdrive/car/gm/values.py

* do flags later

* clean up
old-commit-hash: 9f4cf8017fa3338f5704375cd37d7a5968663faa
2024-04-19 20:33:48 -07:00
Shane Smiskol 11e5bea5cb GM: clean up test (#32261)
* not necessary

* Update selfdrive/car/gm/tests/test_gm.py
old-commit-hash: fa1a6bcd6bd27ff823f602fc99d528bac9704d29
2024-04-19 19:38:39 -07:00
Shane Smiskol 5ce8d5c4da values: use union arguments (#32258)
* use get_args to reduce duplication

* clean up
old-commit-hash: f427427b5e085c7391b617e5c724c6b0326b24f1
2024-04-19 17:46:40 -07:00
Justin Newberry b9f6cb0120 ui: fix non-updating text2 alerts (#32256)
fix joystick
old-commit-hash: 3446de2b8e48ca9107746b23b9166332417d0733
2024-04-19 12:03:23 -07:00
Shane Smiskol 0850f536cb [bot] Fingerprints: add missing FW versions from new users (#32253)
Export fingerprints
old-commit-hash: 60c71580dae659f97a74281271923e60c115eb8a
2024-04-19 11:14:40 -07:00
ZwX1616 f466145f34 image processing refactor and test (#32249)
* it's something

* backup

* 16:10

* cleanup

* this is fine

* close

* remove some junk

* no heck

* disos

* real 10

* for some reason this is flipped

* 20hz

* no return

* ae

* tear

* need curve laster

* correct real gains

* fix time

* cleanup

* why the scam

* disable for now

* 0.7

* hdr

* that doesnt work

* what

* hugeoof

* clean up

* cleanup

* fix regs

* welp cant

* is this corrent

* it is sq

* remove

* back

* stg10bit

* back2ten

* Revert "remove"

This reverts commit 18712ab7e103c12621c929cd0f772ecb9b348247.

* 20hz and swb

* correct height

* 10bit

* ui hack for now

* slight

* perfect

* blk64

* ccm

* fix page faults

* template

* set 4x

* is this fine

* try

* this seems to work

* Revert "this seems to work"

This reverts commit d3c9023d3f14bd9394fed2d6276dba777ed0e606.

* needs to be static

* close

* 64 is optimal

* 2

* take

* not 1

* offset

* whats going on

* i have no idea

* less resistence

* box defs

* no

* reduce blur artifacts

* simplify

* fix

* fake short is too much for bright

* can be subzero

* should not use lsvc

* no wasted bit

* cont no slow

* no less than 10bit

* it is based

* wrong

* right

* quart

* shift

* raise noise floor

* 4.5/4.7

* same ballpark

* int is fine

* shane owes me m4a4

* Revert "shane owes me m4a4"

This reverts commit b4283fee18efebedae628a6cfd926ff1416dcfe5.

* back

* Revert "4.5/4.7"

This reverts commit e38f96e90cb5370bd378f6b66def9e7e3ed0ce5d.

* default

* oof

* clean up

* simpilfy

* from sensorinfo

* no div

* better name

* not the wrong one

* not anymore relevant

* too

* not call it debayer

* cl headers

* arg is 2nd

* gone is is_bggr

* define

* no is hdr

* rgb_tmp

* p1

* clean up

* 4

* cant for

* fix somewhre else

* const

* ap

* rects

* just set staruc

* nnew tmp

* pull it for now

* 12

* common rect

* Revert "not anymore relevant"

This reverts commit 1d574673a16cc31b7a255609e07775c3579eef15.

* Revert "too"

This reverts commit c2d4dcc52a859fe799362f9fcc2ffda99b264e50.

* Revert "Revert "too""

This reverts commit 0abbabe1fde51592f1619058638b4ac6a6dee4b3.

* no tol is fine

* rename

* sensor id

* unsgin

* flag

* some linalg

* cast

* should be h ref

* cap

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 331c7b103a7e4349c75be373589fc68161e69500
2024-04-18 21:45:59 -07:00
Shane Smiskol 7b7aa6c08e distance bars: bars always cycle 1, 2, 3 (#32251)
1, 2, 3 instead of 2, 3, 4
old-commit-hash: 5d28b929c3c0c6a7d7bf831e064aa9e67b2b85d6
2024-04-18 19:39:08 -07:00
Shane Smiskol 896f58c28b car docs: add Camry 2025 to TS
old-commit-hash: 23995131af49b5bed4a1481774246ccb24a714b4
2024-04-18 16:52:52 -07:00
Shane Smiskol 923d8c0888 [bot] Fingerprints: add missing FW versions from new users (#32247)
Export fingerprints
old-commit-hash: a8e2c00b9810a226ec77456a74d88dfd24c00d97
2024-04-18 11:31:38 -07:00
Alexandre Nobuharu Sato e1a5a311d4 Multilang: update pt-BR translations (#32248)
update pt-BR translations
old-commit-hash: 09f978d2b6cbe461d29560bcfd1069af22e17c4d
2024-04-18 10:24:49 -07:00
Shane Smiskol ad662f6f95 Update ref_commit
old-commit-hash: 2e5f2d208ce521c16343c2a73a2ec136eed75b48
2024-04-17 23:50:42 -07:00
Shane Smiskol 12fb4faabe lateral limits: remove Subaru exception (#32244)
* remove exception

* update Outback params

* clean up

* adjust to the upper limit

* don't change control, only docs

* rough
old-commit-hash: 692a21e4a722d91086998b532ca6759a3f85c345
2024-04-17 23:36:58 -07:00
Shane Smiskol 83bb14b7f9 debug FW query offline: annotate sendcan/can (#32239)
bet
old-commit-hash: cb8e336cd771f933c41d6ce4ee5bf055dde94846
2024-04-17 15:38:05 -07:00
Shane Smiskol 820cb6b49c Revert "Honda: brazilian HR-V 2023 fingerprint" (#32240)
Revert "Honda: Brazilian HR-V 2023 fingerprint (#31503)"

This reverts commit 1bc1f83427437432563a7c8d0acd76487f3ca6e4.
old-commit-hash: 67d6f0b769dfb596eba9f0ab4a8a78dc5090eb72
2024-04-17 15:36:44 -07:00
ksfi 5f9c00fd55 [$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>
old-commit-hash: 3c69fcddc80327919b097c26a25017f8e11f28b0
2024-04-17 13:00:47 -07:00
ZwX1616 c741dca04c 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
old-commit-hash: 1d05704d27dbe4f73c0eba7e8dad2ae84d4e205e
2024-04-17 12:56:37 -07:00
Shane Smiskol e7511de30b Toyota: remove unecessary ECUs for fingerprinting (#32235)
* remove some ecus

* missing doc

* fix

* fix

* clean up

* update refs

* rm
old-commit-hash: 5d0dc2ded27886b2edfd57391a54fc5f2ce0ff20
2024-04-17 00:09:20 -07:00
Shane Smiskol 43c72d410d Platforms: less redundant string repr (#32233)
smol
old-commit-hash: 3d0f9fb18f52ce092a2eb00cb92f7c285bc56e89
2024-04-16 23:37:46 -07:00
Dean Lee 2fa5b234b7 ui/network: simplify getActiveConnections (#32174)
old-commit-hash: 6de5e0d71a60d307513b3eb3cfdadcb8f8ae145c
2024-04-16 22:25:17 -07:00
Dean Lee c7cc331df5 ui/map_eta: avoid divide by zero (#31962)
old-commit-hash: 2bee28938ac2f50ec0d0e9f74f9f276a98c62f0d
2024-04-16 22:23:54 -07:00
Alexandre Nobuharu Sato 1402ac3e49 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>
old-commit-hash: db5eb58d914aed9ad35bbef21f76bea0a636c37c
2024-04-16 22:08:28 -07:00
Shane Smiskol 94256ca3b5 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
old-commit-hash: 3d44edb3480f24067e93941a14450de53bcc041f
2024-04-16 21:52:14 -07:00
Shane Smiskol d82bdc961e FwQueryConfig: test non-essential ecus aren't needless (#32232)
* good test

* remove :D

* typo
old-commit-hash: a076c1e78f54ed78666ed2fea6f8443f51b45a95
2024-04-16 21:49:30 -07:00
Shane Smiskol 8a67de720a 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
old-commit-hash: 119e2847581fd5b1ec0a15109f592d884745cb4c
2024-04-16 21:19:57 -07:00
Shane Smiskol f78ee09c4b [bot] Fingerprints: add missing FW versions from new users (#32221)
Export fingerprints
old-commit-hash: 4a9f3a4f2738ab82eec246903f7f766a68b06d59
2024-04-16 19:12:30 -07:00
Adeeb Shihadeh 4a7ef34c28 pandad: reconnect after reset (#32223)
old-commit-hash: 713b7e90c269a0262e19ad14f848e83ed59444cf
2024-04-16 15:54:58 -07:00
Alexandre Nobuharu Sato b34117b45d ui: cleanup white space after string (#32217)
* cleanup white space after string

* update

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 7e20812924d77dfd3d6e3602eac0b08e9138f4a3
2024-04-16 12:51:23 -07:00
Alexandre Nobuharu Sato 5316f925d0 Multilang: update pt-BR translation (#32216)
remove navFeatures description from experimental toggle
old-commit-hash: 7e494eb06f5a36a4fc0b39d637d624605de8a1dc
2024-04-16 10:35:02 -07:00
Shane Smiskol ba1b9df465 [bot] Fingerprints: add missing FW versions from new users (#32211)
Export fingerprints
old-commit-hash: 0b8de57c567fe3ef9fca9928f6d21bc76ac61024
2024-04-16 10:33:58 -07:00
Shane Smiskol 33856593f7 [bot] Fingerprints: add missing FW versions from new users (#32209)
Export fingerprints
old-commit-hash: c309333b79e499c19ac2229dae0d767288223110
2024-04-15 15:34:10 -07:00
Shane Smiskol 758668c7d2 [bot] Fingerprints: add missing FW versions from new users (#31840)
Export fingerprints
old-commit-hash: f7f7dba5ed0580c3022ea6d07148b76e398b768e
2024-04-15 15:17:21 -07:00
Jason Young c93b2163de Subaru: Add FW for 2020 Subaru Forester (#31748)
old-commit-hash: d14407dafa173383b93cce29a55f0b30c10e8648
2024-04-15 15:03:22 -07:00
kangtae1 0b0538e8eb 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>
old-commit-hash: fd401c317d29ac06c06c3cc505fb39e64cfb4819
2024-04-15 14:58:34 -07:00
Shane Smiskol a24c95db62 Hyundai CAN: check traction control enabled (#32208)
* add esp

* add tcs11
old-commit-hash: ed1d12974fdf37f8acc295b25ec21da308296160
2024-04-15 14:41:03 -07:00
Dean Lee b6c6c978a6 ui/onroad: split into multiple files (#32059)
old-commit-hash: c1b059de1ef8f52d050f1902ef54d0dc5f2e1283
2024-04-15 09:33:28 -07:00
Shane Smiskol c358c86b91 [bot] Fingerprints: add missing FW versions from CAN fingerprinting cars (#32203)
Export fingerprints
old-commit-hash: 70cdcc51a99b932000e3b281b303181451a5bc33
2024-04-15 09:28:32 -07:00
James 3a69927c55 Fix "PlaformConfig" typo (#32201)
old-commit-hash: 038782bcba512b077752ef8901b848973b05cd48
2024-04-15 09:11:40 -07:00
Cameron Clough c0e7dae02f 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>
old-commit-hash: 7bc81341e10aad9742e113006f702ead75f2fbf2
2024-04-14 18:00:34 -07:00
Dean Lee 9fcc783447 ui: fix pair button shows on paired device (#32109)
old-commit-hash: ba98786ee317750034881710f0b4b5a7a5a60474
2024-04-14 18:00:01 -07:00
Dean Lee 31f5956c49 ui/network: initialize raw_adapter_state to NM_DEVICE_STATE_UNKNOWN (#32175)
old-commit-hash: e9965c87d31af7dc5ea3b2fc28574eaf523b574e
2024-04-14 17:52:59 -07:00
Dean Lee 164ae65250 ui/network: update known connections after adding tethering connection. (#32166)
update known connections
old-commit-hash: 40b061cd51078c3ca3a0f58ccfce6a9078fb08ef
2024-04-14 17:52:20 -07:00
Shane Smiskol 104d78cbd0 [bot] Fingerprints: add missing FW versions from new users (#32195)
Export fingerprints
old-commit-hash: 585c62673f8f3d9d70a3fb648562d10ae643938e
2024-04-13 21:20:15 -07:00
Shane Smiskol a335b8bd09 Volkswagen: add missing Golf FW (#32196)
add missing golf fingerprints
old-commit-hash: 5f9a25dfe98915fa97b91c6ba5391ba7896a40ba
2024-04-13 21:03:45 -07:00
dkiiv 70216f4975 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>
old-commit-hash: 9244f0f0d5490c1078ee3559b8edbcb39c9908d4
2024-04-13 20:27:53 -07:00
Saber bd91677d63 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>
old-commit-hash: 70ee42d17f8af457fe97e374cf9e7bded66b36bd
2024-04-13 20:22:34 -07:00
Shane Smiskol accfaa29af 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
old-commit-hash: 6acf763db49944de7a7685b46d50a6c8228a5777
2024-04-12 22:00:03 -07:00
Shane Smiskol 6a3d11516d Volkswagen: move FW pattern to test (#32191)
move
old-commit-hash: 02920d67b74410c273987ac7afffc37efddfddc1
2024-04-12 21:19:20 -07:00
Shane Smiskol 2d48ce9c8f 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
old-commit-hash: 8dbf7aa2ab20ccd66153aa358424aa938421ea73
2024-04-12 21:05:50 -07:00
Shane Smiskol f44104fa00 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
old-commit-hash: b3397882a373043fda1f1c7dc28cf28c0fe5eb63
2024-04-12 20:51:54 -07:00
Miwa / Ensan 0283a029ba 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
old-commit-hash: 969be5ab9c170c0a8537371aa150572dfa0c814c
2024-04-12 18:47:22 -07:00