Commit Graph

12534 Commits

Author SHA1 Message Date
Kurt Nistelberger 4ec1c7e614 CI: camera box update (#26414)
* check if all frames are laggy

* apply tolerance

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-11-08 13:51:16 -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
Dean Lee 1cf293f3a6 Cabana: improve message sorting,filtering and updating. (#26396)
* optimize sort/filter/update

* helper function msgName

* cleanup
2022-11-07 07:53:42 -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
Dean Lee 45891c7907 Cabana: use QToolBar to manage the controls in ChartsView (#26388)
use QToolBar
2022-11-06 11:06:42 -08:00
Dean Lee cdcc0fb369 Cabana: Reimplement HistoryLog::sizeHintForColumn to improve performance (#26393)
Reimplement sizeHintForColumn to improve performance
2022-11-06 11:06:10 -08:00
Dean Lee 3dc5dbf103 Cabana: move the chart title into graphics view (#26389)
remove class ChartWidget
2022-11-06 11:05:46 -08:00
Dean Lee 529504e201 Cabana: move dbc related code from MessagesWidget to MainWin (#26387)
* move dbc related code to mainwin

* trigger ci
2022-11-06 11:05:14 -08:00
Dean Lee ea5587d1d1 Cabana: fix wrong hardcoded column index (#26392)
fix wrong column count
2022-11-06 11:03:57 -08:00
Dean Lee ac76cc9325 Cabana: cleanup code (#26369)
* remove ChartView::enterEvent

* cleanup ChartsWidget::removeAll

* group graphics items

* remove rubber->setPalette

* helper function DBCManager::parseId

* remove variable name from dbcManager

* fix readme/Usage

* use QSlider::setRange

* cleanup include

* use emplace_back

* remove varialbe routeName from CanMessages

* remove tmp variable

* remove blank line

* cleanup layout

* clean settings layout

* connect to streamStarted

* cleanup signal/slot
2022-11-05 16:52:16 -07: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
Kurt Nistelberger e23a25c3ae fix gps test runner 2022-11-04 21:54:06 -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
Kurt Nistelberger fa4a368005 CI: add OX0C310 camerad box (#26318)
* update jenkins file

* .

* revert

* Update Jenkinsfile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-11-04 16:44:06 -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
Adeeb Shihadeh 615198bfd0 bump panda (#26362) 2022-11-04 12:46:06 -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
Dean Lee 0e3edf7877 Cabana: fix signal list glitch (#26357)
* fix signal list glitch

* fix glitch when open new msg

* reduce spacing

* fix binaryview glitch

* spacing 3

* create form on demand

* dont close form after save

* remove timer

* remove sizepolicy

* cleanup
2022-11-04 11:16:15 -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
Dean Lee 241d88c018 Cabana: update viewport after mouse released (#26355)
update viewport after mouse released
2022-11-03 20:09:14 -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