Commit Graph

8450 Commits

Author SHA1 Message Date
Shane Smiskol f9db24d9d4 pre-commit: speed up translation step (#30966)
* formatting

fix

* fix missing class attr warning

* add translation_files option, remove pluralonly, type hint

* updates

* update
old-commit-hash: bef6d7f0bb1f985fa959627d674210c46870d914
2024-01-11 00:39:15 -08:00
Adeeb Shihadeh f4242f188b updated: persist more state between runs for UI (#30963)
* persist branches and more

* fix target

* typo

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b92e71a2b6a2067fa67578106a6b5c15f3f5dfb1
2024-01-10 23:23:13 -08:00
Adeeb Shihadeh 05abdcdf38 update count_events.py to SegmentRangeReader
old-commit-hash: e9e8f4df38cb54d0f97f2c5aede0a76921807c47
2024-01-10 23:19:16 -08:00
Adeeb Shihadeh f5bf1a3389 manager: clean exit on ctrl-c
old-commit-hash: 3918039e293c1784cecc49cca41bc1907f23f146
2024-01-10 19:37:10 -08:00
Justin Newberry 19a15e05a9 migrate can_print_changes to segmentrangereader (#30953)
more tools
old-commit-hash: 926793b17ff92c57036b16f343bba263498b7423
2024-01-10 13:02:39 -08:00
ugtthis 312e786542 UI/MapETA: Increased contrast of widget texts for better readability (#30952)
old-commit-hash: db3ef3e1d87859c20251be641304dd6be6febce2
2024-01-09 20:32:23 -08:00
Jason Young 38d6ed173d VW MQB: EA driver inactivity workaround (#24711)
* VW MQB: Emergency Assist mitigation

* elide superfluous newline

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 61ebb5b668be32f0fc5547bf3b70ee55f7cbbecd
2024-01-09 19:24:46 -08:00
Shane Smiskol 4fde39f9ea Toyota: add 2024 RAV4 (#30909)
* add 2024 RAV4 ICE FP

* docs

* also try vin bus 0 toyota

* it works!
old-commit-hash: ca57d329e2e835c9dfd8545bc5780c0e2afd95fe
2024-01-09 00:48:48 -08:00
Adeeb Shihadeh 422c8407f4 GM: remove GMLAN dash msg (#30547)
* remove GMLAN

* update refs
old-commit-hash: af137bac5869a6ec2227d9183993a1ebcedd4ad4
2024-01-08 19:49:22 -08:00
Shane Smiskol 2b6bc47a6a Fingerprints: add missing FW versions from users (#30945)
Export FW versions
old-commit-hash: 1d370a0880902099bbb7c2b6ff126ab61ae149bf
2024-01-08 19:46:27 -08:00
YassineYousfi 01b079c75e longplanner: expose dt (#30941)
old-commit-hash: d6cece756cc1fd9c8e6ca6290bdc7b0fd6d69d5b
2024-01-08 19:46:13 -08:00
Jason Young 263ec242dc VW MQB: Improved longitudinal starting and stopping (#30874)
* VW MQB: Improved stopping and starting

* get longcontrol to take off sooner

* oops

* use the carParam instead of the constant

* update refs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 88e445ef154e6da795b653cbefd6391eef731d8e
2024-01-08 19:40:41 -08:00
Shane Smiskol fc23ab6c8d Fix string indentation (#30943)
* fix bad spacing

* more

* these aren't important
old-commit-hash: d689a4e6537b6b48e0ad9948ac919065317258c1
2024-01-08 15:36:43 -08:00
Adeeb Shihadeh e905a35467 tici: check that peripherals are fully booted (#30942)
* tici: check that peripherals are fully booted

* default

* typo

* fix

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5f191321fddca4eafb55c992415209a9389e2617
2024-01-08 15:09:38 -08:00
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 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 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
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 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
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
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
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
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
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
royjr 1761c1837d setup: Enhance URL Handling to Support Partial Inputs (#30681)
* easy urls

* better
old-commit-hash: 4df85062c52fbbbdc4e461e317b6cb01a6d76ec1
2023-12-26 19:08:57 -08:00
Adeeb Shihadeh e25712ddd2 stricter file size limits (#30839)
* move all pics to lfs

* wav and rest of so

* more to lfs

* ignore a few

* push that up
old-commit-hash: 1f9970ba3db588301f97716fa5f1e891e2324f38
2023-12-26 15:22:59 -08:00
Shane Smiskol 0c194949ea Fingerprints: add missing FW versions from users (#30833)
Export fingerprints from Fingerprint stage
old-commit-hash: 5e6290c4a24e31428b1c1d3d4580128b77e3efeb
2023-12-21 03:55:15 -08:00
Shane Smiskol 83ee5fa80d format fingerprints: simplify sorting (#30826)
* unique + sort + don't modify FW_VERSIONS

* clean up

* not here

* self expl
old-commit-hash: b38c580c2e687401fc819520ea038653873e9996
2023-12-20 15:51:56 -08:00
Justin Newberry 3b65f2075e format_fingerprints: automatically sort fw fingerprints (#30819)
* Auto sort fingerprints

* add comment
old-commit-hash: 3d8c78d6b3a74196b09576f97ac02b4baa67dfe0
2023-12-20 11:54:31 -08:00
Justin Newberry bf8e8f8338 test_models: fallback to public route when route isn't uploaded to CI bucket (#30794)
* wip

* add public comment

* fix that

* wip

* retrigger
old-commit-hash: 05dc0b51e6597fb83aed14f5a390fa4254751c98
2023-12-20 11:29:19 -08:00