Commit Graph

8898 Commits

Author SHA1 Message Date
Shane Smiskol 301a7ce189 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)
2022-10-19 20:40:52 -07:00
ZwX1616 1800592f5a DM: finetune e2e policy but keep alert rate (#26168) 2022-10-19 17:09:25 -07:00
Adeeb Shihadeh ffc151ed8f no more preserve bucket 2022-10-19 15:34:06 -07:00
Shane Smiskol 017b5b2771 HKG CAN-FD: query camera on both buses (#26167)
fwdCamera is only on bus 4 on HDA1, only bus 5 on HDA2
2022-10-19 15:20:55 -07:00
hoomoose 3ee8572d58 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>
2022-10-19 15:19:38 -07:00
Kyumin Han bd3b2e6246 HKG: Remove Kia Stinger from 255 torque blacklist (#25866) 2022-10-19 14:35:57 -07:00
Jason Wen 1766cf9fc2 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>
2022-10-19 14:31:02 -07:00
Shane Smiskol f6416e7769 Hyundai HDA2 detection: use ADAS ECU (#26130)
* use adas ecu

* new route

* update refs

* new route

* update refs

* new test routes

* bump
2022-10-19 14:21:03 -07:00
Shane Smiskol d2c1bb4238 Update CI routes: speed up (#26162)
* cache get_azure_keys

* tqdm
2022-10-19 14:13:06 -07:00
Shane Smiskol b1efdab788 Rename gmAccFaultedTemp -> accFaultedTemp 2022-10-19 01:31:12 -07:00
Shane Smiskol e46d162b1e 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
2022-10-19 01:28:46 -07:00
Shane Smiskol 1bd9632156 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>
2022-10-19 01:02:51 -07:00
HaraldSchafer 1548db8962 Partial revert, lax torque control (#26146)
* Closer to original

* Update ref
2022-10-18 21:25:06 -07:00
Shane Smiskol 972951f5f4 Fix pass by keyword 2022-10-18 14:07:54 -07:00
Shane Smiskol 03d259a517 Honda docs: remove global min steer speed (#26138)
* remove global min_steer_speed so we can define in carparams

* remove 0 defaults
2022-10-18 13:52:05 -07:00
Shane Smiskol 826d8a8ae3 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
2022-10-18 11:24:13 -07:00
Shane Smiskol 5b85c2df4e Tucson Hybrid 4th gen: add missing fwdRadar (#26128)
add missing fwdRadar
2022-10-17 23:24:34 -07:00
Shane Smiskol 7bf70bf7d8 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
2022-10-17 23:04:06 -07:00
Shane Smiskol 60fc7274eb 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
2022-10-17 21:15:57 -07:00
ZwX1616 d522492ba0 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
2022-10-17 19:40:06 -07:00
HaraldSchafer baca1cae1f UI Onroad widget renames (#26124)
Consistent widget naming
2022-10-17 18:18:01 -07:00
Jake Poznanski c782e4d796 loggerd: fix length of ArrayPtr in handle_encoder_msg (#26077) 2022-10-17 17:22:47 -07:00
Adeeb Shihadeh 15b8c7d1dc 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>
2022-10-17 17:14:38 -07:00
Cameron Clough e6cab24e08 updated: sync submodules (#26121) 2022-10-17 15:38:31 -07:00
Cameron Clough c6b8a253e6 networking: fix metered setting (#26113)
when metered set unknown, when unmetered set no
2022-10-17 15:36:29 -07:00
Shane Smiskol 581835df80 2018 Kia Stinger: add missing FW versions (#26117)
add missing versions from 1ce52d9487767eae
2022-10-17 14:04:29 -07:00
Shane Smiskol 6c65e9bf98 HKG FPv2: whitelist queried Ecus (#26115)
* whitelist all ecus

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

* create file helper

* clearer

* type

* fix default create path

* static methods
2022-10-17 12:55:40 -07:00
Shane Smiskol 1dffbb629a GM camera ACC: revert FCW logging (#26114)
Revert FCW logging
2022-10-17 10:47:54 -07:00
Lee Jong Mun f8091837c9 kor translation update (#26111) 2022-10-17 10:15:03 -07:00
Adeeb Shihadeh 00494a44f4 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
2022-10-16 15:54:36 -07:00
HaraldSchafer b654ebdd25 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>
2022-10-15 20:04:35 -07:00
Jason Wen 553068f8c3 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>
2022-10-15 12:27:34 -07:00
AlexandreSato df6c135cfa Multilang: Update pt-BR translation. (#26089)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations
2022-10-15 12:15:47 -07:00
Shane Smiskol 4e82f68de2 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
2022-10-14 22:21:53 -07:00
Shane Smiskol 91a7bb4ea3 GM camera ACC: raise brake pressed threshold (#26081)
* Different brake pressed thresholds

* comment

* bump to master
2022-10-14 16:54:13 -07:00
Shane Smiskol c0840e0c33 Fix refs 2022-10-14 16:50:07 -07:00
Shane Smiskol 5d00e5cc71 GM: remove brake scaling (#26080)
* Don't add a weird factor to ret.brake

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

* generate car docs
2022-10-13 19:45:42 -07:00
Shane Smiskol 7e9961b9ac FPv2: support collecting versions for specific ecus (#25699)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* remove this

* .

* intersection

* print ecus

* shorter

* fix typing

* use config
2022-10-13 17:40:07 -07:00
Mitchell Goff 982ea83cf9 Added updateZoom function to map_renderer, plus custom style.json (#25997)
* Added updateZoom function to map_renderer, plus custom style.json

* Render 512x512 maps

* Define STYLE_PATH in navd sconscript
2022-10-13 14:27:59 -07:00
Vivek Aithal 5f7d9a519e regen: Refactor log migrate functions to avoid needing azure keys (#26049)
* refactor migrate fns to avoid needing to use azure keys on import

* move azure key init behind a function

* resolve comments
2022-10-13 13:21:35 -07:00
hoomoose 649eaf273f Hyundai: support HDA1 EV6 and Ioniq 5 (#25723)
it's hda1 time

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-10-13 09:34:59 -07:00
Shane Smiskol bf5f9adcc8 boardd: don't multiplex OBD port on external pandas (#26062)
don't multiplex on ext pandas
2022-10-12 22:34:40 -07:00
Cameron Clough 7f3c070061 Hyundai: add missing Elantra Hybrid 2023 FW versions (#26055)
* add Hyundai Elantra HEV 2023 fw

8dcf421697cd2cb0|2022-10-12--16-12-21--0

VIN: KMHLN4AJ5PU042417

* add 2023 to docs

* delete

* fix fingerprint

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-10-12 22:28:07 -07:00
Adeeb Shihadeh 82bd082dcd Hyundai: split alt gas pressed signals by EV and ICE (#26061) 2022-10-12 22:12:24 -07:00
Adeeb Shihadeh 4ee0b8196f Hyundai: fix alt CAN-FD cancel (#26057) 2022-10-12 21:54:53 -07:00
Adeeb Shihadeh c782380fc1 Hyundai: share panda flags with CAN-FD platform (#26058)
* Hyundai: share panda flags with CAN-FD platform

* move that

* only set bit

* bump panda

* panda master

* regen + update refs for new param
2022-10-12 21:54:08 -07:00