Commit Graph

10472 Commits

Author SHA1 Message Date
Justin Newberry
7a4eaeaf9f bump submodules (#29705)
* bump submodules

* bump rednose

* fix dockerfiles
2023-08-29 17:02:38 -07:00
Kacper Rączy
39d2517d3d 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
2023-08-29 16:01:04 -07:00
Greg Hogan
5058f31908 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
2023-08-29 22:24:37 +00:00
Justin Newberry
82ea2c5688 Devcontainer: add recommended extensions (#29703)
* add recommended extensions

* add cython and jupter
2023-08-29 15:05:17 -07:00
Mitchell Goff
d998fd88a8 Added USE_THNEED environment variable and removed build flag (#29645) 2023-08-29 14:07:57 -07:00
Justin Newberry
5dc7028f91 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
2023-08-29 13:36:26 -07:00
eFini
2d4f5ac8ea ui/map: fix icon naming (#29699) 2023-08-29 20:00:24 +01:00
Saber
d37d179b5d VW MQB: Add FW for 2016 Skoda Superb (#29701) 2023-08-29 19:58:29 +01:00
Justin Newberry
5f0729791a 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
2023-08-29 10:53:21 -07:00
Jason Wen
7fbb7254fa Carcontroller: consolidate can sends method imports (#29695)
* Carcontroller: consolidate can sends method imports

* fix

* ruff
2023-08-29 10:51:50 -07:00
Justin Newberry
dd9b0231c6 Tests: test_caching reduce global state (#29681) 2023-08-29 10:06:32 -07:00
Shane Smiskol
ddddc7a8cb Revert "IsoTpParallelQuery: extend timeout for every frame type" (#29693)
* Revert "IsoTpParallelQuery: extend timeout for every frame type (#29654)"

This reverts commit a160f1a624.

* bump

* bump to master

* figure out a clean way to exclude segments

* revert

* bump
2023-08-28 23:27:58 -07:00
Jason Wen
67177b2ca3 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>
2023-08-28 22:58:43 -07:00
Kacper Rączy
97865d751f radard: radar fault test (#29673)
* Radar fault test

* Remove i

* Add radar fault case for car interfaces

* Removed empty whitespace

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

* those are also duplicates
2023-08-28 19:37:04 -07:00
Shane Smiskol
3cc328163b FW query timing test: fix refs (#29692)
* fix refs

* don't round added values

* fix
2023-08-28 17:52:49 -07:00
Harald Schäfer
55b391509d Revert: Locationd: enable laikad (#29687)
* Revert: Locationd: enable laikad

* update ref
2023-08-28 16:27:11 -07:00
Jason Wen
5aed2e01e8 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>
2023-08-28 15:23:02 -07:00
Shane Smiskol
21ffd807b6 Hyundai CAN FD: rename LKAS signal (#29685)
* bump

* now fix

* comment
2023-08-28 15:14:07 -07:00
Adeeb Shihadeh
17bd792eee pycurl is no longer just a dev dependency (#29684) 2023-08-28 14:49:59 -07:00
Dean Lee
a49dfa2969 ui/networkmanager: add #pragma once (#29678)
#pragma once
2023-08-28 11:40:51 -07:00
Korben
4755a30e75 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>
2023-08-28 10:38:42 -07:00
Joshua Mack
eafdcb89e4 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>
2023-08-28 10:30:15 -07:00
Adeeb Shihadeh
72e2e2c9ec pytest: strict config (#29676)
* pytest: strict config

* collection works

* fixes
2023-08-28 10:26:19 -07:00
Dean Lee
c36774dfba ui: rename QDialogBase to DialogBase (#29675)
rename QDialogBase to DialogBase
2023-08-28 01:57:49 -07:00
Justin Newberry
5716dfc9b5 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
2023-08-27 19:52:38 -07:00
Dean Lee
125bd2cd9e ui/network: move to selfdrive/ui/qt/network/ (#29656)
* move to ui/qt/network

* wifimanager->wifi_manager
2023-08-27 15:23:19 -07:00
vanillagorillaa
4005b6adde Docs: Toyota B harness connector (#29669) 2023-08-27 15:21:06 -07:00
Jason Wen
7f4b588495 Docs: Hyundai R Harness (#29662) 2023-08-27 10:58:18 -07:00
Dean Lee
3a46a853cb ui/driverview: use common SubMaster (#29660) 2023-08-27 10:57:31 -07:00
Dean Lee
4f915f4f1a cabana/MessageListModel: replace match |= with match = match || (#29667) 2023-08-27 17:56:49 +01:00
Justin Newberry
ab05bff07d CI: fix proc replay download cache permissions (#29636)
chmod that
2023-08-27 09:45:16 -07:00
Cameron Clough
3d1a6f6146 ui/NavManager: parse location timestamp from API (#29665) 2023-08-27 16:18:42 +01:00
Dean Lee
12073c07af ui/MapSettings: sort destinations by recent activity (#29079) 2023-08-27 15:13:43 +01:00
Dean Lee
57ad4f02f8 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
2023-08-26 08:42:50 -07:00
Dean Lee
0767a6dee5 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
2023-08-26 08:17:07 -07:00
Dean Lee
b6b255c103 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>
2023-08-26 07:47:18 -07:00
Shane Smiskol
a160f1a624 IsoTpParallelQuery: extend timeout for every frame type (#29654)
* recv returns updated

* bump panda

* bump

* bump
2023-08-26 07:00:46 -07:00
Shane Smiskol
74a0a8f7b7 Revert "ui/network: don't refresh on connect (#29651)" (#29653)
This reverts commit 6ea564b33e.

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

This reverts commit 46c32613fc.
2023-08-26 05:23:20 -07:00
Shane Smiskol
46c32613fc ui/network: refresh IP address on connect 2023-08-26 05:15:05 -07:00
Shane Smiskol
6ea564b33e ui/network: don't refresh on connect (#29651)
* don't refresh when showing connected status

* fix

* fix

* can remove that nowe
2023-08-26 04:13:19 -07:00
Dean Lee
9fe3df5d75 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>
2023-08-26 03:54:19 -07:00
Dean Lee
547f69f5f3 ui/networking: fix icon label alignment issue (#29650)
fix align issue
2023-08-26 03:19:30 -07:00
Shane Smiskol
6bb97c416f wifiManager: empty path helper (#29648)
empty helper
2023-08-26 01:50:18 -07:00
martinl
a1bf66a0d2 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>
2023-08-25 20:55:21 -07:00
Irene
b3e4eb15dc 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>
2023-08-25 20:17:05 -07:00
Shane Smiskol
3b69187b67 Kia: add test route for Optima Hybrid (#29520)
* add Optima H FW

* undashcam

* add to routes, but keep in dashcam mode for now

* rearrange
2023-08-25 20:12:57 -07:00
multikyd
5c6a8ac7cc HKG: Add Optima Hybrid to HEV and legacy safety mode lists (#29644)
* add Optima H FW

* undashcam

* HKG: Add to Hev and Legacy safety mode for Optima Hybrid

* remove extras

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-25 19:20:49 -07:00
mitchellgoffpc
807410e0ac Remove no-thneed build flag 2023-08-25 19:09:25 -07:00