Commit Graph

7454 Commits

Author SHA1 Message Date
Shane Smiskol cbfcc40571 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>
2023-08-10 20:30:35 -07:00
Justin Newberry 8793cbff40 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
2023-08-10 18:58:22 -07:00
Justin Newberry 4a9afd7554 Ruff: comprehensions conventions (#29317)
ignore c408
2023-08-10 16:40:30 -07:00
Justin Newberry af3ed37c5c Ruff: flake8 pie (misc lints) (#29318)
flake8 pie
2023-08-10 15:28:51 -07:00
Adeeb Shihadeh 670fa9af5f pytest unit test running (#29261)
* setup config

* collect passes

* pytest system/ works
2023-08-10 08:23:19 -07:00
eFini 8d7e909b53 map ui: Fixed ETA text alignment issue in CJK (#29311)
fixed ETA text alignment issue in CJK
2023-08-10 02:15:43 -07:00
Shane Smiskol 70b1e9dd75 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
2023-08-10 00:45:23 -07:00
Cruise Brantley e8f33fb5b7 Hyundai: Additional Ioniq 5 firmware (#29307)
added fwdCamera
2023-08-09 23:10:54 -07:00
Adeeb Shihadeh 44c76257a1 rm some old tests 2023-08-09 22:31:47 -07:00
eFini 5b4aa67864 Multilang: Chinese translations update (#29310)
* chinese translations

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

---------

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

* unused
2023-08-09 20:36:49 -07:00
Mitchell Goff c04e5d12fc 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
2023-08-09 19:56:45 -07:00
Shane Smiskol 6ffdc32bfc Toyota: set stop and go if TSS2 car (#29303)
we should assume all TSS2 have stop and go (because we set them all manually)
2023-08-09 17:46:06 -07:00
Shane Smiskol 225ed2ed5a 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
2023-08-09 17:01:38 -07:00
Adeeb Shihadeh 51831d03a3 Revert "interfaces: test interface attributes (#29297)"
This reverts commit 6a678cde6c.
2023-08-09 16:28:12 -07:00
Shane Smiskol 6a678cde6c 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
2023-08-09 16:10:30 -07:00
eFini 8ca7753c95 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>
2023-08-09 15:17:19 -07:00
Adeeb Shihadeh c53545621e jenkins: cleanup all orphaned git locks (#29296) 2023-08-09 15:14:50 -07:00
Justin Newberry 7fdd9fc37c 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
2023-08-09 13:26:54 -07:00
Justin Newberry cf64b27168 Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
2023-08-08 17:13:35 -07:00
LC 5ace930c5c 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>
2023-08-08 16:34:37 -07:00
Irene 2bceb2425f 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>
2023-08-08 15:24:57 -07:00
Justin Newberry a91764954b Revert "CI: pylint to ruff (#29276)" (#29284)
This reverts commit cb31a53d8a.
2023-08-08 14:24:04 -07:00
Vivek Aithal e7d307ca1b [commabody] Add new body teleop ui (#29282)
* Revert "Revert "[commabody] Add new body teleop ui (#29119)" (#29249)"

This reverts commit 623351e4ed.

* add to release files

---------

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

* pylint to riff

* pylint to riff

* revert more

* undo exclude removal

* exclude tinygrad
2023-08-08 13:41:30 -07:00
Cameron Clough 748238f87c ui/map: update mapbox style (#29186) 2023-08-08 20:18:49 +01:00
Cameron Clough 95289cb180 Ford: update Maverick 2022 docs (#29280) 2023-08-08 11:47:23 +01:00
Shane Smiskol 8d3e661f79 Toyota: rename Toyota A harness (#29269)
* add toyota b harness

* not used yet
2023-08-07 15:31:50 -07:00
Saber fa504b7bae VW MQB: Add FW for 2023 Skoda Karoq (#29264)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-08-07 22:38:59 +01:00
Adeeb Shihadeh 3da28d4df2 remove old debug scripts 2023-08-06 21:54:08 -07:00
eFini e883789c0e unused variables removal (#29247) 2023-08-06 21:41:13 -07:00
Adeeb Shihadeh b420e6fb13 locationd: speedup unit tests (#29262) 2023-08-06 21:37:04 -07:00
Harald Schäfer 623351e4ed Revert "[commabody] Add new body teleop ui (#29119)" (#29249)
This reverts commit a7304d059c.
2023-08-05 07:15:35 -07:00
Shane Smiskol cffc14e4d8 map: fix exit lane direction when active (#29159)
* fix

* clean up

* comment
2023-08-05 04:02:18 -07:00
Shane Smiskol 8bff75c010 GM: remove unused CANParser flag (#29244)
setting to 0 does same thing
2023-08-04 21:42:34 -07:00
Kacper Rączy 1774b4fc61 Revert "radard: tie radard frequency to modelV2 (#29063)" (#29243)
This reverts commit 255f5c13f2.
2023-08-04 20:25:40 -07:00
David Peterson b50ffc4360 Nissan: allow B drive mode for Nissan Leaf (#29228)
* CAR.LEAF: NissanCarInfo("Nissan Leaf 2018-22”), video_link= "https://youtu.be/vaMbtAh_0cY&t=0s"),

Add Youtube video 2019 Leaf

* Update selfdrive/car/nissan/values.py

* Update interface.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-04 20:21:04 -07:00
Shane Smiskol 082fe6868d FPv2: fast fuzzy fingerprinting (#29233)
* fast fuzzy fingerprinting

* use match_fw_to_car helper

* fix and comment

* alone

* Update selfdrive/car/fw_versions.py

* Update selfdrive/car/fw_versions.py
2023-08-04 16:10:49 -07:00
Shane Smiskol fffc4ae446 Chrysler: add new diagnostic address for Jeep Grand Cherokee 2016-18 (#29235)
not a standard diag address, or anything we query. only 2 messages

900dfa83b4addfe6|2023-07-31--08-33-51
2023-08-04 14:29:00 -07:00
mitchellgoffpc 66dfe8fd5e Added modeld gitignore 2023-08-04 14:14:45 -07:00
Vivek Aithal a7304d059c [commabody] Add new body teleop ui (#29119)
* add new ui

* move body tele op ui to new dir

* fix codespell errors

* resolve mediablackhole pylint error

* fix import error

* style fixes

* use logging, not print

* fix js styling

* resolve comments
2023-08-04 13:56:46 -07:00
Kacper Rączy 255f5c13f2 radard: tie radard frequency to modelV2 (#29063) 2023-08-03 22:10:21 -07:00
Saber 8332abf015 VW MQB: Add FW for 2019 Skoda Kodiaq (#29225)
route name:0bbe367c98fa1538|2023-08-01--12-21-06--0
2023-08-03 16:37:54 -07:00
Saber 2ff53a62eb VW MQB: Add FW for 2018 Skoda Superb (#29222)
route name:77478022b2ebc4b6|2023-07-31--19-00-38--45
2023-08-03 16:37:34 -07:00
Shane Smiskol fbc56b6c73 athenad: remove duplicate exception clause (#29220) 2023-08-03 10:23:38 -07:00
Tenebrous c438f2ba17 Toyota: add missing C-HR Hybrid 2020 (UK) FW (#29223) 2023-08-03 15:05:10 +01:00
Shane Smiskol 0f7b775884 athenad: update comment about timeout constant (#29216)
* in socket!

https://bugs.python.org/issue26273

* clean up

* ignore mypy bug

* comment

* just comment
2023-08-03 04:24:51 -07:00
Shane Smiskol b53bf00555 athenad test: use helper function (#29217) 2023-08-03 11:54:12 +01:00
Christian Bull Gjertsen 24bfb2b44b car docs: update Toyota vote link (#29218)
* Update CARS.md

Dead link

* fix link

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-03 03:05:59 -07:00