Commit Graph

11919 Commits

Author SHA1 Message Date
Adeeb Shihadeh 7243b9b68e Revert "UI: single-threaded CameraView (#30397)"
This reverts commit 69dcd240fcf3bac7a6bddb1647219b710d255554.

old-commit-hash: 073fc89ad49461c01ea474125a89a505543d093d
2024-01-07 14:54:39 -08:00
Adeeb Shihadeh 14cbcf95c0 ignore "car port" for stale pr detection
old-commit-hash: e867aa40dbd1239aadf8f31bb89c82512f02bff4
2024-01-07 14:34:04 -08:00
Adeeb Shihadeh 384f765433 update mapsd cpu
old-commit-hash: 7997fccdfa81b402e2059ec50915edeb3f3a024e
2024-01-06 17:46:44 -08:00
Adeeb Shihadeh 6315957cf4 remove common.profiler (#30927)
* remove common.profiler

* cleanup
old-commit-hash: f0ccb84ae3ed890fdf5610573a8b8882f4e29d3e
2024-01-06 16:20:28 -08:00
Shane Smiskol b53b4c67b5 Auto translate: fix prompt & formatting (#30922)
fixes
old-commit-hash: 084871ed5bea42326bff40c35d6c02a55b3fdb13
2024-01-05 23:44:54 -08:00
Meir fc941b87a3 Auto translate with OpenAI (#30899)
* auto translate with OpenAI

* change model

* fix mypy typing errors

* update

* fix lint errors

* check api key after args parser

* fix input args

* use languages.json

* just print

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2378f311d2955ed0983fc0b7f2b93b938a3256fa
2024-01-05 22:28:56 -08:00
Justin Newberry 090d3d2e41 move profiling tools to tools/profiling (#30917)
move profiling
old-commit-hash: 03d6233743dbf8913ca48b59dd54f111be2ab595
2024-01-05 16:22:45 -08:00
Justin Newberry 478851546e add sanitizer function (#30919)
* sanetizer function

* spelling

* better

* move to helpers
old-commit-hash: 4cc48b75e859f5a41c86cf4241dab36509896491
2024-01-05 16:20:37 -08:00
Adeeb Shihadeh 8d11c3b742 Update Python packages and pre-commit hooks (#30597)
* Update Python packages and pre-commit hooks

* fix

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 46f3fdc090cef3b4b1b8bb4938ad68e1ca7cb280
2024-01-05 15:17:49 -08:00
Justin Newberry 25374edffd add the notebook example to car port docs (#30920)
* add the notebook example

* fix link

* add image

* no lfs

* no lfs
old-commit-hash: 239b228ca6987daa54c20090346d458c9bd4493d
2024-01-05 13:57:02 -08:00
Justin Newberry 040223e69f move car porting tools to tools/car_porting (#30916)
just this for now
old-commit-hash: e86d74b347f60a3e575d45b4c99d94d23c8c7d84
2024-01-05 11:53:03 -08:00
Justin Newberry 278eef0c71 tools: add car porting example notebook (#30918)
* add car porting example notebooks

* not required
old-commit-hash: 15e0a906ad70f50594c58a38fb4d2cb1a6c9c89a
2024-01-05 11:52:24 -08:00
Shane Smiskol 3618a2a007 Car docs: utilize post init (#30912)
move these to earlier post_init
old-commit-hash: 002ab5637b7d8dc22ad2197f4d98544d0518b941
2024-01-04 22:16:39 -08:00
Shane Smiskol 750b5c15cf selfdrive/test: fix indentation
no ruff rule for this

old-commit-hash: 397c1e373c1eada0cb27bfb070812f0fa466bdcf
2024-01-04 19:53:23 -08:00
Justin Newberry 1fe1523fc2 add read_seglist helper (#30908)
add helper
old-commit-hash: 1148c65d232fdfe7aa46b80c078721d78876da4a
2024-01-04 17:52:07 -08:00
Shane Smiskol ccb0b14642 Fingerprints: add missing FW versions from users (#30906)
Export fingerprints from Fingerprint stage
old-commit-hash: 63f0d775bc938ba38dbc7f42957fc2a80094686c
2024-01-04 15:54:50 -08:00
Shane Smiskol 9330fc6a60 Revert "Fingerprints: add missing FW versions from users"
This reverts commit 529afe7adbdf685eba4b7b77031ef13ac3e721d6.

Meant for another branch.

old-commit-hash: 43b0b0f022b8e409b399110f95c3ba34480b5235
2024-01-04 00:51:38 -08:00
Shane Smiskol 021b79cf56 Fingerprints: add missing FW versions from users
old-commit-hash: e85e401d073c3f64b882d52757d9653f22adfba2
2024-01-04 00:50:30 -08:00
Adeeb Shihadeh 5a6275785f timezoned: set only from gps (#30904)
* timezoned: set only from gps

* unused
old-commit-hash: 3c4150c542c6117292f29f2fa4906b0090d8e9b9
2024-01-03 20:18:29 -08:00
Adeeb Shihadeh 9e48201d22 Revert "Fingerprint for '21 Explorer ST (#30877)"
This reverts commit 64eb7a39c4c8a8afe89e87de8f02442200ff30d1.

old-commit-hash: fe4090584923b559ef95131319a0ef77cfa1938a
2024-01-03 20:07:58 -08:00
duetschlandftw 450aa1d1f9 Fingerprint for '21 Explorer ST (#30877)
* carparams gave me a new firmware entry for "shiftByWire" from 'ford', so i added it here, as well as a new fw value under ecs.engine

* Update selfdrive/car/ford/fingerprints.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ff0fed07ed92c7e4b2f3d348a769058652351c87
2024-01-03 19:43:59 -08:00
DevTekVE b343b9820e [HKG-CAN] Consider FCW alerts from SCC (#30885)
* FCW is triggered differently when SCC is active

* Update selfdrive/car/hyundai/carstate.py

* Update selfdrive/car/hyundai/carstate.py

* cmt

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 28cf3155e21da663040040076f9fb9e746fd6834
2024-01-03 19:34:13 -08:00
Adeeb Shihadeh 6e43c6af77 timezoned: run while onroad (#30903)
old-commit-hash: 115047d85860806958f50e241155d5f2bde5fa53
2024-01-03 17:53:40 -08:00
Justin Newberry 2b9b880ab0 jenkins: lock "pc" label to limit concurrent workers (#30902)
* lock pc label

* remove that
old-commit-hash: 4430944b2966d0bcdf54357dfdfafacf24e6de32
2024-01-03 16:55:16 -08:00
Shane Smiskol 2f2779fab9 CI: bump other lewagon/wait-on-check-action
old-commit-hash: 318d1204e5dc74fd990dd6dfc10c73750e8cbae0
2024-01-03 14:11:11 -08:00
Dean Lee 2f8e66dbb8 UI: single-threaded CameraView (#30397)
* single-threaded CameraView

* updateFrame

* inherit from CameraWidget

* clear frame on offroadTransition

* check frame_id

* optional

* unique_ptr

* CameraView

* cleanup

* cleanup

* log skipping frame

* fix driverview

* disconnectVipc

* debug inconsistent frame

* skip frame if uiPlan is outdate

* cleanup

* set connected = false

* support camerad reboot&seeking in replay

* cleanup

* qDebug

* use deque

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 17ac1d3c7b3b481826d51eb82aaf9dbcc3f3bd81
2024-01-03 13:14:29 -08:00
Shane Smiskol dac5a594aa test_models: fallback to public route when route isn't uploaded to CI bucket (#30893)
* not sure why this is a test

* Revert "not sure why this is a test"

This reverts commit c13e16311eb882df65d216bbd59acb5702e985e6.

* no ruff for this pattern :(

* this is always caught

* should fail

* simpler

* Revert "should fail"

This reverts commit 21bd15275c46cd42fd19b058245334bae83cce77.

* fix

* cleanup this

* better comment

* better

* this can be more localized

* better names

* better names

* should fail

* Revert "should fail"

This reverts commit c58495e8b3417ce351df8048752ec60177827cb3.

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 7f398e1cf9b0fd83bb1238b9b347a21d8868ee0f
2024-01-03 11:54:22 -08:00
Adeeb Shihadeh 06c768b7d5 make scons parallel by default (#30901)
old-commit-hash: 8fbe382fa71710cff7c49d7076cf8ccaf5c1a570
2024-01-03 11:16:54 -08:00
Shane Smiskol ff08885476 Fingerprints: add missing FW versions from users (#30837)
Export Toyota fingerprints from last 2 weeks, 0.9.5-release
old-commit-hash: 633fef5a96d5c8db55a1e6276df6d7f060c4ccd7
2024-01-02 21:48:31 -08:00
Shane Smiskol 52150bbb02 Revert "test_models: fallback to public route when route isn't uploaded to CI bucket (#30794)" (#30896)
* fails if no skip function

* Revert "fails if no skip function"

This reverts commit ff3d697d38dce56057c83f06033a689f2301a29d.

* Revert "test_models: fallback to public route when route isn't uploaded to CI bucket (#30794)"

This reverts commit f60e70d4729efe7db36888a0a750a0e4706cc943.
old-commit-hash: 8c4930d2d300a439aaf7dd9ca4324271cc0c7b52
2024-01-02 17:22:06 -08:00
Shane Smiskol 47b3a22daf Toyota: add 2024 RAV4 Hybrid (Canada-built) (#30887)
* add 2024 RAV4

* bump reeleases

* fix star link in PR comments

* ?

* consistent
old-commit-hash: de4bc31ba6f9972b6d411a36dc5d32474a3d0287
2024-01-02 17:14:51 -08:00
Shane Smiskol 92263907dc HKG: fix 2021 Niro Hybrid harness (#30895)
* originally was Hyundai F in the database, but one user on Discord (US) and one in support (SK) both needed hyundai D

* bump
old-commit-hash: 543cd4460acd24a7bfc5bd8f6b4f2d8b2242da12
2024-01-02 17:10:23 -08:00
Shane Smiskol f126409b85 PR comments: fix image links
old-commit-hash: 205a78f02dd8a7e3de2334da419f57231153c69a
2024-01-02 14:18:52 -08:00
Justin Newberry e1dd457277 CI: set CI=1 in docker image (#30889)
* ci=1

* wrong spot
old-commit-hash: 9b25bfc61866ff7853218e72aebd10df3c28595c
2024-01-02 13:48:16 -08:00
Adeeb Shihadeh 526f3edbb5 CI: bump lewagon/wait-on-check-action
old-commit-hash: 9cf57cc4e478d02dd8843c82320d336597b3621c
2024-01-02 13:34:35 -08:00
Mitchell Goff c24bdc1503 new delhi model (#30822)
* 027a1efa-10fb-4291-ad58-90cf0ff150b5/700

* debug

* rm for now

* bump refs

* revert that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7e71fd7baefef14d2987b28377e310df41251644
2024-01-02 13:27:15 -08:00
Justin Newberry 6c6f6ef45a CI: set CI=1 globally (#30888)
ci=1
old-commit-hash: 86bd3379522c67da94a3ac6f3e0628bffa14ce50
2024-01-02 13:17:19 -08:00
Justin Newberry 7aecd2f91d url_file: fix non-200 files being cached (#30886)
* fix + test

* fix unclosed

* easier to read

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

* fix that

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fba521ecc6d4c260de8f3e93dadbc3e157a9a9a6
2024-01-02 12:42:08 -08:00
royjr f82d7f453f multilang: parameterize unit tests (#30842)
* init

* fix indents

* remove import

* safer

* TemporaryDirectory

* much cleaner

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9d7f618bc5352e3c4a179925b5fd9f024a286fd3
2024-01-01 14:54:16 -08:00
stevenworks 4ca48060bc Typo fixes / Grammar corrections (#30860)
* CONTRIBUTING.md: Misspelling

* BOUNTIES.md: Misspelling

* SAFETY.md: Grammar

* realtime.py: Comment consistency

* revert for now

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0f724675580d25734e047904c29bad8be2ce984e
2024-01-01 14:39:01 -08:00
Kacper Rączy a97f55dadb metadrive: Change camera position to reflect typical height of a vehicle (#30831)
old-commit-hash: 65ece2081a91b84c8b78de404aea2ec17fa81e7c
2024-01-01 14:36:37 -08:00
Sliicy fc2e961f1b Fixed joystickd.py incorrect steering control (#30879)
old-commit-hash: 6ccf2cbfde4e1f5aa67dc0072f9c0dfd080be064
2024-01-01 14:29:01 -08:00
Adeeb Shihadeh 8c9ca9c7be Bump submodules (#30881)
bump submodules

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: d3cdd837fa1061761021236c4fa9053f5c617bd8
2024-01-01 14:28:34 -08:00
Robbe Derks 8929336cc0 [Cabana] Fix segfault in sparkline (#30870)
old-commit-hash: eb805e889ef2f9c6e1345dc164533b44494576d0
2023-12-31 13:02:05 -08:00
Justin Newberry 1ef2049903 Add link to contributing channel (#30876)
old-commit-hash: 331ea604220ba47460aa72e28f4424c8609f1022
2023-12-31 14:54:37 -05:00
royjr b2112b81af multilang: bad language translation check (#30783)
* compare bad against list

* use web

* Update test_translations.py

* uncomment

* override

* wrap

* AssertionError

* better

* detent

* selfish

* check numerusforms

* already checked

* use name

* not again

* combined

* sets

* assume available

* fix assume

* check regardless of other tests

* assert not print

* raise for status

* better

* done

* useless

* happy ruff

* better set

* quiet

* clean

* obvious

* clearer

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

* IGNORED_WORDS

* assert match

* direct assert

* show bad word

* fix numerous empty string checks

* fix IGNORED_WORDS

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fd88990006d8d5d07f4cc79af64ae51999d1159c
2023-12-31 10:58:15 -08:00
Justin Newberry 0312d3d0f3 Subaru: longitudinal cleanup and dash status fixes (#30868)
old-commit-hash: a58baf48fe9e951f5954fadbc2c4b2b118633493
2023-12-29 23:47:55 -05:00
Justin Newberry dd9118311b bump submodules (#30866)
old-commit-hash: 9520153b6a3e2e762dee29cdb0ca2ed9f867e2cb
2023-12-29 19:39:17 -05:00
Justin Newberry 64fbb81860 CI: update labeler to 5.0.0 release (#30862)
* update labeler

* update labeler

* update labeler

* Update labeler (#63)

* update labeler

* update labeler

* update labeler

* fix that

* Update labeler (#65)

* update labeler

* update labeler

* update labeler

* fix that

* and that

* Update labeler (#66)

* update labeler

* update labeler

* update labeler

* fix that

* and that

* fix that
old-commit-hash: d33c5bccc68327d8ae740b4866446447e78c7f60
2023-12-28 10:54:09 -08:00
Adeeb Shihadeh a4f2b2e2ff script for checking out a pr
old-commit-hash: 6810c5b644fe898d87b5bddce67f8ab7dfc100c1
2023-12-26 19:22:34 -08:00