Commit Graph

10709 Commits

Author SHA1 Message Date
Shane Smiskol
151b707901 Car interfaces: remove hard-coded signal definitions (#27773)
* What if: no signals! 🙅🤌🎆

* do hyundai

* honda!

* do gm

* and vw! (sorry comments)

* do those

* -500

* little more

* fix subie

* change back

* bumpopendbc

* oof lol

* messages

* some clean up

* here too

* clean up honda radar_interface.py

fix

rm

* bump opendbc to master

* add todo

* rename checks in tesla/radar_interface

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cbfcc405715ae4fa45b3beea03dd82ba925495c4
2023-08-10 20:30:35 -07:00
Shane Smiskol
a0e9fe94d2 bump opendbc (#29321)
bump
old-commit-hash: 470b520d8a3482ada7b9444239ca620c63bce120
2023-08-10 19:40:03 -07:00
Justin Newberry
715f028a0e Ruff: enable flake8-builtins (#29315)
* enable flake8-builtins

* replace any with contains

* fix typo in pack

* fix type

* format is from the parent module, has to be enabled

* item_id

* fix item_id

* disable for id since that's what the remote server returns
old-commit-hash: 8793cbff40662a92bff16d75b51479c80517305a
2023-08-10 18:58:22 -07:00
Adeeb Shihadeh
2e818c2393 CI: bump up model test timeout
old-commit-hash: cd4bb412f5a6ecbf150b464ea2597943de12d208
2023-08-10 17:29:56 -07:00
Adeeb Shihadeh
6854d6abd0 ruff: check for unused noqa
old-commit-hash: 01273d6224a5cfc0accb952832bcbca63e2c4e0a
2023-08-10 17:11:48 -07:00
Justin Newberry
d7ece3b8fc Ruff: Disallow implicit string concat (#29316)
* ruff enable isc

* also disallow multiline
old-commit-hash: 69deed1f1a25e1b230fe492797bfd5d97e6b0f2d
2023-08-10 16:43:39 -07:00
Justin Newberry
a14f162bc7 Ruff: comprehensions conventions (#29317)
ignore c408
old-commit-hash: 4a9afd7554060ac5353e96f1d7feb06d3a3671e9
2023-08-10 16:40:30 -07:00
Justin Newberry
7d6d3dc9ea Ruff: flake8 pie (misc lints) (#29318)
flake8 pie
old-commit-hash: af3ed37c5cd8823f793aec60e1c74760cf795bd9
2023-08-10 15:28:51 -07:00
Adeeb Shihadeh
b7f6b6dc95 pytest unit test running (#29261)
* setup config

* collect passes

* pytest system/ works
old-commit-hash: 670fa9af5f66278152acf477b19d19559733094f
2023-08-10 08:23:19 -07:00
Harald Schäfer
7797d908a0 Poetry lock: no poetry recursion (#29304)
* Poetry lock: no poetry recursion

* Make tests pass

* Update poetry

* Update pip too

* Update lock with new pip

* Needed for xx
old-commit-hash: 4b57e71e935b23acfe111297002bf55c925ecea7
2023-08-10 03:34:24 -07:00
eFini
e90ced8449 map ui: Fixed ETA text alignment issue in CJK (#29311)
fixed ETA text alignment issue in CJK
old-commit-hash: 8d7e909b539ee5e8411ccb7e3375a74dc6c86c2d
2023-08-10 02:15:43 -07:00
Shane Smiskol
11492496fc test_models: run on route list (#26226)
* move to openpilot

* draft

* support internal urls

* not used

* update seg list

* regen segment list

* regen seg list

* regen

* regen

* regen

* no dirty segments

* regen seg list with no fuzzy or fixed fp

* regen segments with hda2 exception

* regen with added filters

* regen without bad dongle

* regen

* regenerate!

* regenerate, only OP enabled

* regen

* regenerate!

* regenerate!

* stash

* use SegmentName

* new route list

* add temp comment

* remove comment

* let's see if this works

* comment out other tests to speed up

* fix agent

* ?

* hmm

* oh whoops...

* add matrix

* fix

* how many levels do we need?

* fix values

* matrix can't be in parallel

* how about this

* try this

* Revert matrix

Revert "try this"

This reverts commit 8d0d91fd70c467c1fbb4e4e9aed511d15b2a30ef.

Revert "how about this"

This reverts commit a8e4fc53234824e77cbfb1e471277bc033e9dea1.

Revert "matrix can't be in parallel"

This reverts commit daaa6fcc3c75c74cbb90e97c565099a94123994c.

Revert "fix values"

This reverts commit df554b6a3371d124a574eb8d26bc51ef5b5b8fde.

Revert "how many levels do we need?"

This reverts commit 1a17320fa1c5e7220ef60e29981bbb3bb7da16c6.

Revert "fix"

This reverts commit e7eb6e404358fbd2eac3fea1901a8d30ea92d729.

Revert "add matrix"

This reverts commit a1b57e5725417d3c2f639f8edfc0c889b84b6753.

* use pytest instead! (5 jobs is ~150 mins)

* split lines, uncomment

* This Sienna seg has a fault SDSU that stopped forwarding/sending msgs

* picked a route with no PSCMStatus and no panda errors, recent routes are working

* this cadillac was dashcammed (no radar)

* opened an issue for this, it's 'expected' right now

* small clean up

* small clean up

* i don't think that worked

* is this needed?

* add to new PC tests

* cache

* draft

* Revert "draft"

This reverts commit 3b7f740dd4883118747300bc3687074c2d3c2116.

* probably should be function

* draft

* clean up

* add todo

* 600 random segments

* debug

* does this fix pythonpath issues?

fix

* try this

* mount?

* pytest again!

* no need for PYTHONPATH now

* Update Jenkinsfile

* ?

* convention

* clean up

* would be even more complex (have to unset ci which is class level)

* track

* is lfs pulled at all?

* ah no it's not
old-commit-hash: 70b1e9dd756cd2f6929cdf33dd1061a33f3b52b1
2023-08-10 00:45:23 -07:00
Cruise Brantley
051380ca3d Hyundai: Additional Ioniq 5 firmware (#29307)
added fwdCamera
old-commit-hash: e8f33fb5b7d99533719451d6358ef49c090d7008
2023-08-09 23:10:54 -07:00
Adeeb Shihadeh
8e2a03b46d rm some old tests
old-commit-hash: 44c76257a15530d6b03fff119e8719111fb4d131
2023-08-09 22:31:47 -07:00
eFini
9a764a67ec Multilang: Chinese translations update (#29310)
* chinese translations

* Update selfdrive/ui/translations/main_zh-CHS.ts

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5b4aa67864eaa3e85052a199c0f21cb6cec28478
2023-08-09 20:40:39 -07:00
Shane Smiskol
dd2d4decda test_car_model: remove duplicate argument (#29309)
* only need to pass test_route

* unused
old-commit-hash: 6106876da7604b28681a82be2c5e21c6d7e9a63a
2023-08-09 20:36:49 -07:00
Mitchell Goff
e6e19f8d3e Non-Inflatable Model 🎈 (#29003)
* Added all maneuvers to navInstruction message

* Added nav instruction logic to modeld

* New model: fcee01c1-96bb-414f-b00d-e4a994a00922/700

* Fixed bug in navd

* Added sharp/slight modifiers

* Updated refs
old-commit-hash: c04e5d12fce1801cd555a4846768b68db7090b17
2023-08-09 19:56:45 -07:00
Adeeb Shihadeh
442ec436dd remove rest of pylint (#29302)
* remove rest of pylint

* fix release build
old-commit-hash: e53f9597f3ee711ed21dcba7d2ba1a74c654cf81
2023-08-09 19:03:36 -07:00
Shane Smiskol
4cd205fd36 Toyota: set stop and go if TSS2 car (#29303)
we should assume all TSS2 have stop and go (because we set them all manually)
old-commit-hash: 6ffdc32bfc7bcd53ecc5264e6cd6299081c9e8ee
2023-08-09 17:46:06 -07:00
Shane Smiskol
8714f1a406 interfaces: test interface attributes (#29301)
* test

* draft

* draft

* clean up

* clean up

* better test

* clean up

* check car info

* uncomment

* rm space

* no loop

* use dbc

* more clear

* one line
old-commit-hash: 225ed2ed5a7221974e44c6d1307f959678f237ea
2023-08-09 17:01:38 -07:00
Adeeb Shihadeh
cb8dec39b5 ruff: fix running outside pre-commit
old-commit-hash: e9e06617714a25feb66d87fcc43716b5538fba4e
2023-08-09 16:45:09 -07:00
Adeeb Shihadeh
a55a8849b3 Revert "interfaces: test interface attributes (#29297)"
This reverts commit 55af4cce3d3955ca0ecdb98517089a0a42b53ad2.

old-commit-hash: 51831d03a3e79d7d9765e173a2eefac1cf0bb694
2023-08-09 16:28:12 -07:00
Shane Smiskol
cfa3ff0fba interfaces: test interface attributes (#29297)
* test

* draft

* draft

* clean up

* clean up

* better test

* clean up

* check car info

* uncomment

* rm space

* no loop

* use dbc

* more clear

* one line
old-commit-hash: 6a678cde6c3ed95ffb5d7236108e9a317517370b
2023-08-09 16:10:30 -07:00
eFini
8ccdd58174 longitudinal_planner.py: cleaner variable assignment (#29290)
* cleaner variable assignment

* Update selfdrive/controls/lib/longitudinal_planner.py

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8ca7753c9508a0ff6e067e1882ad8c9979efb293
2023-08-09 15:17:19 -07:00
Adeeb Shihadeh
3821ca13eb jenkins: cleanup all orphaned git locks (#29296)
old-commit-hash: c53545621e865dbee2661442f03f00152c48b92c
2023-08-09 15:14:50 -07:00
Justin Newberry
3ee0786de3 CI: Pylint to ruff (#29294)
* pylint to riff

* pylint to riff

* pylint to riff

* revert more

* undo exclude removal

* exclude tinygrad

* set line length

* pylint exclusions to ruff

* same excludes as old linter

* fix tools QA

* remove unrequired check

* revert linting third_party

* ignore e402
old-commit-hash: 7fdd9fc37c1c5febf1cd3dc86441ebf0dec7f370
2023-08-09 13:26:54 -07:00
Justin Newberry
7b677910df Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
Shane Smiskol
6d1965f755 Update releases
old-commit-hash: 9a09fa7b1242ba00e3d0ef3fee80653af3d23cda
2023-08-08 16:35:55 -07:00
LC
3489b482f1 Toyota: Lexus IS 2023 port (#29257)
* added LEXUS_IS_TSS2 to values.py

* added LEXUS_IS_TSS2 to interface.py

* Apply suggestions from code review

* add torque params

* add test route

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5ace930c5c2ec135578242b4cea49290bb3ce035
2023-08-08 16:34:37 -07:00
Irene
229bb21c9a Toyota: rename ACC_HUD to PCS_HUD (#29150)
* Toyota: rename ACC_HUD to PCS_HUD

* bump opendbc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2bceb2425f57c1c19e2d7f10d36386aaa1575ef1
2023-08-08 15:24:57 -07:00
Justin Newberry
ff96892511 Revert "CI: pylint to ruff (#29276)" (#29284)
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b0c9bfe5ccfc8e64321af6bb6c56536
2023-08-08 14:24:04 -07:00
Vivek Aithal
c1bcb53d4e [commabody] Add new body teleop ui (#29282)
* Revert "Revert "[commabody] Add new body teleop ui (#29119)" (#29249)"

This reverts commit 5dcfddbbfbddf00d16cb1f28c51f3dffc75d7cf6.

* add to release files

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e7d307ca1b064c3789902bc077e93453dd96794b
2023-08-08 14:12:51 -07:00
Shane Smiskol
3278d3f557 test fw query: fix migration import (#29283)
huh this was just broken
old-commit-hash: b34341e7e5736d1e67dfb20c8edd9a07d269e2a1
2023-08-08 13:48:11 -07:00
Justin Newberry
99006365a3 CI: pylint to ruff (#29276)
* pylint to riff

* pylint to riff

* pylint to riff

* revert more

* undo exclude removal

* exclude tinygrad
old-commit-hash: cb31a53d8a93cf6cb1f8bd2fff1431716b3a47e4
2023-08-08 13:41:30 -07:00
Dean Lee
f39cb90a09 camerad: auto free the buffer when it goes out of scope (#28807)
old-commit-hash: 8076107b4fa1b3c2b7c14a8464aa92e949e2e139
2023-08-08 13:26:04 -07:00
Cameron Clough
6ed5aca05a ui/map: update mapbox style (#29186)
old-commit-hash: 748238f87cbce5e05ffa06a49f490012d5424864
2023-08-08 20:18:49 +01:00
Adeeb Shihadeh
6d8c1ea78a bump opendbc
old-commit-hash: 825bc2aed54e60ab3898e66a3bee08556f64aabd
2023-08-08 11:23:29 -07:00
Cameron Clough
11f0523e8c Ford: update Maverick 2022 docs (#29280)
old-commit-hash: 95289cb180ac53cbe0f522fcbd81a8ad0019a2cc
2023-08-08 11:47:23 +01:00
Adeeb Shihadeh
ae549dcd30 macOS: remove old dependencies (#29275)
old-commit-hash: ee7a763ba337266873c607ac767f68c50332a8a7
2023-08-07 21:13:09 -07:00
Adeeb Shihadeh
5fb047c963 jenkins: rm tools copy in release tests (#29273)
* jenkins: rm tools copy in release tests

* rm that too
old-commit-hash: 7f02cb9fafb05e77dcbd2b11f41ecb8244f641fe
2023-08-07 19:14:45 -07:00
Adeeb Shihadeh
14a0acab45 bump submodules (#29272)
old-commit-hash: 9bb7eba2d3ded8d9b247b3fd4b06d769801e1819
2023-08-07 19:09:41 -07:00
Shane Smiskol
22187ad0fe Toyota: rename Toyota A harness (#29269)
* add toyota b harness

* not used yet
old-commit-hash: 8d3e661f795260ebd708975105d98f1bdbbcf181
2023-08-07 15:31:50 -07:00
Saber
62ec8c5b35 VW MQB: Add FW for 2023 Skoda Karoq (#29264)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: fa504b7baec829214322e1b58182e3d9ba3d6bbd
2023-08-07 22:38:59 +01:00
mitchellgoffpc
d4ac789839 Bump cereal
old-commit-hash: c1be254657c9ea1d325a388d503086e99f85a7c3
2023-08-07 14:02:54 -07:00
Adeeb Shihadeh
d704b0318a CI: move longitudinal tests into unit tests job (#29245)
* move long into unit test job

* try without these

* add that back
old-commit-hash: ae8252c14a87181c9da10bab7e2df64a592987a6
2023-08-07 06:48:06 -07:00
Adeeb Shihadeh
c1b146cfe9 remove old debug scripts
old-commit-hash: 3da28d4df25a6fb4be92ab45ebafe3289996b0b2
2023-08-06 21:54:08 -07:00
eFini
0a9ec3e2aa unused variables removal (#29247)
old-commit-hash: e883789c0e8514e6fe57ac5522b49eb03a3d68d4
2023-08-06 21:41:13 -07:00
Adeeb Shihadeh
e31cf1fe9e locationd: speedup unit tests (#29262)
old-commit-hash: b420e6fb134cdfc4dd46802d6f8c6e170423a296
2023-08-06 21:37:04 -07:00
Adeeb Shihadeh
a7ec9933c8 build_release: simplify panda building (#29252)
* build_release: simplify panda building

* cleanup
old-commit-hash: 1e3bb5be7ec3cd00a2ff8c8a7bc02b8efbf1cddc
2023-08-05 16:56:30 -07:00
Harald Schäfer
c0fbbd4b36 Revert "[commabody] Add new body teleop ui (#29119)" (#29249)
This reverts commit 0df6353569b77869ce4ddc8ce43bab621bccd107.
old-commit-hash: 623351e4edb01b7c66612e43e5e8ebefd237276d
2023-08-05 07:15:35 -07:00