Commit Graph

7421 Commits

Author SHA1 Message Date
Cameron Clough
f38fe7cfb1 ui: increase toggle confirmation font size (#26413)
* ui: make toggle confirmation text larger

* center title

* reduce line breaks

* slightly reduce font size
2022-11-09 14:53:41 -08:00
Shane Smiskol
0ca9d1810c interrfaces: more complete PID tests (#26422)
* more complete PID tests

* doesn't need to be fancy

* less fancy
2022-11-09 12:10:08 -08:00
Vivek Aithal
c64e2c228a [controlsd] Toyota Rav4 TSS2 bugfix (#26421)
bugfix toyota rav4 pid init values
2022-11-09 12:09:55 -08:00
Jason Young
34f580e75e VW PQ: Fix exception with openpilot longitudinal (#26417)
* VW PQ: Fix exception in long control

* move default value to init
2022-11-09 01:55:37 -08:00
Shane Smiskol
191b8081b2 GM Camera: use ECM brake pressed bit (#26400)
* GM camera: use ECM brake pressed bit

* bump panda and use more reliable bit

* bump panda

* back to ECMEngineStatus

* bump

* Update selfdrive/car/gm/carstate.py

* bump panda

* Update ref_commit
2022-11-08 20:52:35 -08:00
Adeeb Shihadeh
9a3f468051 experimental mode (#26416)
* experimental mode

* rename param

* red lights
2022-11-08 14:45:01 -08:00
Adeeb Shihadeh
8ba9a5107b boardd: SPI support (#26374)
* spi handle

* put usb back

* handle eintr

Co-authored-by: Comma Device <device@comma.ai>
2022-11-08 13:21:07 -08:00
Adeeb Shihadeh
5960ba5def UI: widecam only in e2e mode (#26412) 2022-11-08 12:49:22 -08:00
Shane Smiskol
52a644e656 Toyota: add hysteresis to cluster speed (#26386)
* add hysteresis to cluster speed

* add minimum cluster scaling

* fix

* Update ref_commit
2022-11-08 00:03:23 -08:00
Jason Wen
d62cdc400c HKG: Car Port for Genesis GV70 2022 (#26373)
* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update docs

* Update selfdrive/car/hyundai/values.py

* GV70 does radar SCC, separate them

* One more

* bump panda

* Gate 0x1A0 away from bus 6

* Can't leave out the OG

* EV6 non-HDA2 too?

* bump panda

* bump panda

* Check 0x1a0 based on param

* bump panda

* bump panda

* bit simpler

* fix bit op

* fixes

* bump panda to master

* cmt

* flip

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-11-07 23:03:36 -08:00
Shane Smiskol
e971bb11c2 Hyundai: bump safety params (#26407)
* bump panda

* bump panda

* bump panda

* update refs

* bump panda

* bump panda
2022-11-07 22:14:47 -08:00
Vivek Aithal
a0edd05bb0 [controlsd] Revert Rav4 TSS2 to PID control (#26403)
* revert rav4 tss2 to pid control

* Update interface.py
2022-11-07 18:25:39 -08:00
Harald Schäfer
f63f0de80a E2e long model: calibrate model speed to wheel speed (#26395)
* calibrate!

* Fix test

* Fix proc replay

* check len

* get v_ego from model 8501d20-bb59-4193-aa82-82b2737dedd6/449 609d90f3-65e6-4617-a60c-d6d99eead408/700

* bump cereal

* initialize v_model_error

* typo

* better names

* cleanup

* bump cereal

* update model replay ref commit

* bump to cereal master

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
2022-11-07 17:49:36 -08:00
Vivek Aithal
e9eb5d99ff [torqued] Fix high speed oscillations (#26338)
* modify low speed factor during high speeds and rescale friction

* update refs
2022-11-07 17:01:24 -08:00
Jason Wen
1b6e37daa6 Hyundai: update Ioniq 5 HDA I supported model years (#26376)
* Hyundai: Add FW for 2023 Ioniq 5 HDA2

* Update values.py

* Update CARS.md

* Update values.py

* Update CARS.md
2022-11-07 16:51:32 -08:00
brownspaceman
ea813a9a7d Subaru: add missing engine FW for 2019 Impreza (#26385)
added fw for 2019 subaru impreza
2022-11-07 16:48:54 -08:00
Shane Smiskol
ed3bf4f123 onroad ui: fix opacity affecting other drawn icons (#26378)
* save painter in drawIcon

* fix

* Update selfdrive/ui/qt/onroad.cc
2022-11-07 16:39:53 -08:00
Alen
1fe45ab3c5 Kia EV6: Add EU fwdCamera firmware (#26398) 2022-11-07 14:07:40 -08:00
Harald Schäfer
253e5d7f9d FCW: less false positives (#26366)
* Less FP for FCW

* enable fcw for e2e long
2022-11-06 12:17:07 -08:00
Shane Smiskol
e079751f79 ui: revert e2e path changes (#26382)
* Revert "ui: fade to default path color when inactive (#26375)"

This reverts commit 0b385a5650.

* Revert "ui: minor e2e path tweaks (#26351)"

This reverts commit d257e28479.

* stronger colors

45
2022-11-05 15:05:30 -07:00
ZwX1616
5768af09c0 DM: lower bound ee calib (#26370)
keep in linear region
2022-11-05 13:24:38 -07:00
Lee Jong Mun
50fddb52ba Multilang: kor translation update (#26380) 2022-11-05 01:44:18 -07:00
Shane Smiskol
0b385a5650 ui: fade to default path color when inactive (#26375)
* fade to default path color when inactive

* long!
2022-11-04 21:04:53 -07:00
Kurt Nistelberger
e4cd8a15db sensord: lsm self test (#25855)
* lsm self test v1

* add lsm6ds3 accel self test

* add self test for lsm6ds3 gyro

* add c variant self test

* code CleanUp

* address PR comments

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-11-04 20:36:44 -07:00
Jason Wen
e4342b5e16 Hyundai CAN-FD: support 2023 Kia Sportage & 2022 Hyundai Santa Cruz (#25434)
* Hyundai: Car Port for Santa Cruz 2022

* bump opendbc

* New struct and params for CAN-FD ICE models

* fixup! New struct and params for CAN-FD ICE models

* bump panda

* bump panda

* HKG: Car Port for Sportage 2023

* fixup! HKG: Car Port for Sportage 2023

* Kia Sportage 2023: Add FW versions

* Longitudinal Control: ICE CAN-FD models

* fixup! Longitudinal Control: ICE CAN-FD models

* bump panda

* fixup! Longitudinal Control: ICE CAN-FD models

* Update car info

* fixup! Longitudinal Control: ICE CAN-FD models

* Gate radar disable behind HDA2 only

* Gate radar disable behind camera SCC cars

* Update CARS.md

* Add FW versions for Santa Cruz 2021

* Test route for Kia Sportage 2023 (openpilot longitudinal enabled)

* Test route for Santa Cruz 2021 (openpilot longitudinal enabled)

* fixup! Kia Sportage 2023: Add FW versions

* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update car info

* Add torque param for GENESIS GV70 1ST GEN

* Fix CARS.md

* Update test route

* Remove unnecessary HDA2 checks

* Add additional FW versions for Sportage 2023

* Fix Kia Sportage supported MY

* Fix MISRA violation

* Fix release note

* Use IntFlag to gate camera SCC for CAN-FD

* Parse 0x1A0 on bus 4 dynamically

* bump panda

* Car code cleanup

* Typo

* Add additional 0x1A0 signals to bus 4

* Fix weird bitwise logic

* Check 0x1a0 after safety config is set

* Revert "Check 0x1a0 after safety config is set"

This reverts commit 141bbf79792bcde9cfadbc0680654acf61d8d16f.

* Check car list instead

* Add GV70 2022 test route

* Add fwdRadar FW version for GV70 2022

* Fix CARS.md

* Fix CARS.md

* Fix CARS.md

* new santa cruz route

* bump panda to commaai/panda#1031

* bumppanda

* some clean up

* lets refactor CAMERA_SCC_CAR in another pr

* minor clean up

* update docs!

* GV70 is a radar-SCC car :( (another PR)

* fix removed sportage hybrid versions

* update docs

Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: sshane <shane@smiskol.com>
2022-11-04 18:44:38 -07:00
Cameron Clough
e78280da12 ui: set dialog confirm button text (#26365)
* ui: set dialog confirm button text

* short

* blue confirm
2022-11-04 17:27:58 -07:00
Shane Smiskol
b22fc70f52 Hyundai CAN-FD: support ICE alt gears (#26367)
* Hyundai: Car Port for Santa Cruz 2022

* bump opendbc

* New struct and params for CAN-FD ICE models

* fixup! New struct and params for CAN-FD ICE models

* bump panda

* bump panda

* HKG: Car Port for Sportage 2023

* fixup! HKG: Car Port for Sportage 2023

* Kia Sportage 2023: Add FW versions

* Longitudinal Control: ICE CAN-FD models

* fixup! Longitudinal Control: ICE CAN-FD models

* bump panda

* fixup! Longitudinal Control: ICE CAN-FD models

* Update car info

* fixup! Longitudinal Control: ICE CAN-FD models

* Gate radar disable behind HDA2 only

* Gate radar disable behind camera SCC cars

* Update CARS.md

* Add FW versions for Santa Cruz 2021

* Test route for Kia Sportage 2023 (openpilot longitudinal enabled)

* Test route for Santa Cruz 2021 (openpilot longitudinal enabled)

* fixup! Kia Sportage 2023: Add FW versions

* HKG: Car Port for Genesis GV70 2023 thanks to @zunichky!

Co-authored-by: kyle zunich <zunichky@msu.edu>

* Update car info

* Add torque param for GENESIS GV70 1ST GEN

* Fix CARS.md

* Update test route

* Remove unnecessary HDA2 checks

* Add additional FW versions for Sportage 2023

* Fix Kia Sportage supported MY

* Fix MISRA violation

* Fix release note

* Use IntFlag to gate camera SCC for CAN-FD

* Parse 0x1A0 on bus 4 dynamically

* bump panda

* Car code cleanup

* Typo

* Add additional 0x1A0 signals to bus 4

* Fix weird bitwise logic

* Check 0x1a0 after safety config is set

* Revert "Check 0x1a0 after safety config is set"

This reverts commit 141bbf79792bcde9cfadbc0680654acf61d8d16f.

* Check car list instead

* Add GV70 2022 test route

* Add fwdRadar FW version for GV70 2022

* Fix CARS.md

* Fix CARS.md

* Fix CARS.md

* new santa cruz route

* bump panda to commaai/panda#1031

* bumppanda

* some clean up

* lets refactor CAMERA_SCC_CAR in another pr

* minor clean up

* revert car stuff

* revert panda

* revvy

* revvy

* it's all ice

* revert

* revert

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: kyle zunich <zunichky@msu.edu>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
2022-11-04 17:06:34 -07:00
Shane Smiskol
1db915ec1f Hyundai CAN-FD: remove check on unused msg (#26368)
remove check on unused msg
2022-11-04 17:03:41 -07:00
Adeeb Shihadeh
06be96cae2 boardd: prep for SPI + factor out USB (#26356)
* merge origin/spi-panda

* just prep

* boardd: factor out USB comms

* fix those

* add to release files

* little more
2022-11-04 16:36:27 -07:00
Jason Wen
31dbd21f07 Hyundai: Add FW for 2023 Ioniq 5 HDA2 (#26145) 2022-11-04 16:32:40 -07:00
Cameron Clough
91a1f1a91e ui: toggle confirmation and dialog redesign (#26331)
* toggle confirmation

* change text

* not for e2e

* get current description

* remove are you sure

* merge rich text and confirmation dialogs

* add some line breaks

* font colour

* fix padding a little

* revert

* updated toggle design
2022-11-04 15:37:41 -07:00
ZwX1616
2837e73a70 DM: compensate for non-calibrated pitch spread (#26348) 2022-11-04 14:18:51 -07:00
Shane Smiskol
d257e28479 ui: minor e2e path tweaks (#26351)
* new e2e path

* clean up

* fix

* 2.5 seconds feels disjointed
2022-11-04 13:52:24 -07:00
Harald Schäfer
a7ced7c54b Longcontrol: faster transition from starting to stopping (#26361)
* Never command accel when stopping

* Update ref_commit
2022-11-04 13:21:34 -07:00
Jason Young
9382d55280 VW MQB: Enable experimental long (#26359)
* VW MQB: Harness updates

* don't need the variant footnote

* VW MQB: Enable experimental long

* autogen doc fixes

* rename that
2022-11-04 12:45:35 -07:00
Shane Smiskol
033ffa4a88 Update comment in ui.cc 2022-11-04 02:30:14 -07:00
Vivek Aithal
81f6ebebaa [paramsd] Prevent low speed drifting (#26360)
* lower active speed for paramsd observations

* update refs
2022-11-04 01:32:29 -07:00
Kurt Nistelberger
aebb08e105 locationd: add gps sanity check for quectel gps (#26352)
* update check

* .

* .

* remove gps kf time check for gps ok

* upsi

* dont use gps_mode

* update refs

* Update selfdrive/locationd/locationd.cc

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

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-11-03 23:43:30 -07:00
Shane Smiskol
384f940237 ui: fix disappearing path with wide cam (#26354)
* split lat long icons

* no overriding border status, consider steering pressed for lat icon, spacing for readability

* add engageable back

add engageable back

add engageable back

* all the debugging code 🙃

* revert that stuff

* only the fix

* comment

comment

* fix dat

* explicit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-11-03 23:07:29 -07:00
Cameron Clough
15828c4fea updated: reset working tree in each submodule (#26316)
* updated: reset working tree in each submodule

* run after fetch too
2022-11-03 19:02:39 -07:00
Adeeb Shihadeh
9a8c7f2453 boardd: remove canfd whitelist 2022-11-03 15:51:14 -07:00
Mehmet Tolga Avcioglu
ee0dd36a3c Kona EV 2022: add missing FW versions (#26278)
* add fingerprint for kona electric 2022

* Update selfdrive/car/hyundai/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-11-03 15:17:36 -07:00
Jason Young
c9e65be9b1 VW MQB: Harness updates and docs cleanup (#26313)
* VW MQB: Harness updates

* don't need the variant footnote

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-11-03 14:37:21 -07:00
Jason Young
d172cbbcc8 VW MQB: Add FW for 2021 Audi Q3 (#26343)
* VW MQB: Add FW for 2021 Audi Q3

* update docs
2022-11-03 13:33:01 -07:00
Vivek Aithal
ad62a448fa [torqued] Set HYUNDAI ELANTRA 2021 Offline vlaues (#26344)
change elantra values
2022-11-03 13:21:11 -07:00
Shane Smiskol
3e69973819 car docs: auto-generate footnote for DSU cars (#26321)
* note for dsu cars

* don't hardcode dsu footnote (1/2)

* test

* revert the experimental long toggle

* another day:(

* DSU doesn't have to be toyota specific, it's a generic carParam!

* this is safe, just make sure it's unknown

* these cars do not have OP long for some reason

* UNSUPPORTED_DSU_CAR

* forgot this

* fix autoResume

* fix autoResume 2
2022-11-03 01:00:33 -07:00
Shane Smiskol
80e8d76d39 car docs: speedup test (#26337)
* faster

* faster
2022-11-02 20:40:42 -07:00
Shane Smiskol
b0656f2c75 Toyota: add unsupported DSU car list (#26336)
* note for dsu cars

* don't hardcode dsu footnote (1/2)

* test

* revert the experimental long toggle

* another day:(

* DSU doesn't have to be toyota specific, it's a generic carParam!

* this is safe, just make sure it's unknown

* these cars do not have OP long for some reason

* UNSUPPORTED_DSU_CAR

* forgot this

* .

* .

* revert

* revert

* smaller diff
2022-11-02 20:12:35 -07:00
Shane Smiskol
735af656a0 car docs: docs-only footnote flag (#26335)
docs-only footnotes
2022-11-02 18:56:26 -07:00
Shane Smiskol
e634afb719 GM: fix fault while moving backwards (#26333)
* log signed speed

* bump to master

* need this

* fix

* fix...

* see if this works

* just fault fix (no logging or standstill. tho revisit standstill)

* move

* Revert "move"

This reverts commit c564e74666e3a418ef43a77926c8a38a2bf89511.
2022-11-02 17:55:53 -07:00