Commit Graph

6190 Commits

Author SHA1 Message Date
Adeeb Shihadeh 7dac75758d model replay speedup (#26181)
* model replay speedup

* less frames too

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 188c2c1c5e
2022-10-20 20:58:58 -07:00
Adeeb Shihadeh f6c11b8a54 Hyundai: add corner radar FW query (#26143)
* Hyundai: add corner radar FW query

* Add to both, and fix when we look at data

* add TODO

* comments

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d828b69e14
2022-10-20 20:10:09 -07:00
Adeeb Shihadeh b63326c89a Hyundai: common CAN-FD brake pressed signal (#26170)
* Hyundai: common CAN-FD brake pressed signal

* new name

* bump panda

* bump opendbc to master

* bump opendbc

* bump panda

* bump panda

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: c35e2b8e30
2022-10-20 19:55:04 -07:00
Jafar Al-Gharaibeh e27df7c002 Mazda: add missing CX5 2021 FW (#25477)
dongle-id: 82c6d952da5e2122

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

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 63035e535b
2022-10-20 19:50:42 -07:00
YassineYousfi 4323014a2b desire: give the pulse at t=0 (#26180)
input desire at t0
old-commit-hash: 6b36f73870
2022-10-20 15:13:58 -07:00
HaraldSchafer 3b62f66008 Use same minimum speed for lateral planning and controls (#26177)
* Use same speed for lag adjustmenet

* One is a nicer number

* Update ref
old-commit-hash: 4f84b29985
2022-10-20 14:34:36 -07:00
Willem Melching e31ca17926 ui brightness: fix exposure scale factor (#26104)
old-commit-hash: f957f3391d
2022-10-20 11:25:20 -07:00
Shane Smiskol b65f516cb8 GM camera ACC: hide take steering alert (#26010)
* add all signals

* try to forward this PSCMStatus

* fixes

* see if this works

* modify checksum when bit flipped

* bump opendbc

* so i can test without restarting

* bump

* bump panda

* clean up

* comment

* also fix this

* bump

* bump

* every 5 seconds

* only send our values

* fix

* try sending everything again (+1 counter)

* revert

* revert, forward msg

* forward

* fix that

* bump panda

* bump panda

* fine to not copy

* after cancel, pass bus

* fix

* Revert "fine to not copy"

This reverts commit 654ac1a7dad4f7b9b0a3de52768522fb60cc55bd.
old-commit-hash: 63d552cafc
2022-10-19 23:41:54 -07:00
Adeeb Shihadeh 449fd1db18 Hyundai CAN-FD: use cruise signals from SCC ECU (#26171)
* Hyundai CAN-FD: use cruise signals from SCC ECU

* bump panda

* bumppanda

* update refs
old-commit-hash: eaedfb9a66
2022-10-19 23:31:24 -07:00
Shane Smiskol 334ede288c GM: make loopback updated check more explicit
This previously checked if parser_pyx filled the defaultdict, now it checks the values in the list (same either way)

old-commit-hash: 301a7ce189
2022-10-19 20:40:52 -07:00
ZwX1616 e4fc61ff48 DM: finetune e2e policy but keep alert rate (#26168)
old-commit-hash: 1800592f5a
2022-10-19 17:09:25 -07:00
Adeeb Shihadeh 87b5a744cd no more preserve bucket
old-commit-hash: ffc151ed8f
2022-10-19 15:34:06 -07:00
Shane Smiskol 3f40f44100 HKG CAN-FD: query camera on both buses (#26167)
fwdCamera is only on bus 4 on HDA1, only bus 5 on HDA2
old-commit-hash: 017b5b2771
2022-10-19 15:20:55 -07:00
hoomoose e224d17fbc HKG: resume from standstill for HDA1 CAN-FD (#26069)
* Cruise Button Press on bus 6 for HDA1 Canfd

* use bus helper

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update hyundaicanfd.py

* Update selfdrive/car/hyundai/hyundaicanfd.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Update selfdrive/car/hyundai/hyundaicanfd.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* bump panda

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3ee8572d58
2022-10-19 15:19:38 -07:00
Kyumin Han f76e83035e HKG: Remove Kia Stinger from 255 torque blacklist (#25866)
old-commit-hash: bd3b2e6246
2022-10-19 14:35:57 -07:00
Jason Wen 50b9a3be02 HKG: Car Port for Kia Sportage Hybrid 2023 (#26106)
* HKG: Car Port for Kia Sportage Hybrid 2023

* Add torque values

* Add test route

* Fix CARS.md

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1766cf9fc2
2022-10-19 14:31:02 -07:00
Shane Smiskol b0f435e710 Hyundai HDA2 detection: use ADAS ECU (#26130)
* use adas ecu

* new route

* update refs

* new route

* update refs

* new test routes

* bump
old-commit-hash: f6416e7769
2022-10-19 14:21:03 -07:00
Shane Smiskol 59eae58840 Update CI routes: speed up (#26162)
* cache get_azure_keys

* tqdm
old-commit-hash: d2c1bb4238
2022-10-19 14:13:06 -07:00
Shane Smiskol 70249fae14 Rename gmAccFaultedTemp -> accFaultedTemp
old-commit-hash: b1efdab788
2022-10-19 01:31:12 -07:00
Shane Smiskol 31d274d7a4 GM camera ACC: show under enable speed alert (#26148)
* fix the fault more generically

* fix

* need this

* some clean up

* comment and use standstill

* comment

* add comment

* better fix

* rm

* better (for now)

* update docs
old-commit-hash: e46d162b1e
2022-10-19 01:28:46 -07:00
Shane Smiskol c518ed13dd FPv2 tests: consider extra ECUs in brand ECUs (#26149)
* Hyundai: add corner radar FW query

* add extra ecus to brand ecus

* add comment

* rev

* bumpo

* cmt

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1bd9632156
2022-10-19 01:02:51 -07:00
HaraldSchafer 9c26b70a43 Partial revert, lax torque control (#26146)
* Closer to original

* Update ref
old-commit-hash: 1548db8962
2022-10-18 21:25:06 -07:00
Shane Smiskol 8138b1a022 Fix pass by keyword
old-commit-hash: 972951f5f4
2022-10-18 14:07:54 -07:00
Shane Smiskol 68ebc027bb Honda docs: remove global min steer speed (#26138)
* remove global min_steer_speed so we can define in carparams

* remove 0 defaults
old-commit-hash: 03d259a517
2022-10-18 13:52:05 -07:00
Shane Smiskol 47a55f3a14 GM: match panda & ECM standstill checks (#26095)
* gm: match panda standstill check

* fix

* needs to be <= 10 to avoid a fault, fix for safety tests

* fix

* fix

* bump panda to master
old-commit-hash: 826d8a8ae3
2022-10-18 11:24:13 -07:00
Shane Smiskol 451b122359 Tucson Hybrid 4th gen: add missing fwdRadar (#26128)
add missing fwdRadar
old-commit-hash: 5b85c2df4e
2022-10-17 23:24:34 -07:00
Shane Smiskol 6695cbf258 CAN-FD HKG: query FW versions from camera (#26063)
* add adas essential ecus

* add adas ecu and query

* add queries

* add name

* after

* presence of adas ecu

* Revert "presence of adas ecu" (POC)

This reverts commit ab88a7e7df32e1c02a175b81848bd4112b2e5c69.

* no whitelist for debugging

* Apply suggestions from code review

* add adas response

* remove adas version

* temp

* read pandaStates

* works in debug script

* only fwdCamera on tucson

* fix pandaStates reading

* fix test_startup

* fix

* simpler

* use existing socket

* pass in number of pandas

* need to create sm using outcome of fingerprinting, which uses sm

fix

* move default argument

* use sock

* always ignore

always ignore

* add canfd fingerprint test

* Update selfdrive/car/hyundai/tests/test_hyundai.py

* set
old-commit-hash: 7bf70bf7d8
2022-10-17 23:04:06 -07:00
Shane Smiskol 591bb5d8c6 Hyundai CAN-FD: remove 90° steering lockout (#26045)
* bump panda

* bump panda

* for CAN-FD too

* clean up

* bump

* adjust safety

* fix lat active

* bump panda to master

* same limits

* rm line

* bump panda to master
old-commit-hash: 60fc7274eb
2022-10-17 21:15:57 -07:00
ZwX1616 426286f24f DM: add use of e2e preds (#26078)
* try ml

* de56

* j914ef75a

* jd1124586

* jd1124586

* d112

* oops

* set

* update ref

* use offset

* bump DM power usage

* new ref
old-commit-hash: d522492ba0
2022-10-17 19:40:06 -07:00
HaraldSchafer f7b76d947a UI Onroad widget renames (#26124)
Consistent widget naming
old-commit-hash: baca1cae1f
2022-10-17 18:18:01 -07:00
Jake Poznanski e708055ca2 loggerd: fix length of ArrayPtr in handle_encoder_msg (#26077)
old-commit-hash: c782e4d796
2022-10-17 17:22:47 -07:00
Adeeb Shihadeh 60cb813af5 ui: publish draw times + add test (#26119)
* ui: publish draw times + add test

* add some checks

* adjust

* fix linter

* update max

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 15b8c7d1dc
2022-10-17 17:14:38 -07:00
Cameron Clough 497c4decc5 updated: sync submodules (#26121)
old-commit-hash: e6cab24e08
2022-10-17 15:38:31 -07:00
Cameron Clough 1320fa3b9f networking: fix metered setting (#26113)
when metered set unknown, when unmetered set no
old-commit-hash: c6b8a253e6
2022-10-17 15:36:29 -07:00
Shane Smiskol 3bffc8d9d9 2018 Kia Stinger: add missing FW versions (#26117)
add missing versions from 1ce52d9487767eae
old-commit-hash: 581835df80
2022-10-17 14:04:29 -07:00
Shane Smiskol ecb645c874 HKG FPv2: whitelist queried Ecus (#26115)
* whitelist all ecus

* remove engine and fwdCamera from queries they never return to
old-commit-hash: 6c65e9bf98
2022-10-17 13:50:56 -07:00
Cameron Clough d3dbd91280 athenad: small tests cleanup (#26037)
* test helpers

* create file helper

* clearer

* type

* fix default create path

* static methods
old-commit-hash: 9e2a1121ea
2022-10-17 12:55:40 -07:00
Shane Smiskol cc31d7f734 GM camera ACC: revert FCW logging (#26114)
Revert FCW logging
old-commit-hash: 1dffbb629a
2022-10-17 10:47:54 -07:00
Lee Jong Mun 677bd9433b kor translation update (#26111)
old-commit-hash: f8091837c9
2022-10-17 10:15:03 -07:00
Adeeb Shihadeh eec2ca1e8b CI speedup (#26096)
* CI speedup

* use the new stuff

* push

* no regressions

* try that

* don't let this slip

* fix modeld tests

* fix linter

* modernize prebuilt

* cleanup

* fix those

* increase a bit
old-commit-hash: 00494a44f4
2022-10-16 15:54:36 -07:00
HaraldSchafer f428c9de30 Refactor model: no klblock (#26035)
* ff138dc0-d097-4818-b40e-dba5ba89d5d6/449 13274b7d-b546-4b91-a587-33b4af7dec6a/700

* b1bb39be-c6ce-4744-8e63-92969fda6bfc/449 f3ebfba1-f686-448f-be9b-b4d5010be91c/700

* model ref

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
old-commit-hash: b654ebdd25
2022-10-15 20:04:35 -07:00
Jason Wen cf3eb44abc Hyundai: CAN-FD Hybrid gas pressed signal (#26086)
* Hyundai: Gate 0x105 behind hybrid CAN-FD only

* Update values.py

* bump panda

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 553068f8c3
2022-10-15 12:27:34 -07:00
AlexandreSato a9c4475331 Multilang: Update pt-BR translation. (#26089)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations
old-commit-hash: df6c135cfa
2022-10-15 12:15:47 -07:00
Shane Smiskol 961c613005 GM camera ACC: prevent fault when engaging at a stop (#26079)
* prevent bolt fault

* comment

* only for camera ACC

* fixup alert

* bump cereal to master

* use new name

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* only care about prevent engagement when we look at PCM
old-commit-hash: 4e82f68de2
2022-10-14 22:21:53 -07:00
Shane Smiskol 7512d184bc GM camera ACC: raise brake pressed threshold (#26081)
* Different brake pressed thresholds

* comment

* bump to master
old-commit-hash: 91a7bb4ea3
2022-10-14 16:54:13 -07:00
Shane Smiskol 82b6fe1c4c Fix refs
old-commit-hash: c0840e0c33
2022-10-14 16:50:07 -07:00
Shane Smiskol 87b9f41022 GM: remove brake scaling (#26080)
* Don't add a weird factor to ret.brake

* update refs
old-commit-hash: 5d00e5cc71
2022-10-14 15:53:24 -07:00
Matt Webb 6081e543c0 HKG: add missing FW versions for 2022 Kia EV6 Light (#26071)
Fingerprint 2022 Kia EV6 Light
old-commit-hash: 422167cdf9
2022-10-13 20:51:57 -07:00
Shane Smiskol cfe9e9c17b CAN-FD HKG: add ADAS Driving ECU query (#26075)
add ADAS Driving ECU query
old-commit-hash: ed87c0f95a
2022-10-13 19:50:09 -07:00
Cameron Clough c52ba337b8 Hyundai docs: fix model name/year formatting (#26074)
* fix formatting so that model years can be parsed

* generate car docs
old-commit-hash: a02f42959c
2022-10-13 19:45:42 -07:00