Commit Graph

6327 Commits

Author SHA1 Message Date
Harald Schäfer dfd47a5f4d Add force decel to e2e long (#26448)
* add force decel to e2e

* Update longitudinal_planner.py
old-commit-hash: f23296bc87a79c59d9ab011f2ba35ed1049beb72
2022-11-11 10:46:03 -05:00
Shane Smiskol 1ea7e49e8d controls: disengage on regen paddle independently (#26453)
* add regen braking field that's just used to add a pedalPressed

* bump

* bump

* Update ref_commit

* we want the standstill check

we want the standstill check

* see what diff is now

* Update ref_commit
old-commit-hash: 74b6e22a7dc8e0b1ec051f00037506d23a017ae8
2022-11-10 19:06:31 -08:00
eFini 2dc299e937 Multilang: add missing Chinese (Traditional) translations (#26433)
* update cht translation

* fix ellipsis -> spaces

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 765761d7d0e813a3397728dcbe81a23a30051288
2022-11-10 19:02:58 -08:00
Adeeb Shihadeh cec416ac66 boardd: verify SPI checksum (#26454)
* verify checksum

* import from panda

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f5bf3cd21bef0069e0f470ad79ccac3da361a295
2022-11-10 18:37:10 -08:00
Lee Jong Mun b1b9b98efa Multilang: kor translation update (#26445)
* Multilang: kor translation update

* fix
old-commit-hash: df145ae99f80d53667533f848b661768b7d5c269
2022-11-10 16:56:28 -08:00
AlexandreSato ed43e73c33 Multilang: Update pt-BR translations (#26444)
* update pt-BR translations

* fix some cutoff texts

* Delete main_pt-BR.ts

* Add files via upload

* Delete main_pt-BR.ts

* Add files via upload
old-commit-hash: 2961f8a7d8b891dd95912e0d21f54cf1f4afb696
2022-11-10 12:27:25 -08:00
YassineYousfi b7b827bdd2 min lane change speed 20mph (#26434)
old-commit-hash: 737408066895452f31f08144c129551b94e64662
2022-11-09 22:04:57 -08:00
Shane Smiskol 8c981ed847 Toggle titles: proper capitalization (#26438)
* proper caps

* update translations

update translations

update translations

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: 4efb01ece2a9ef54152682c1dc3756d3e4161241
2022-11-09 20:33:01 -08:00
Shane Smiskol a7eaaa16bb ui: static color non-e2e path (#26406)
* remove orientation color changing

* "just green"
old-commit-hash: 0941e40177eb0eb7a49bb08628e5aad2deb19c7f
2022-11-09 20:31:38 -08:00
Nelson Chen fcf4893f7d Toyota: add missing engine FW for RAV4H_TSS2 (#26432)
"rav4 hybrid xse 2020"

From Rogrhoa#2158 on Discord.

Example Route: 64edc30d23cad8cb|2022-11-09--20-02-03
old-commit-hash: d3122cc77e169d8eb87663741bacc165f7062d56
2022-11-09 19:59:12 -08:00
Shane Smiskol 848dc2da49 experimental long toggle: adjust description (#26437)
* Spell out AEB

* vanish
old-commit-hash: af84f1b3506082d644c2f52f88390fabcc9f7835
2022-11-09 19:42:34 -08:00
Shane Smiskol b2e82d028a ParamControl dialog: more explicit confirmation text (#26431)
* Use enable

* vanish

* fill in missing translation

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: a3cd50c5bbb924eaf40ab18d76f603edfc2f5a2a
2022-11-09 19:38:17 -08:00
Shane Smiskol 7c6601fed1 Multilang: clean up translation string (#26435)
* update translations

* do pt

* do pt

* do ko

* do ko

* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: 5a3c5e7a4b78853d6b350f551432a1bb6050eba9
2022-11-09 19:33:42 -08:00
Adeeb Shihadeh 18203a1cee UI: add set speed clarification for e2e long
old-commit-hash: 1fda075c7306976099bcfbb6b0a6303e819036b4
2022-11-09 18:42:51 -08:00
Shane Smiskol ab5e2b66e8 Toyota: factor on cluster speed to match dash (#26408)
* add a minimum factort

* Update ref_commit
old-commit-hash: e1001a3036fb93d6d0340d139d4ae2a1f2419d52
2022-11-09 18:27:30 -08:00
Shane Smiskol 2f978cd1a3 Multilang: mark some translations finished (#26430)
* mark finished translations

* fix

* cleanup

* revert
old-commit-hash: 6c03e093c6d1d9d45dc342cce2374656b80ecaa9
2022-11-09 17:31:58 -08:00
Shane Smiskol 215c16d661 Multilang badges: assert width exists in xml
old-commit-hash: bbc14656d937cadacbcb87ed88cb8800eb6b62fa
2022-11-09 17:30:33 -08:00
Shane Smiskol 9913ba51a9 multilang badges: no need to handle plurals
old-commit-hash: d8327bd9bed9833eb3d58a51097215c2de803d1b
2022-11-09 16:58:02 -08:00
Shane Smiskol c5f5a951dc translation badges: add number of unfinished translations (#26429)
* some clean up and add missing translations

* unfinished

* set proper width

* make this variable common
old-commit-hash: f540002e3fb6bcb15323add59d87269e7da6d00f
2022-11-09 16:49:17 -08:00
Lee Jong Mun 90418d1f97 Multilang: Korean translation update (#26424)
fix
old-commit-hash: 26d66ac671a6b15be4611face27844bae90b185f
2022-11-09 16:15:44 -08:00
AlexandreSato abd77480dc Toyota: Add missing Corolla Cross FW verions (#26426)
* add geraldo fingerprint

* add to non-H

* Update selfdrive/car/tests/routes.py

* Update non-us cross model years

* add test route

* Update routes.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 52378c97ecde4c489e18e23d01021f27c3acf073
2022-11-09 16:06:36 -08:00
Shane Smiskol 4980210416 Hyundai: add missing Sonata 2022 FW versions (#26428)
* Added FW Versions for 2022 Elantra and 2022 Sonata. 

Added for CAR.ELANTRA_2021 :

Ecu.transmission :  b’\xf1\x87CXMQFM3421815JB2ww\x96y\xaa\x98x\x87\x88wtwTfuwWh\x9f\xff\x8a\xff\xff\xffE\xe3\xf1\x89HT6VA640A1\xf1\x82CCN0N20NS5\x00\x00\x00\x00\x00\x00'

Ecu.engine : 
b'\xf1\x870\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\x82CNDWD0AMFCXCSG8A'


Added for CAR.SONATA :

Ecu.engine : 
b'\xf1\x870\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf1\x81HM6M1_0a0_J10'

Ecu.transmission: 
b'\xf1\x00T02601BL  T02832A1  VDN8T25XXX832NS8G\x0e\xfeE'

b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x81T02832A1  \xf1\x00T02601BL  T02832A1  VDN8T25XXX832NS8G\x0e\xfeE'

b'\xf1\x87954A02N060\x00\x00\x00\x00\x00\xf1\x82VDN8T25XXX832NS8'

* Update values.py

* Removed FW Versions for Elantra_2021.

* fix

Co-authored-by: humza2000 <111622889+humza2000@users.noreply.github.com>
old-commit-hash: 048cce2149db34ea0e32df3673248fbbc8e804ad
2022-11-09 16:04:19 -08:00
AlexandreSato 5cdd97649d Multilang: update pt-BR (#26420)
* update pt-BR translations

* fix some cutoff texts

* Update pt-BR translations
old-commit-hash: 584842488f4cab62bb9d5e4d8fc2cc3090634fb7
2022-11-09 15:13:17 -08:00
Cameron Clough 07282a9aeb ui: increase toggle confirmation font size (#26413)
* ui: make toggle confirmation text larger

* center title

* reduce line breaks

* slightly reduce font size
old-commit-hash: f38fe7cfb1b3011ea48a34b0500f352338e05b25
2022-11-09 14:53:41 -08:00
Shane Smiskol fc733027f5 interrfaces: more complete PID tests (#26422)
* more complete PID tests

* doesn't need to be fancy

* less fancy
old-commit-hash: 0ca9d1810c39d96ec0ebefc80df16dd68eb3387e
2022-11-09 12:10:08 -08:00
Vivek Aithal 66231d85de [controlsd] Toyota Rav4 TSS2 bugfix (#26421)
bugfix toyota rav4 pid init values
old-commit-hash: c64e2c228a57dd82685f9ca4251c49e953e1ac69
2022-11-09 12:09:55 -08:00
Jason Young 7dcbc23732 VW PQ: Fix exception with openpilot longitudinal (#26417)
* VW PQ: Fix exception in long control

* move default value to init
old-commit-hash: 34f580e75ee148398e6a44980053c20bf10f9797
2022-11-09 01:55:37 -08:00
Shane Smiskol 54b089a56d 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
old-commit-hash: 191b8081b2a9f3f9db0131edd270e40166570cfa
2022-11-08 20:52:35 -08:00
Adeeb Shihadeh 74979a7c76 experimental mode (#26416)
* experimental mode

* rename param

* red lights
old-commit-hash: 9a3f46805104c4bcb5cffa304b9b322874ccf412
2022-11-08 14:45:01 -08:00
Adeeb Shihadeh 461206de1c boardd: SPI support (#26374)
* spi handle

* put usb back

* handle eintr

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ba9a5107b353cc0fc5ab3bbab589b70c2fe9aaa
2022-11-08 13:21:07 -08:00
Adeeb Shihadeh 45dec4e84f UI: widecam only in e2e mode (#26412)
old-commit-hash: 5960ba5def7c42b3944f96cf103a0c4a6e633754
2022-11-08 12:49:22 -08:00
Shane Smiskol f9c9b96e27 Toyota: add hysteresis to cluster speed (#26386)
* add hysteresis to cluster speed

* add minimum cluster scaling

* fix

* Update ref_commit
old-commit-hash: 52a644e6564582632559255230c82b550db50c76
2022-11-08 00:03:23 -08:00
Jason Wen 62990e317e 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>
old-commit-hash: d62cdc400ce5f49b22ac42d5e9b74398e7c636b6
2022-11-07 23:03:36 -08:00
Shane Smiskol f36d799198 Hyundai: bump safety params (#26407)
* bump panda

* bump panda

* bump panda

* update refs

* bump panda

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

* Update interface.py
old-commit-hash: a0edd05bb0dec303df655a7695346ee0b90a2d37
2022-11-07 18:25:39 -08:00
Harald Schäfer f86b44d516 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>
old-commit-hash: f63f0de80a78ade6ad12fe98ea27094035d97457
2022-11-07 17:49:36 -08:00
Vivek Aithal 3029919422 [torqued] Fix high speed oscillations (#26338)
* modify low speed factor during high speeds and rescale friction

* update refs
old-commit-hash: e9eb5d99ff659a3f5e1b4e0bead321c469d8d889
2022-11-07 17:01:24 -08:00
Jason Wen 353659debc 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
old-commit-hash: 1b6e37daa64c6fda8eaf0ade26d6d8c11274ef68
2022-11-07 16:51:32 -08:00
brownspaceman 3a02dc4557 Subaru: add missing engine FW for 2019 Impreza (#26385)
added fw for 2019 subaru impreza
old-commit-hash: ea813a9a7dd1457899d5c1fe5ac67449c674eb0f
2022-11-07 16:48:54 -08:00
Shane Smiskol 1627a41a68 onroad ui: fix opacity affecting other drawn icons (#26378)
* save painter in drawIcon

* fix

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

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

This reverts commit 73bff7b2a9f0b49969bf2134393383fe5faa065d.

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

This reverts commit d0f80298a6491d22ac67f1eea27b9cc57c8f22bb.

* stronger colors

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

* long!
old-commit-hash: 0b385a5650c4e0b06eb83e44bdba3fcff117beeb
2022-11-04 21:04:53 -07:00
Kurt Nistelberger 6817dc2abe 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>
old-commit-hash: e4cd8a15db6b0e16e06485924395d725ecdc23df
2022-11-04 20:36:44 -07:00
Jason Wen 1270e7fda9 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>
old-commit-hash: e4342b5e169127cc17c659665e038b22eb995f23
2022-11-04 18:44:38 -07:00
Cameron Clough 88b083885e ui: set dialog confirm button text (#26365)
* ui: set dialog confirm button text

* short

* blue confirm
old-commit-hash: e78280da12c799ca7b5e391c53421607a5df617c
2022-11-04 17:27:58 -07:00
Shane Smiskol 3d8adcf653 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>
old-commit-hash: b22fc70f52f3a9b62c718011819126abd7552f9c
2022-11-04 17:06:34 -07:00