Commit Graph

11039 Commits

Author SHA1 Message Date
Jason Wen 8653df48fd Hyundai: Car Port for Kona EV 2nd Generation (HDA2, 2023 Korean Ver.) (#28725)
* Hyundai: Car Port for Kona EV 2nd Generation (2023 Korean Ver.)

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

* gate with flag

* new blinker signals for 2nd Gen Kona

* add test route

* Update CARS.md

* bump opendbc

* match opendbc definition

* Attempt to block laneline information to suppress LFA

* Try 0x364

* Block 0x364|BYTE7

* Block all bus 2/6 messages

* Lowercase to match DBC

* Aight

* we don't use this

* Final test to block LFA

* No byte 7

* Fix

* Fix tx

* cleanup

* HDA2 support

* Update RELEASES.md

* bump opendbc

* from `liveTorqueParameters`

* add test route

* bump panda

* official spec

* Check for new LKAS addr instead

* Update comment

* sync with dbc

* Combine LFA suppress can sends

* bump opendbc

* Add new tx to unit test

* linter

* Consolidate

* rename and update torque params

* add note for blinker weirdness

* bump

* bump

* clean up block msg

* it uses LFA if long

* not used in multiple places

* bump panda

* correct name

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fafca0e44d52e91b5fc30972390d57f340bafaaa
2023-08-30 00:02:19 -07:00
Adeeb Shihadeh 92014fc125 common/i2c: make thread safe (#29706)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6333ff94e76376e315ba08b0691b5dea5ec03d3c
2023-08-29 18:34:30 -07:00
Justin Newberry debd00f9e5 CI: prepare for pytest by adding marker and avoiding duplicated tests (#29682)
prepare for pytest
old-commit-hash: d3befb2e04dfd12752fc98599800e911ef6a15d4
2023-08-29 17:04:42 -07:00
Justin Newberry 302a450a14 bump submodules (#29705)
* bump submodules

* bump rednose

* fix dockerfiles
old-commit-hash: 7a4eaeaf9f5facdf897fe2404d9bd26ef03a31ec
2023-08-29 17:02:38 -07:00
Kacper Rączy 41fd8b51e7 macOS: generate .pyenvrc during setup (#29698)
* Create .pyenvrc if it does not exist

* Replace source zshrc with pyenvrc

* Remove unnecessary variables if pyenv wasn't installed

* Add check fo PYENV_SHELL

* source instead of eval

* printf instead of echo

* leave previous pyenvrc path to source

* Add newline

* Change shebang

* Dont source the file after setup

* eval virtualenv-init too

* modify comment

* Just unset broken function on macos
old-commit-hash: 39d2517d3d9de8175aa2c95491b043580e28500f
2023-08-29 16:01:04 -07:00
Greg Hogan de996d76bb rename GPIO pin with ublox in the name that is not ublox specific (#29702)
* rename UBLOX_PWR_EN to GNSS_PWR_EN

* add schematic label as comment
old-commit-hash: 5058f31908ec10e1dad10fc8f1e9921d6df52efe
2023-08-29 22:24:37 +00:00
Justin Newberry 38270df689 Devcontainer: add recommended extensions (#29703)
* add recommended extensions

* add cython and jupter
old-commit-hash: 82ea2c568871297cbc65c9c85b53493ba190c8fe
2023-08-29 15:05:17 -07:00
Mitchell Goff c4ae1fae5a Added USE_THNEED environment variable and removed build flag (#29645)
old-commit-hash: d998fd88a80e61e44692c50deefc91a7f94b59a2
2023-08-29 14:07:57 -07:00
Justin Newberry 279bd020dc Tests: logmessaged reduce global state (#29680)
* reduce global state

* use a decorator here too

* use that one

* use base imports

* ipchandler in setup

* move to common dir

* move to helpers

* wip

* fix the decorator
old-commit-hash: 5dc7028f91079dfa07347a4d24ff56b72c24bd20
2023-08-29 13:36:26 -07:00
eFini 9e30ca0f33 ui/map: fix icon naming (#29699)
old-commit-hash: 2d4f5ac8eaa0a960d47ea34c9f404a755224d790
2023-08-29 20:00:24 +01:00
Saber 458f7b786d VW MQB: Add FW for 2016 Skoda Superb (#29701)
old-commit-hash: d37d179b5da8c30a3b8d74ba13396f2b27324121
2023-08-29 19:58:29 +01:00
Justin Newberry 417968212b Parser: assert no duplicate message checks (#29696)
* assert no duplicate checks

* bump

* remove duplicates

* are both messages present?

* guess we need this extra check

* this makes it more clear

* bump opendbc

* fix preglobal
old-commit-hash: 5f0729791ab6bdb22b3e971f0153a88441f8831a
2023-08-29 10:53:21 -07:00
Jason Wen f837b5b40f Carcontroller: consolidate can sends method imports (#29695)
* Carcontroller: consolidate can sends method imports

* fix

* ruff
old-commit-hash: 7fbb7254fa13e0f219a1d8cd2d32c71388e93eb0
2023-08-29 10:51:50 -07:00
Justin Newberry b08c5d7517 Tests: test_caching reduce global state (#29681)
old-commit-hash: dd9b0231c696607c14a8c10adeeb4d047c5ff782
2023-08-29 10:06:32 -07:00
Shane Smiskol 280f70ada5 Revert "IsoTpParallelQuery: extend timeout for every frame type" (#29693)
* Revert "IsoTpParallelQuery: extend timeout for every frame type (#29654)"

This reverts commit bbde2143a809048ff9e5cf1a0deef6b37ee4c9c9.

* bump

* bump to master

* figure out a clean way to exclude segments

* revert

* bump
old-commit-hash: ddddc7a8cbb9de28b24cc7d762c25b57ad43e620
2023-08-28 23:27:58 -07:00
Jason Wen 4f6347d5b1 Hyundai CAN-FD HDA2: specify signals to suppress LFA (#29658)
* Hyundai CAN-FD HDA2: specify signals to suppress LFA

* bump opendbc

* Fix

* Update comment

* fix

* closer to original

* preserve behavior

* Revert "preserve behavior"

This reverts commit 6549c085ab6bdd093f7668e7df79cd85350bc028.

* preserve behavior

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 67177b2ca393f51a45a97fcdac14be454b224c8c
2023-08-28 22:58:43 -07:00
Kacper Rączy dfe6c4729e radard: radar fault test (#29673)
* Radar fault test

* Remove i

* Add radar fault case for car interfaces

* Removed empty whitespace

* Fix typo
old-commit-hash: 97865d751fcc40baa0cfb4450496348902b16c9e
2023-08-28 22:34:47 -07:00
Kacper Rączy a40c0c9b6e process_replay: clean env vars after run (#29694)
Clean environ vars at the end of replay
old-commit-hash: bb14ba4e5e5bd229bde42a14d1c9a7bbc02297b5
2023-08-28 19:44:40 -07:00
Justin Newberry f22753034c Subaru: cleanup and fix preglobal (#29690)
* cleanup and fix preglobal

* those are also duplicates
old-commit-hash: 3348cd3825d33a6026ef92a526e54ff8cf41ce5e
2023-08-28 19:37:04 -07:00
Shane Smiskol aa3c44dcdd FW query timing test: fix refs (#29692)
* fix refs

* don't round added values

* fix
old-commit-hash: 3cc328163baaf3087c95e5f89f363807b218f052
2023-08-28 17:52:49 -07:00
Harald Schäfer 3a28e97a95 Revert: Locationd: enable laikad (#29687)
* Revert: Locationd: enable laikad

* update ref
old-commit-hash: 55b391509d94c45000df6754f173ad446dc1b34c
2023-08-28 16:27:11 -07:00
Jason Wen 186de8bddb Hyundai: consolidate button messages creation (#29663)
* Hyundai: refactor button messages creation and consolidation

* one bool should be enough

* Use CLU11|0x4F1 to determine

* grammar pls

* action

* fix duplication

* move to bottom

* one area

* type

* Revert "one area"

This reverts commit c2b794f964b3df09a5ae9f35a3853e6cec69f93a.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5aed2e01e80b067c859d7655812065f0a4271ed9
2023-08-28 15:23:02 -07:00
Shane Smiskol 99b4b0a392 Hyundai CAN FD: rename LKAS signal (#29685)
* bump

* now fix

* comment
old-commit-hash: 21ffd807b6f258d6f30c1228100bf2ed93e66309
2023-08-28 15:14:07 -07:00
Adeeb Shihadeh 7111ce6ce8 pycurl is no longer just a dev dependency (#29684)
old-commit-hash: 17bd792eee36ff678b2c2a4376e0e5cf53468b2a
2023-08-28 14:49:59 -07:00
Dean Lee d5dba43885 ui/networkmanager: add #pragma once (#29678)
#pragma once
old-commit-hash: a49dfa2969df29d49e7bd1d9dbfeb2627c5c398c
2023-08-28 11:40:51 -07:00
Korben 4dba47b21d Update French translation (#29664)
* Update French translation - main_fr.ts

Hello

I noticed that some translations were sticking out a bit in the new interface, so I'm proposing an update to correct this. I've arranged for the translations that cause problems to have the same number of letters including spaces as the original sentence so that they fit in the UI.

@maxime-desroches if you can give me your feedback, that would be very kind. Thank you.

* Update selfdrive/ui/translations/main_fr.ts

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 4755a30e75b6336ff9b430e2392e71d32b5befb6
2023-08-28 10:38:42 -07:00
Joshua Mack 823e319159 Car docs: update alpha longitudinal name (#29670)
* Update Footnote 1

Updated Footnote 1 for new name for toggle "openpilot Longitudinal Control (Alpha)" as well as made it clearer on how to change to devel or master-ci branches, taken from comma.ai blog (https://blog.comma.ai/090release/#experimental-longitudinal-control).

* Add 3X

* Added to Docs_definitions

* just update name

* fix

* fix

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: eafdcb89e4a7b411a553da86eff3662ca1218acd
2023-08-28 10:30:15 -07:00
Adeeb Shihadeh cc29c6640d pytest: strict config (#29676)
* pytest: strict config

* collection works

* fixes
old-commit-hash: 72e2e2c9ec4e3a42cf35c23dfc0d66ea0565ace6
2023-08-28 10:26:19 -07:00
Dean Lee 3627574114 ui: rename QDialogBase to DialogBase (#29675)
rename QDialogBase to DialogBase
old-commit-hash: c36774dfba513f6ea64cff06b215c355ee059dff
2023-08-28 01:57:49 -07:00
Justin Newberry ffddeace6e CI: fix sim/docs scons cache invalidation (#29639)
* fix sim and docs images

* fix that

* that's a weird issue

* exists should work fine

* as little diff as possible
old-commit-hash: 5716dfc9b54f9f24e412ae020ac572ccec6ae1c9
2023-08-27 19:52:38 -07:00
Dean Lee 875b160fc6 ui/network: move to selfdrive/ui/qt/network/ (#29656)
* move to ui/qt/network

* wifimanager->wifi_manager
old-commit-hash: 125bd2cd9ef930f23c8d435ccf2a76b91228abe8
2023-08-27 15:23:19 -07:00
vanillagorillaa 646b4d55a6 Docs: Toyota B harness connector (#29669)
old-commit-hash: 4005b6addeda8d58b32f7aa7f96264ef7072887e
2023-08-27 15:21:06 -07:00
Jason Wen dcc348a188 Docs: Hyundai R Harness (#29662)
old-commit-hash: 7f4b588495c2432b0d726fb87e8252a1d58253f8
2023-08-27 10:58:18 -07:00
Dean Lee 888b60b214 ui/driverview: use common SubMaster (#29660)
old-commit-hash: 3a46a853cb22efe0053cf7e99fc7c8e7e676a455
2023-08-27 10:57:31 -07:00
Dean Lee c99c0b51e3 cabana/MessageListModel: replace match |= with match = match || (#29667)
old-commit-hash: 4f915f4f1a2ed4c62069e03b176d2a4906479c51
2023-08-27 17:56:49 +01:00
Justin Newberry 47eb055283 CI: fix proc replay download cache permissions (#29636)
chmod that
old-commit-hash: ab05bff07ded3d3cd932c59beaaa75c698195692
2023-08-27 09:45:16 -07:00
Cameron Clough 69d7ecac9c ui/NavManager: parse location timestamp from API (#29665)
old-commit-hash: 3d1a6f61463f022462c93a331add64af1cb48e94
2023-08-27 16:18:42 +01:00
Dean Lee 2e4a23510a ui/MapSettings: sort destinations by recent activity (#29079)
old-commit-hash: 12073c07afbd0de42ed475c9368ad9f51fd0c631
2023-08-27 15:13:43 +01:00
Dean Lee 3d04606233 cabana: use a monotonic buffer to allocate CanEvent (#29652)
* use a monotonic buffer to allocate CanEvent

* set the next buffer size to 6MB

* static

* cleanup

* use const iter

* rename to insert_pos
old-commit-hash: 57ad4f02f8e693639262aa3a982be8ed6c433ee0
2023-08-26 08:42:50 -07:00
Dean Lee ce0e2ec905 AGNOS setup: multi-lang support (#25680)
* multilang

* update translations

* Specifies dependency

* load lang from json file

* update translations

* fix white border

* remove stretch

* update translations

* fix tr

* no default language

* update translations

* rm main_en.qm

* cleanup

* cleanup

* add language files

* remove type=unfinish

* build languages before assets

* depends lrelease
old-commit-hash: 0767a6dee5355d1d7c0b6aaed8f358d9045268a9
2023-08-26 08:17:07 -07:00
Dean Lee 74195e1d78 ui/driverview: hide on interactive timeout (#29464)
* hide on interactiveTimeout

* cleanup

* requestDone->closeView

* dont reset timeout on hideEvent

---------

Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: b6b255c10355c40fd8c53703720f8e1b12958855
2023-08-26 07:47:18 -07:00
Shane Smiskol 2c86b69c92 IsoTpParallelQuery: extend timeout for every frame type (#29654)
* recv returns updated

* bump panda

* bump

* bump
old-commit-hash: a160f1a6241ef71a0816fd604052f49efe2e0dd5
2023-08-26 07:00:46 -07:00
Shane Smiskol 8f0ab9a105 Revert "ui/network: don't refresh on connect (#29651)" (#29653)
This reverts commit 500d58e5bf59e25ec973c6f635c6cf292c7a65ad.

Revert "ui/network: refresh IP address on connect"

This reverts commit 866c41a9249f98460436bae26def13be8c03a4fc.
old-commit-hash: 74a0a8f7b7f915a3fbb7bd26d77030ee89c02c6b
2023-08-26 05:23:20 -07:00
Shane Smiskol 045c092df8 ui/network: refresh IP address on connect
old-commit-hash: 46c32613fccd22e356c0b3092b61132ce264ae49
2023-08-26 05:15:05 -07:00
Shane Smiskol b14dc6be99 ui/network: don't refresh on connect (#29651)
* don't refresh when showing connected status

* fix

* fix

* can remove that nowe
old-commit-hash: 6ea564b33ec6066bea1cc9829ce7c3078fdd735d
2023-08-26 04:13:19 -07:00
Dean Lee 511dcacf06 ui/networking: show "connecting" immediately after clicking on a network (#29378)
* fix connecting not show

* clear connect state

* pass network by value

* add comment

* move pass by value to anoter pr

* should always use function to set connecting_to_network

* remove connecting when forgetting

* out here

* can't do this :(

* Revert "can't do this :("

This reverts commit e06145202de34142e74667c876dc22442eb30796.

Revert "out here"

This reverts commit 8ca7b47a28854a92d95fcb5c5fc435e140f9af2c.

Revert "remove connecting when forgetting"

This reverts commit 671db0b5e76b6266a48f20bf4a1fd40cad4f90a4.

Revert "should always use function to set connecting_to_network"

This reverts commit a220b518fa2a4103046f9522afada80db76ae90d.

* makes sense to keep this the same

* not in between slots

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9fe3df5d75bcaca3ea5be9e1d22bc00515c6e018
2023-08-26 03:54:19 -07:00
Dean Lee dff265fff2 ui/networking: fix icon label alignment issue (#29650)
fix align issue
old-commit-hash: 547f69f5f38768dcbc62c9e42a7ef250d233fe01
2023-08-26 03:19:30 -07:00
Shane Smiskol dc4177c344 wifiManager: empty path helper (#29648)
empty helper
old-commit-hash: 6bb97c416ff7a2cbbd5bbde6e49757f7db6f1523
2023-08-26 01:50:18 -07:00
martinl 5f1528708e Subaru: Ascent 2023 dashcam mode (#27583)
* Subaru: Add support for 2023 Ascent

* Update supported cars list

* Remove tester present from fw query

* merge master

* fix merge issues

* minimize diff

* add comment about 23 ascent

* add comment

* correct spot

* fix name

* nocap

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: a1bf66a0d26574eabf322ce139142a6db92c9098
2023-08-25 20:55:21 -07:00
Irene f6e31e8de5 Toyota: forward openpilot FCW to cluster when engaged (#25677)
* move ui message handling out of condition

* relay openpilot fcw to car

* only send normal fcw if DSU is unplugged

* add comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b3e4eb15dc7a41385a7bbd26a3cbba10a8139f2d
2023-08-25 20:17:05 -07:00