Commit Graph

10759 Commits

Author SHA1 Message Date
Rewat S d547f95bac Multilang: add missing Thai translations (#26234)
old-commit-hash: 6d30b1ee83
2022-10-25 12:50:50 -07:00
Shane Smiskol ed9c040be9 GM: reduce LKAS faults while inactive (#26196)
* send at 10hz when inactive

* try to make it fine to switch rates

* fix rate

* todododo

* fine if we skip, we usually send too early

* clean up

* this may be required, 50Hz is not really needed to sync/initialize

* preserves previous behavior (not sure if this makes sense)

* Revert "preserves previous behavior (not sure if this makes sense)"

This reverts commit 3b297bca72307b5cba09bec4e2cd8e0f2761af42.

* Revert "this may be required, 50Hz is not really needed to sync/initialize"

This reverts commit a6b4693814214d3f508db922f3b371c402a13995.

* rm com

* Update ref_commit

* gate behind GM Cam

* common logic

* bet

* update refs
old-commit-hash: 27e315e58f
2022-10-25 00:12:49 -07:00
HaraldSchafer 89e6b69f05 Calibrationd: Calibrate wide from device (#26204)
* Use calibrator to stabilize wide transform

* Need array

* Needs init

* Needs to be arr

* publish mshg

* Check size

* Update ref

* fix calibration param read when no wide calib

* need self!
old-commit-hash: 15595fc859
2022-10-24 20:17:05 -07:00
Shane Smiskol f13e98f0c5 FPv2 tests: test all addrs map to one ECU (#26151)
* add test

* fix mapping
old-commit-hash: e9fcef99e1
2022-10-24 19:08:20 -07:00
Jason Wen c2141b7f48 HKG: Add FW and Remove from dashcamOnly for 2019 Elantra GT i30 (#25951)
* HKG: Add FW for 2019 Elantra GT i30

* Add test route

* remove can fp

* revert that

* actually shares the same platform with the ceed

* marketed as Elantra i30

* stash

* Revert "stash"

This reverts commit 03b164c9dbad53ff22a961d7a93848b8c91d1722.

* add car infos

* gen docs

* combine with elantra

* legacy again

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 92b458c709
2022-10-24 18:40:01 -07:00
d3v1n11 c5bf7f7309 Hyundai: add 2020 Palisade FW versions (#26085)
* Update values.py

* Remove unknown versions

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3df83a7809
2022-10-24 12:57:13 -07:00
Shane Smiskol 9fbaafa38f Multilang: remove locations (#26223)
remove locations from langs not in UI
old-commit-hash: c00afb51be
2022-10-24 10:58:00 -07:00
Jason Young 0f001d181f VW MQB: Add FW for 2016 Volkswagen Passat (#26212)
old-commit-hash: 6d443007bc
2022-10-23 11:03:58 -07:00
Shane Smiskol 8b7a98ab8d GM: clean up gmcan (#26206)
* camera

* clean up gmcan

* fix

* revv
old-commit-hash: 66c01801a5
2022-10-22 00:09:37 -07:00
Bruce Wayne 21bcfad5a7 Revert "Use calibrator to stabilize wide transform (#26201)"
This reverts commit 1827b3c9e2942240f65d03ec0f790c91aa9c00ee.

old-commit-hash: 75b7fd0a7d
2022-10-21 21:44:47 -07:00
HaraldSchafer dfbb291ef2 Use calibrator to stabilize wide transform (#26201)
* Use calibrator to stabilize wide transform

* Need array

* Needs init

* Bump to master

* Needs to be arr

* publish mshg

* Check size

* Update ref
old-commit-hash: 42ef62e391
2022-10-21 20:30:48 -07:00
Shane Smiskol f3589b7cf2 GM camera ACC: cancel after delay (#26197)
* add delay to GM camera ACC cancel to avoid FCW and cruise fault

* we can revert brake pressed threshold now

* bump panda

* add proper threshold

* bump

* bujmp panda
old-commit-hash: 6efd2c3de3
2022-10-21 18:15:52 -07:00
YassineYousfi 78f0a175ae use upstream tinygrad (#26178)
* use upstream tinygrad

* add networkx to pipfile

* Revert "add networkx to pipfile"

This reverts commit 6cfa164378fa072b325a27040f0388730771437c.

* dont need networkx and update tinygrad

* submodule sync

* add new thneed file

* fix release files

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 68e7f42d68
2022-10-21 13:11:50 -07:00
Shane Smiskol b6700f6f54 Kia: add missing Stinger transmission FW (#26198)
Add missing transmission
old-commit-hash: 6e257300ea
2022-10-21 12:51:41 -07:00
HaraldSchafer e7d3c730b6 Modeld: Add comment (#26188)
Rename and add comment
old-commit-hash: 0edbbdeaf9
2022-10-21 11:20:52 -07:00
HaraldSchafer bcb1ba7bfe Wide transform model (#26165)
* d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700

* Change model outs

* Add cereal

* Publish transform

* d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700

* Bump cereal to master

* Bump cereal to master

* Update model ref
old-commit-hash: d25ab3e366
2022-10-21 01:29:58 -07:00
Shane Smiskol dcb882a690 GM: inactive gas/regen safety (#26184)
* Add INACTIVE_REGEN

* bump

* Update selfdrive/car/gm/carcontroller.py
old-commit-hash: 3a70253567
2022-10-21 01:14:15 -07:00
Bruce Wayne b15ff51d59 Revert "d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700"
This reverts commit 762b554862395cf7d9c7475fae4801a8e0733980.

old-commit-hash: 3a50d5fd85
2022-10-21 00:32:34 -07:00
Bruce Wayne a325c8ca1e d8501d20-bb59-4193-aa82-82b2737dedd6/449 f78009d1-2184-4136-9fbc-1c5de55d460d/700
old-commit-hash: 0ac12b82c7
2022-10-21 00:24:11 -07:00
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