Commit Graph

8094 Commits

Author SHA1 Message Date
Cameron Clough 9741ecfe0f Ford: align car groups with convention
no plural

old-commit-hash: e7c858d590f84c4f476ec0a01eae67f49f7a114b
2023-07-18 11:42:15 +01:00
Shane Smiskol 9112df2b5e Toyota LTA: limit max angle with applied torque (#28848)
* draft

* clean up

* there was a bug, need to subtract from last_angle essentially

* Revert "there was a bug, need to subtract from last_angle essentially"

This reverts commit a595e4af64523665519fd450dbeb2fefd293ce2b.

* maybe

* Revert "maybe"

This reverts commit cc96523cc28b82e74018011e5a476be2e6f68d92.

* or can do this

* this seems simpler and actually would work

* update comment

* fix that case

* joystick testing

* revert testing changes

* comment should be more clear

* can have full thing

* bump panda to lta

* revert cc

* this seems to work well

* constants

* try setme_x64

* 99 just winds up torque?!

* try less torque

* add corolla

* clean up

* clean up

* clean up

* clean up

* better name

* -which

* fix

* fix typo

* use params
old-commit-hash: c01ba907c029ee76ba4c7084a7ae598b6c9fbaae
2023-07-18 01:58:21 -07:00
Shane Smiskol e69c1bff7f test car interface: fuzzy CarParams (#28931)
* bump

* should be bytes

* draft fuzzy car params

* stash

* bump

* bump

* this is explored!

* some clean up

* more clean up

* clean up

* can't easily

* clean up

* no import

* Apply suggestions from code review

* move into a function

* Update selfdrive/car/tests/test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* come onn

* we know it will return a dict here
old-commit-hash: c9f80e89b7ab837b9a5402723e4e028155354dde
2023-07-18 01:49:01 -07:00
Shane Smiskol 6ee48e6a6d test car interfaces: more GM coverage (#28954)
* Update test_car_interfaces.py

* Update selfdrive/car/tests/test_car_interfaces.py

* make it fail

* catches crashed, not blocked
old-commit-hash: 44f7b312a0be638011a6f0b65fbb3f16e71b83ee
2023-07-18 01:42:51 -07:00
Shane Smiskol 829864218a ui: change last reference to experimental longitudinal (#29009)
* change experimental longitudinal language to alpha

* vanish

* Update selfdrive/ui/qt/offroad/settings.cc

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

* update translations

* vanish

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0bea1419e37ae13719c39b18ffa17059d1795376
2023-07-17 21:33:06 -07:00
Shane Smiskol d38f321d6e nav: show when using navigate on openpilot (#28958)
* draft

* clean up

* helper

* comment

* debug

* Revert "debug"

This reverts commit d30ff3e996e73818e14f28b51afed206337bf6da.

* nav path

* transition

* revert width transition

revert width transition

* 400 is better, hard to see flicker at 500

* add width back

* tune

* tune

* 12 might be good

* 400ms is good

* lower case company lcc

* up here

* up here

* clean up

* multiple lines

* self explanetory
old-commit-hash: 358a86b63682c4ed5d570020d254a9654c0d61df
2023-07-17 21:28:10 -07:00
Shane Smiskol c258e9d64a experimental mode: gate nav (#29007)
* first draft copy, needs updates

* gate behind exp mode

* can be one line

* this is no longer true

* toggle isn't just e2e long now, rename

* don't enable/disable

* kinda works!

* remove old giant qstring

* comment clean up

* similar breakpoint

* more clean up

* fixup onroad

* preserve planner behavior, and we don't need to look at confirmed param if we're onroad

* update translations

* vanish translations

* use scene for op long

* lowercase!

* updated copy

* need to check longitudinal here now too

* clean up!

* here is better

* used

* no nav emoji

* don't check param if not valid

* revert this

revert this

* ed

* revert experimental mode longitudinal checks (still need to revert toggle change)

* revert

* logic works

* revert test

* fix

* update translation

* fix (reset and update)
old-commit-hash: 6bc28fc7698415e41610ddd04bb3ce473870591e
2023-07-17 21:18:18 -07:00
Kacper Rączy fe2fc9dd11 onnx_runner: force determinism (#29000)
old-commit-hash: 8ce72760e784760eb26b9dc87e12919943397c37
2023-07-18 05:52:07 +02:00
Shane Smiskol 6f078534b8 ui: rename experimental mode toggle variable
old-commit-hash: 6e50706baa2dcbc7f3439ac10ab1a04b12ffb7cf
2023-07-17 20:38:38 -07:00
Shane Smiskol f9c6c9e8c3 Revert "experimental mode: gate navigate on openpilot (#28883)" (#29005)
This reverts commit 929880496515e3f995634e561145802bf15a60ea.
old-commit-hash: b5b431c12d54aaa115f9750da6d49e62a6d31778
2023-07-17 19:56:38 -07:00
Shane Smiskol 4185aeb93b Nissan FPv2: use default diagnostic session (#28634)
* Revert "Nissan FPv2: log different diagnostic session types (#28585)"

This reverts commit 7b90843ea98d6034327e311c7025b9abc519055c.

* switch to standard KWP2000 diagnostic session type

* we're speedy again
old-commit-hash: 35aaf90587536e9ef5edfc1ec30c3fa2f1506aef
2023-07-17 18:21:18 -07:00
Adeeb Shihadeh 98972afe8a installer: openpilot-nightly installs nightly (#28997)
old-commit-hash: 2d6ff7b7b1a8b61d476d3ffba158c94bad9b0c1a
2023-07-17 17:01:41 -07:00
Shane Smiskol 38f28534dc Ford: fix CAN FD fingerprinting (#28995)
* fix CAN FD fingerprinting for now

* comment

* this is the simplest for now

* revert

* cmt

* todo and fixme!
old-commit-hash: 047bb46d3a0e73d1c7160252bcb6f2f7358980ee
2023-07-17 16:56:13 -07:00
Adeeb Shihadeh 9b3ceb5f5f mapsd: set nice value (#28994)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 99c9cf0c024f00dcd9d161d18f0db73b66ece3dc
2023-07-17 14:36:02 -07:00
Adeeb Shihadeh eb9c9b19b4 Revert "mapsd: release MapRenderer on exit (#28988)"
This reverts commit 97db3f84daffd9e2c6fdf6e65325f42c118aacb8.

old-commit-hash: 9cec7fa1a8d9c4915628d017628bf8fbf930d2f6
2023-07-17 14:05:52 -07:00
Cameron Clough a9d16a7887 Ford: add back FW query ECU whitelists (#28993)
Partial revert of changes in #28974.
old-commit-hash: ed8f17df6559e1b4b0812fa2e6f91eef60e13795
2023-07-17 13:46:47 -07:00
Dean Lee cb8cc55d01 mapsd: release MapRenderer on exit (#28988)
old-commit-hash: 70b2a5220f1d7624a2f6a4dedc6776a49f1095ef
2023-07-17 12:57:58 -07:00
Adeeb Shihadeh ac33a1208e boardd: use full buffer size
old-commit-hash: d2fa746b12afb73d1b22f5c867938f49d9c34e08
2023-07-17 12:44:10 -07:00
Cameron Clough dcd74839f9 athenad: test connection timeout (#28864)
old-commit-hash: 915aec3f5c2a9321866ee79a69b59534c29234b9
2023-07-17 20:21:52 +01:00
Adeeb Shihadeh 7a8ff5d59f mapsd: more reliable test (#28985)
* mapsd: more reliable test

* better wait

* should be good

* fix frame id

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd02ab6358efd66d2c1e7c71de3ed7f3d9ea221f
2023-07-17 10:58:39 -07:00
Cameron Clough 381a6a35fd Ford: add F-150 2023 support (dashcam only) (#28974)
old-commit-hash: 17e71cdf4476d0d1b90b6e5e7c5be433e93d50c5
2023-07-17 16:16:28 +01:00
Dean Lee 8c026eff7c ui/MapSettings: remove call to clearLayout (#28961)
old-commit-hash: 1afdca2ef1a0d2ae9d0ad03205667dc644e319ac
2023-07-17 15:32:28 +01:00
eFini bcf95f6dd7 Multilang: Chinese (Traditional) translations update (#28984)
old-commit-hash: 454a5e8a266e9c99d545cd77f91306606559b8f6
2023-07-16 21:54:55 -07:00
Adeeb Shihadeh 93c586e39a pandad: check comms protocol version (#28983)
* proto version check

* bump panda

* update bootstub

* test

* bump panda

* fix that

* bump panda

* fix test case

* more fix

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2720fdf2a10ff09d697dedc544cbcf80136ce276
2023-07-16 21:33:24 -07:00
Eric Brown 3ebff5c415 Events: debug script (#28898)
* Move to separate branch

* Fix mypy

* Better printout

* Fix spacing

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 22c413af6de56450cad3db4a978527549a924eaa
2023-07-16 16:59:27 -07:00
Adeeb Shihadeh 99945aded5 nav: always publish map and run model (#28924)
* always render

* more test

* test case

* update test

* vipc checks

* clear cache

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b86268635a595602d0b3eae5a22e95119c3d860
2023-07-16 15:37:13 -07:00
Adeeb Shihadeh 30a6fa35aa mapsd: rendering tests (#28981)
* mapsd: rendering tests

* run

* speedup
old-commit-hash: e2b5d1e29a3efeefc0679e116e6f6e16a815425c
2023-07-16 14:39:34 -07:00
Dean Lee e8478e81c7 ui/map: update destination on param change (#28957)
* update destination on param change

* use ParamWatcher

* remove include
old-commit-hash: d47d8808d1f973e4765a3fc806bcce6d33681048
2023-07-16 13:48:33 -07:00
Dean Lee 80e7b739b4 ui/util: add a helper class ParamWatcher (#28978)
* new class ParamWatcher

* Update selfdrive/ui/qt/util.cc

* Update selfdrive/ui/qt/util.h

* Update selfdrive/ui/qt/util.cc

* Update selfdrive/ui/qt/util.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b4f7e76531cfa378ff231b399b3910b4fb996363
2023-07-16 13:17:16 -07:00
Cameron Clough 645479775d Ford: set CAN FD safety param (#28979)
old-commit-hash: d0e6076059e534874148ad5aecaea683dea35ec6
2023-07-16 13:00:42 -07:00
Cameron Clough 8c7e9b5cea Ford: sort FW versions
old-commit-hash: f30b859eca878d68f0eb94dfab0c1cb18e57f991
2023-07-16 16:09:18 +01:00
Adeeb Shihadeh d6b8eed74d boardd: misc cleanup (#28969)
* boardd cleanup

* no more front frame

* faster connect loop

* fix that on mac
old-commit-hash: c933fbb0748106bb8b1e4c1e875eb6c83b7e7b52
2023-07-15 23:39:21 -07:00
Harald Schäfer 1fd2125bfa Laikad cpu usage: enable test onroad (#28926)
* enable test onroad

* Better

* specify range

* fix printing

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7613f6918bb22ace90887e6025ee1e6cb93050ed
2023-07-15 23:06:42 -07:00
Adeeb Shihadeh 2bb54ba49a pandad: enable tres release -> bootstub test (#28930)
enable tres

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a46ed955e653152ab8fbfb23f482da39045cd702
2023-07-15 22:22:56 -07:00
Adeeb Shihadeh b8de120d86 boardd: read spi resp len with ack (#28966)
old-commit-hash: 3390f1e1df3ea70a30b51fc105d08e769b29892a
2023-07-15 20:13:19 -07:00
Dean Lee 46d64e90e6 dmonitoring: use sizeof(float) instead of hardcorded size (#28963)
old-commit-hash: 8dcd92253b3117378cc39fa43111419ec3b4d832
2023-07-15 10:30:50 -07:00
Dean Lee cba02f9a59 ui/map: fix wrong remaining time (#28960)
old-commit-hash: 53934c7fee3da1aa7ee752c53796f3859e156815
2023-07-15 13:28:21 +01:00
Dean Lee b81910128d ui/MapSettings: store destinations to load on widget init (#28950)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 187696977e32c0042b9141d6042e8dddb507fceb
2023-07-15 11:37:41 +01:00
Shane Smiskol 78939ebcbd navd: add repr method to Coordinate (#28959)
* repr coordinate for debugging

* fix

* stash

* better formatting
old-commit-hash: cbde480cb9dc82106b4056eb81a921c5c04ee5b7
2023-07-14 21:42:01 -07:00
Shane Smiskol bbd3b3bc75 FuzzyGenerator: typing (#28934)
* bump

* should be bytes

* draft fuzzy car params

* stash

* bump

* bump

* this is explored!

* some clean up

* more clean up

* clean up

* do we need draw??

* draft

* this was confusing

* revert

* draft

* Revert "draft"

This reverts commit c593a03474b04d4df2648d8149798196c991a108.

* draft

* more typing!

* complete typing

* fix that

* cleanup

* better
old-commit-hash: f495c21805583f19e5cd4bd56b8b0445c74f35b3
2023-07-14 21:41:30 -07:00
Shane Smiskol ce88b7cf51 test_models: don't skip test cases with multiple pytest jobs (#28953)
* Update test_models.py

* Update selfdrive/car/tests/test_models.py

* Update selfdrive/car/tests/test_models.py
old-commit-hash: f6390c6e4092ee69ea73753419b86dd9d8b5cf27
2023-07-14 16:24:07 -07:00
Shane Smiskol 718fabb4d5 test_models: fix rx message bus (#28947)
Update test_models.py
old-commit-hash: c9c636bdd7de6a22e34fd2cbcbc8d5e612f4cfad
2023-07-14 14:04:24 -07:00
Dean Lee b8110a90d2 ui: set max brightness when showing the QR code (#28907)
* set max brightness when showing the QR code

* set brightness in ui

* set in device
old-commit-hash: e958ce1c313f3dbe8724bf3d574bc12305862ebb
2023-07-14 12:22:35 -07:00
Dean Lee 9212a16e54 ui/map: cache navigation images at startup (#28783)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: ccfca97dfc08f2d7a583fe268bb816c5ae47fc6b
2023-07-14 20:18:49 +01:00
Cameron Clough aa0c37ed21 modeld: comment out unused variables (#28944)
old-commit-hash: ce0717670b98acb0e523823df2d60009918566be
2023-07-14 17:45:00 +01:00
Shane Smiskol f06e9bd2dc Hyundai: fix alt button cancel message always blocked (#28941)
* add missing values

* fixy
old-commit-hash: dd98dc48a1d599e0c5e167e422ecfd376f4a6769
2023-07-14 06:00:59 -07:00
Shane Smiskol d456293479 GM ASCM: don't apply gas when stopping (#28699)
* don't apply gas when stopping

* simpler?

* todo

* fixme
old-commit-hash: 653daba9edad96215e16ab13089aed214e3e264d
2023-07-14 05:58:17 -07:00
Shane Smiskol 296de39f48 experimental mode: gate navigate on openpilot (#28883)
* first draft copy, needs updates

* gate behind exp mode

* can be one line

* this is no longer true

* toggle isn't just e2e long now, rename

* don't enable/disable

* kinda works!

* remove old giant qstring

* comment clean up

* similar breakpoint

* more clean up

* fixup onroad

* preserve planner behavior, and we don't need to look at confirmed param if we're onroad

* update translations

* vanish translations

* use scene for op long

* lowercase!

* updated copy

* need to check longitudinal here now too

* clean up!

* here is better

* used

* no nav emoji

* don't check param if not valid

* revert this

revert this

* ed
old-commit-hash: f973d605b2121a575a46f4a18dfcbb2df1f4816b
2023-07-14 05:26:59 -07:00
dkondratov 1debe458ce Adding FW for 2023 Volkswagen Arteon (#28913)
5ac586afbb236b5d|2023-07-09--00-37-19

VIN: WVWTR7AN7PE011676

Co-authored-by: RC7777 <31451749+RC7777@users.noreply.github.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 5d67fe2a91022a89bcceda1f4b9b2e31e1e0bdbb
2023-07-14 11:58:08 +01:00
Shane Smiskol 28c64e4856 CanBusBase: fix offset calculation (#28938)
old-commit-hash: f99ac84b5ca8f48d044c4eaf0164b07c7b270fa0
2023-07-14 11:06:22 +01:00