Commit Graph

7702 Commits

Author SHA1 Message Date
Mitchell Goff d5a55136a1 Added ModelRunner helpers in modeld/runners/__init__.py (#29737)
* Added ModelRunner helper class

* import Runtime in __init__.py
2023-08-31 14:19:20 -07:00
Justin Newberry 405d09714c Tests: expand temporary directory helpers for more directories (#29735)
* create helpers for testing

* document it

* fix other tests
2023-08-31 14:00:31 -07:00
mitchellgoffpc f91e955a86 Move Runtime into runmodel_pyx 2023-08-31 13:51:50 -07:00
mitchellgoffpc 857f747467 Remove unnecessary hardware check in modeld 2023-08-31 13:51:49 -07:00
Justin Newberry 4aff2621d3 Tests: parameterize following distance test (#29734)
* split

* parameterize it
2023-08-31 13:41:02 -07:00
mitchellgoffpc 18526c58b6 Set ADSP_LIBRARY_PATH in snpemodel_pyx 2023-08-31 13:11:39 -07:00
mitchellgoffpc aebff37593 Set RPATH for snpemodel 2023-08-31 11:33:42 -07:00
fleetingbytes e7789173d6 Add skoda octavia 2016 fingerprint (#29729)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-08-31 13:01:37 +01:00
Cameron Clough 08903fb4e0 MapPanel: provide QObject::connect context (#29731) 2023-08-31 11:44:48 +01:00
Shane Smiskol 6a68944c63 map renderer: only log map states once fully loaded (#29722)
only log once fully loaded
2023-08-30 20:32:00 -07:00
Shane Smiskol f12a1c2584 car intrfaces: no test deadline (#29720)
set deadline to None
2023-08-30 15:30:37 -07:00
Mitchell Goff 88a36f4464 Cleaned up modeld SConscript (#29646) 2023-08-30 15:29:33 -07:00
Mitchell Goff 151ac4bf76 Combine update_calibration/get_warp_matrix (#29719) 2023-08-30 15:16:29 -07:00
Kacper Rączy d138a358eb scons: fix multithreaded builds (#29716)
* common_python export

* Single scons call

* transformations_python
2023-08-31 00:01:03 +02:00
Shane Smiskol d9fedaa0a4 Revert "ui/driverview: inherit from CameraWidget" (#29718)
Revert "ui/driverview: inherit from CameraWidget (#29661)"

This reverts commit 6c73a924fa.
2023-08-30 14:49:02 -07:00
Shane Smiskol c830ac0b06 Hyundai: update default Ioniq 6 torque params (#29715)
new ioniq 6 closer to other new can fds
2023-08-30 14:29:27 -07:00
Mitchell Goff 1eb60516cb Move update_calibration to modeld.py (#29688)
* Move update_calibration to modeld.py

* Updated ref commit
2023-08-30 14:12:52 -07:00
mitchellgoffpc 12d1020239 -DUSE_THNEED is dead 2023-08-30 12:58:31 -07:00
Dean Lee 6c73a924fa ui/driverview: inherit from CameraWidget (#29661) 2023-08-30 16:41:58 +01:00
Cameron Clough 059cb0130d athenad: update typing 2023-08-30 12:05:30 +01:00
Jason Wen 7bc2667ab6 Hyundai: Car Port for Ioniq 6 2023 (HDA2) (#29486)
* Hyundai: Car Port for Ioniq 6 2023

* Update docs

* bump panda

* Attempt to block laneline information to suppress LFA

* Try 0x364

* Block 0x364|BYTE7

* Attempt to block LFA on 0x364

* 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

* This platform does SCC from radar

* Generate CARS.md

* cleanup

* Fix

* Fix 2

* bump submodules

* add test route for HDA2

* Support non-HDA2 trims in future PR

* segment 6

* bump opendbc

* Update username

* Check for new LKAS addr instead

* Update comment

* sync with dbc

* Combine LFA suppress can sends

* Add new tx to unit test

* bump opendbc

* we'd need a new DBC for that

* update docs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-30 01:10:28 -07:00
leZudiste c65027635c HKG: Add FW versions for EU Tucson Hybrid 2021 (#29655)
* Add Tucson Hybrid 2021 fingerprint

* Fix missing doc

* revert

---------

Co-authored-by: florian alles <florian.alles@csgroup.eu>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-30 00:23:41 -07:00
baldwalker 395be482a1 HKG: Add FW Versions for Kona EV 2022 (#29683)
* Update values.py

* shorter request already exists

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-30 00:16:50 -07:00
Jason Wen 030b47fd24 HKG: Add FW Versions for Kia Sorento ICE 2023 (#29707) 2023-08-30 00:13:05 -07:00
Justin Newberry f31b4ad25e Tests: remove sleep and prints from maneuver tests (#29711)
remove sleep and prints
2023-08-30 00:02:55 -07:00
Jason Wen fafca0e44d 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>
2023-08-30 00:02:19 -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
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
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
Dean Lee c36774dfba ui: rename QDialogBase to DialogBase (#29675)
rename QDialogBase to DialogBase
2023-08-28 01:57:49 -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
Cameron Clough 3d1a6f6146 ui/NavManager: parse location timestamp from API (#29665) 2023-08-27 16:18:42 +01:00