Commit Graph

7989 Commits

Author SHA1 Message Date
Shane Smiskol ee0bb61cc7 Toyota: fix missing message check with radar disabled (#29747)
* add test route for radar-disabled toyota chr hybrid tss 2

* fix bug
old-commit-hash: a18e97e954f4cafec46f186df635a91576479cc1
2023-08-31 21:50:45 -07:00
mitchellgoffpc 459e4fdb50 Added cython bindings for commonmodel sigmoid
old-commit-hash: 05993f50dfe27ce583919c6df68fc67c17f5342e
2023-08-31 19:40:53 -07:00
Justin Newberry 6537493450 Tests: disable laika tests in CI (#29742)
skip laika
old-commit-hash: 4c039ab02230c7fcf2439b56fe04ad79df911ad4
2023-08-31 17:17:07 -07:00
Adeeb Shihadeh 952ca664fa Update Python packages and pre-commit hooks (#29739)
* Update Python packages and pre-commit hooks

* fix linter

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 9719b227611c880c76a60df223ef6c2f14f1a6ab
2023-08-31 15:00:13 -07:00
Mitchell Goff cd7d73eaf8 Added ModelRunner helpers in modeld/runners/__init__.py (#29737)
* Added ModelRunner helper class

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

* document it

* fix other tests
old-commit-hash: 405d09714c15956a6d220ff963d07b89c8e790ca
2023-08-31 14:00:31 -07:00
mitchellgoffpc aca5580900 Move Runtime into runmodel_pyx
old-commit-hash: f91e955a86baaa6ff6ef686bb821177a668034e1
2023-08-31 13:51:50 -07:00
mitchellgoffpc e9c82290c0 Remove unnecessary hardware check in modeld
old-commit-hash: 857f747467f3dd1eb92cc39dafc2da4ea0a708c5
2023-08-31 13:51:49 -07:00
Justin Newberry 42966979db Tests: parameterize following distance test (#29734)
* split

* parameterize it
old-commit-hash: 4aff2621d340dbb188c845746cb1ffd1381b5306
2023-08-31 13:41:02 -07:00
mitchellgoffpc 51066175f5 Set ADSP_LIBRARY_PATH in snpemodel_pyx
old-commit-hash: 18526c58b65959ebcaea9a07e84a55315d10508e
2023-08-31 13:11:39 -07:00
mitchellgoffpc 83745ad42f Set RPATH for snpemodel
old-commit-hash: aebff37593101fbe207f327c3a713f026b449f35
2023-08-31 11:33:42 -07:00
fleetingbytes 5c1950249c Add skoda octavia 2016 fingerprint (#29729)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: e7789173d61a89b001dc2d9470bc582e0fcda71d
2023-08-31 13:01:37 +01:00
Cameron Clough 98b99d99ee MapPanel: provide QObject::connect context (#29731)
old-commit-hash: 08903fb4e02b780fefe7b30cf7b87562f492141a
2023-08-31 11:44:48 +01:00
Shane Smiskol 3b8cc9113a map renderer: only log map states once fully loaded (#29722)
only log once fully loaded
old-commit-hash: 6a68944c638029361a7776cff08816919ecac351
2023-08-30 20:32:00 -07:00
Shane Smiskol 31fc6dd03e car intrfaces: no test deadline (#29720)
set deadline to None
old-commit-hash: f12a1c258448d7c8f6ca847a7725fbe55dd4ee58
2023-08-30 15:30:37 -07:00
Mitchell Goff 52901d2a20 Cleaned up modeld SConscript (#29646)
old-commit-hash: 88a36f44648474c84b4608ed8d4db34bc4e0ee07
2023-08-30 15:29:33 -07:00
Mitchell Goff fa770f1ccc Combine update_calibration/get_warp_matrix (#29719)
old-commit-hash: 151ac4bf7631a60e05c7490515e58c3309de445b
2023-08-30 15:16:29 -07:00
Kacper Rączy b580f19448 scons: fix multithreaded builds (#29716)
* common_python export

* Single scons call

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

This reverts commit 28a4d1de50948a93160a06e20f1666bab88389ab.
old-commit-hash: d9fedaa0a42685868ba262a111d7aec06208764f
2023-08-30 14:49:02 -07:00
Shane Smiskol 5b990faa01 Hyundai: update default Ioniq 6 torque params (#29715)
new ioniq 6 closer to other new can fds
old-commit-hash: c830ac0b06b86dd1b0d5b1a4d86e4f3d23166196
2023-08-30 14:29:27 -07:00
Mitchell Goff 54988e457f Move update_calibration to modeld.py (#29688)
* Move update_calibration to modeld.py

* Updated ref commit
old-commit-hash: 1eb60516cbcfa014cfd728123b6b3a5b97fce2df
2023-08-30 14:12:52 -07:00
mitchellgoffpc 16a3f0f67f -DUSE_THNEED is dead
old-commit-hash: 12d1020239c0ab59648fd725ee370ef5e8cb299f
2023-08-30 12:58:31 -07:00
Dean Lee 56f3b1b6fa ui/driverview: inherit from CameraWidget (#29661)
old-commit-hash: 6c73a924fa7780fc31776060cf63cce3b85981cb
2023-08-30 16:41:58 +01:00
Cameron Clough 390ccdf632 athenad: update typing
old-commit-hash: 059cb0130dd5a6cc3b44495799abb491c668c4bb
2023-08-30 12:05:30 +01:00
Jason Wen cdd442347c 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>
old-commit-hash: 7bc2667ab6d412e4b57b20e9654a3cda623acfcb
2023-08-30 01:10:28 -07:00
leZudiste d2471e173b 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>
old-commit-hash: c65027635cc760498f7a83b667e22601d823bbdc
2023-08-30 00:23:41 -07:00
baldwalker ba7689a900 HKG: Add FW Versions for Kona EV 2022 (#29683)
* Update values.py

* shorter request already exists

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 395be482a1cbe438f04112f122ef82e718631a50
2023-08-30 00:16:50 -07:00
Jason Wen 06266fb94c HKG: Add FW Versions for Kia Sorento ICE 2023 (#29707)
old-commit-hash: 030b47fd24c21fb5a479bdae9b37cb1a167e58ca
2023-08-30 00:13:05 -07:00
Justin Newberry da81738a85 Tests: remove sleep and prints from maneuver tests (#29711)
remove sleep and prints
old-commit-hash: f31b4ad25ef3aa2faf90116dcc9c44a459f2b676
2023-08-30 00:02:55 -07:00
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
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
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
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
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
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