Adeeb Shihadeh
f6732eca41
get name from kernel ( #31602 )
...
* get name from kernel
* revert that
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 3c4e82f14a3569cec615fe602886271fee1566c7
2024-02-26 20:21:44 -08:00
Justin Newberry
d036050624
can_replay: add type hint ( #31601 )
...
type hint
old-commit-hash: edd26acdc324ad8d4b3ccd7406be545545f4cb6f
2024-02-26 16:26:01 -08:00
Justin Newberry
c799790b9b
move with_http_server to selfdrive/test/helpers ( #31597 )
...
* move
* fix
old-commit-hash: 9d1cafd0fccc0406a91309a2f9aa1053b498601d
2024-02-26 12:53:17 -08:00
Justin Newberry
c57f5bfb1d
add common/mock to release ( #31596 )
...
* add mock
* fix
* fix2
old-commit-hash: 86090a1e150f6d6df5283725ff1fb03605ecfef5
2024-02-26 11:20:51 -08:00
Adeeb Shihadeh
05ff64ba7a
[bot] Bump submodules ( #31594 )
...
* bump submodules
* bump opendbc
---------
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com >
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: 5c0bbc7dda74f4e354b5e670185abf29d2d49488
2024-02-26 11:20:42 -08:00
Adeeb Shihadeh
50a34d5ac6
[bot] Update Python packages and pre-commit hooks ( #31595 )
...
Update Python packages and pre-commit hooks
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com >
old-commit-hash: a1fefabbca852923dee83b5ee58c748ce861cdad
2024-02-26 09:08:24 -08:00
Cameron Clough
bf6a9e54af
Ford: move to PlatformConfig ( #31554 )
...
* Ford: move to PlatformConfig
* Align Aviator model years with Explorer
* Add CarSpecs to PlatformConfig
---------
Co-authored-by: justin <justin@comma.ai >
old-commit-hash: 8e03cdfc2ae72ea09208ce41ddc8f7a118c3b973
2024-02-25 17:55:42 -08:00
Eric Brown
0f78a52a22
GM: move to platform config ( #31553 )
...
* subaru platform config
* forester wrong dbc
* spacing
* subaru car specs
* someday!
* more red diff
* Move GM to platform config
* Implement CarSpecs
* Simplify centerToFront
* Accidentally had subaru DBC
* Fix typo in DBC name
* done above
* two spaces
* that is moved up
* fix hardcoded fingerprints
* whitespace
* values
* better?
* fix
* bump
* fix
* fix
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: 5012e15aa65f4ee82ce19c856a52909b3a879016
2024-02-25 17:53:26 -08:00
Jason Young
5cb007daf3
VW: Move car specs to PlatformConfig ( #31567 )
...
* subaru platform config
* forester wrong dbc
* spacing
* subaru car specs
* someday!
* more red diff
* all brands can be done like this
* but this should be done first and thats subaru specific
* that seems very low but we shouldn't change it here
* as long as it subclasses str its fine
* well that sucked
* cleanup and follow refactor
* diff reduction
* oops
* fix
* force fingerprint
* Revert "force fingerprint"
This reverts commit 600fbcd7d559703601a06c8876a640de417e5b6c.
* space
* Fix specs
* this one too
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: da540eac1346d0d28bf7cbb2499d6193af541798
2024-02-25 17:38:17 -08:00
Cameron Clough
a09300385b
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
old-commit-hash: 80da3aee147867e46f566b63a96f4fe199e0628d
2024-02-25 13:29:18 -08:00
Cameron Clough
b04a778fcb
vscode: add ruff extension ( #31589 )
...
old-commit-hash: 3520d479557dad78b85ce2fd1f51d656c7ea6bd2
2024-02-25 11:41:27 -08:00
Robbe Derks
08bb6d822e
linux-aarch64 also works for plotjuggler
...
old-commit-hash: 854e78eaffbdf66daccb53aa326276fb51723ee1
2024-02-25 18:18:43 +00:00
Cameron Clough
c32539b23a
scripts: install and run pyupgrade ( #31587 )
...
old-commit-hash: 30afe2c231d18bbbf71c1e26d0458bf0acacdd2f
2024-02-25 09:26:11 -08:00
Cameron Clough
2c33be7a9c
cars: update platforms typing syntax ( #31586 )
...
old-commit-hash: be8e503a7da7b686ffa944902d58bb62925e34a9
2024-02-25 11:24:33 -05:00
Justin Newberry
53a544b029
Subaru: fix forester weight ( #31585 )
...
fix weight
old-commit-hash: cdd4d418aaa1516d110e03199f070b3168cb55c6
2024-02-24 23:15:16 -08:00
Justin Newberry
d11aac152e
cars: introduce "Platform" union type for all car enums ( #31558 )
...
* Hmm
* release
* hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
* unrelated
* forgot
* cleaner
* Platform
* new syntax
* Fix
* clean
* Fix
old-commit-hash: e6009d80e9323f0cbb41f058164b63eef4a9c55c
2024-02-24 22:18:13 -08:00
Adeeb Shihadeh
67d357baa5
VSCode settings ( #31582 )
...
* base config
* add launch.json
* little more
* cleanup
* fix
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com >
old-commit-hash: 96ce470b7356a5dc3ca2e02aa6fc8d08646faf78
2024-02-24 20:54:04 -08:00
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae4967943ee33a3699a1d89a7a770d95e9
2024-02-24 16:41:23 -08:00
Cameron Clough
8af72c9330
Ford: add hybrid variants to docs ( #31575 )
...
* Ford: add hybrid variants to docs
Following up on https://github.com/commaai/openpilot/pull/31568
| CarInfoPlatform | ElectrificationLevel | ModelYear | Series | Trim |
|:-----------------------------|:-----------------------|:-----------------------|:--------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------|
| FORD BRONCO SPORT 1ST GEN | ICE | 2021, 2022 | BADLANDS, BASE, BIG BEND, FIRST EDITION, OUTER BANKS | |
| FORD ESCAPE 4TH GEN | FHEV | 2020, 2021, 2022 | SE, SEL, Titanium | |
| FORD ESCAPE 4TH GEN | ICE | 2020, 2021, 2022 | S, SE, SEL, Titanium | |
| FORD ESCAPE 4TH GEN | PHEV | 2020, 2021, 2022 | SE, SEL, Titanium | |
| FORD EXPLORER 6TH GEN | HEV | 2020, 2021, 2022, 2023 | Limited, Platinum | |
| FORD EXPLORER 6TH GEN | ICE | 2020, 2021, 2022, 2023 | Base, Black Label, King Ranch, Limited, Platinum, Reserve, ST, ST-Line, Standard, Timberline, XLT | |
| FORD EXPLORER 6TH GEN | PHEV | 2020, 2021 | Black Label Grand Touring, Blk Label Grand Touring, Grand Touring | |
| FORD F-150 14TH GEN | HEV | 2021, 2022, 2023 | , F-Series | SuperCrew |
| FORD F-150 14TH GEN | ICE | 2021, 2022, 2023 | , F-Series | , Regular Cab, SuperCab, SuperCrew, SuperCrew-Raptor, SuperCrew-SSV |
| FORD F-150 LIGHTNING 1ST GEN | BEV | 2022, 2023 | | SuperCrew |
| FORD MAVERICK 1ST GEN | HEV | 2022, 2023 | SUPERCREW, XL XLT Lariat | , SUPERCREW |
| FORD MAVERICK 1ST GEN | ICE | 2022, 2023 | SUPERCREW, XL XLT Lariat, XLT Lariat | , SUPERCREW |
| FORD MUSTANG MACH-E 1ST GEN | BEV | 2021, 2022, 2023 | California Route 1, GT, Premium, Select | |
Data from NHTSA database and https://www.ford.co.uk/cars .
* revert F-150 model year change
old-commit-hash: 6ed72b362698a4ceef4eff5d9a9ed6ce5ec002be
2024-02-24 10:01:02 -08:00
Shane Smiskol
ce4784925e
Ford: support hybrid Q3 platforms ( #31568 )
...
* bump
* ford: remove dynamic dashcam lockout for hybrids
* releases?
* Revert "releases?"
This reverts commit 88d950043d79b8c00535f48ed84b854bc2ab2557.
* bump
* Reapply "releases?"
This reverts commit db5079dc3f1a6bce70bd04430be45704d8604e76.
* 097
old-commit-hash: 378ba114f9d4852374d76c7ebc0318a80cd29c43
2024-02-23 21:22:34 -08:00
Justin Newberry
5b173679c2
CI: Retry multiarch build ( #31570 )
...
hardware
old-commit-hash: adb7e2e2297ecfc00e333155d4c8d0666c2c9205
2024-02-23 20:54:48 -08:00
Adeeb Shihadeh
7410a1c448
agnos 9.7 ( #31564 )
...
* agnos 9.7
* update
old-commit-hash: 92475d653bcb94a907d20701a697118fbe8815ef
2024-02-23 17:41:03 -08:00
Jason Young
ab0c861a08
VW PQ: Consolidate and cleanup tuning ( #31566 )
...
consolidate and cleanup PQ configs
old-commit-hash: b75a6cea34864d097ebd22a713db445180c72732
2024-02-23 17:35:21 -08:00
Justin Newberry
c564806520
Subaru: move carspecs to PlatformConfig ( #31550 )
...
* subaru platform config
* forester wrong dbc
* spacing
* subaru car specs
* someday!
* more red diff
* all brands can be done like this
* but this should be done first and thats subaru specific
* that seems very low but we shouldn't change it here
* as long as it subclasses str its fine
* fix
old-commit-hash: 1161d33c1892b32980a222b7c5b2ad9d6b05621e
2024-02-23 13:23:40 -08:00
Justin Newberry
cc77d0ca34
segment range docs update ( #31560 )
...
* the format
* cleaner
old-commit-hash: 556f9738960526d6eeaab9fe639d0340a6d5d6c9
2024-02-23 11:50:33 -08:00
Shane Smiskol
e0322ba82f
Volkswagen: log FW on non-OBD buses ( #31556 )
...
* log lots
* update refs
* cmt
old-commit-hash: 72a7f008ab3c4d0f86605860579926911815a103
2024-02-23 04:00:28 -08:00
Justin Newberry
1219678ef1
pre-commit: run ruff first ( #31548 )
...
move ruff up
old-commit-hash: c9c2ab9cc858bc2bc1ce16a3f4b04545582fcb1d
2024-02-22 18:34:42 -08:00
Justin Newberry
3d5b7dadaf
cleanup PlatformConfig ( #31551 )
...
cleanup
old-commit-hash: 73a497ded8b4ae7f1e2d3b5a7c4a2f57c748ff1c
2024-02-22 17:49:27 -08:00
Justin Newberry
27ac28a55f
Subaru: move to PlatformConfig ( #31547 )
...
* subaru platform config
* forester wrong dbc
* spacing
old-commit-hash: 015eed5d61c583328d419a7990ffac0eee97edd4
2024-02-22 17:17:00 -08:00
Adeeb Shihadeh
b649f6a175
pandad: wait until USB is up before panda recovery ( #31549 )
...
old-commit-hash: db57a21c8878602d86fbf4ec23bfe49e17e8b543
2024-02-22 17:15:53 -08:00
Adeeb Shihadeh
ffb7f66b05
bump to 0.9.7
...
old-commit-hash: 968eaf1cb2c30a2361c0993a67e720d7dc89f6ec
2024-02-22 16:12:28 -08:00
Justin Newberry
351b1e1f5f
cars: introduce "platformconfig" to be a configuration for all relevant car information ( #31542 )
...
* this is decent
* make sure the docs don't change for now
* hackery
* these can live here
old-commit-hash: 1ee8c9aa3317460979dfc2a96eccd101b1b70d41
2024-02-22 15:58:37 -08:00
Greg Hogan
b4479b4155
URLFile: default value test ( #31544 )
...
* URLFile: default value test
* cleanup
* fix env
* improvements
* fix GET response
* only delete cache dir if it exists
* env pop
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 43f64ec5005b38b9d2f3ccab9b8bd99a2c1cd6fd
2024-02-22 13:17:02 -08:00
Shane Smiskol
0766214043
Ford: add back OBD queries for logging ( #31543 )
...
* Revert "Reapply "Ford: don't fingerprint on engine (#31195 )" part 2 (#31320 )"
This reverts commit 69a5ada092202482380241584ecdb6a3424b0087.
* fix refs
* mark logging
old-commit-hash: a2bda8724d84fa46ab57ce15cd4143985c1b3470
2024-02-22 01:34:15 -08:00
Shane Smiskol
04bcb2f0b5
athenad: check end_event while uploading files ( #31541 )
...
* check end_event while uploading, throw abort exception if we need to shut down/restart
* fix
* draft test
stash
* Revert - there's no easy way to know if it breaks early in upload loop
or not yet
This reverts commit ad893687e196ebb31d276a114c19e9af963ed02a.
* todo for now
old-commit-hash: 3009a51c060b3e660bcb37e5b8c7a49813a832dc
2024-02-22 00:31:24 -08:00
Shane Smiskol
e31385f1ab
athenad: fix test timeouts and comments ( #31540 )
...
* these pass in 0.5s since server sends ping on connect
* comments
* unused
* fix
* fix these too
* check end_event while uploading, throw abort exception if we need to shut down/restart
* Revert "check end_event while uploading, throw abort exception if we need to shut down/restart"
This reverts commit f0b822fca98cd8e2b3d4d6d5ede6b512d3ed3ec0.
* more tol for lte connection
old-commit-hash: c0e172e0c08a7e09feb27905b0705ed3df992f21
2024-02-21 22:08:10 -08:00
Shane Smiskol
2ef89886d3
Fix athenad reconnect test ( #31538 )
...
* debugging
* this also works
* so does this
* more similar to existing method
* clean up
* more
* more
old-commit-hash: 9dde72797462944c8139020d8088cd20030554df
2024-02-21 19:40:35 -08:00
Adeeb Shihadeh
b347145c9f
controlsd: increase initializing timeout ( #31535 )
...
old-commit-hash: d8ce15a86910972bc066aa378a80c499a924de3d
2024-02-21 16:23:43 -08:00
Justin Newberry
1e13249c2a
controlsd: move carParams management to card ( #31534 )
...
* card-manage
* fix
* init params
* reversed that
* can be in the init
old-commit-hash: 00315325a38b4be8a4aaa5db5db81e818c2e31ab
2024-02-21 16:11:00 -08:00
Adeeb Shihadeh
5e81beb77e
remove deviceState.ambientTempC ( #31533 )
...
old-commit-hash: 0b4d08fab8e35a264bc7383e878538f8083c33e5
2024-02-21 13:57:49 -08:00
Adeeb Shihadeh
f5beedfaec
qcomgpsd: use AT helper with retry for all AT commands ( #31532 )
...
old-commit-hash: 34138d0be9b9b0041dc5e15b81c4f4b9e653a9f3
2024-02-21 13:57:29 -08:00
Justin Newberry
8256969d40
Split out can control into new "card" class ( #31529 )
...
* card v1
* fix car events
* fix proc replay
* lets keep that the same
* no extra space here
* move can recv timeouts to card
* organize imports
* organize imports
* slightly bump cpu
* not a card!
old-commit-hash: 837b811f9c78628a1c0ba50f9f287bf96e39144d
2024-02-21 13:18:43 -08:00
Justin Newberry
0d6c16e771
controlsd: sort imports ( #31531 )
...
sort imports
old-commit-hash: 0eba392cf24e5ebbd09d7a3ff4acd9f98daeb3bb
2024-02-21 11:58:04 -08:00
Adeeb Shihadeh
66e8923dd7
tici: ensure DSP permissions are setup on boot ( #31530 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7a2961710849a69e096a827936b571489bebe997
2024-02-21 11:48:17 -08:00
Justin Newberry
bc9ad2ab13
fix static analysis
...
old-commit-hash: 3f104f3fbd7af6e0d1b59377165e6ae0a347c744
2024-02-21 11:26:49 -08:00
Adeeb Shihadeh
13ec05e3f3
add power cycling to can_replay
...
old-commit-hash: e7695c3f32e95bbd0ad31e2ef09075c93ba9f65b
2024-02-21 11:12:56 -08:00
Shane Smiskol
9cc2677a7a
torqued: log raw params if calculable ( #31521 )
...
* log params when calculable
* better
* Update ref_commit
* this is redundant
* this is only used in one place, confusing which to use so remove
* better
old-commit-hash: c3e3103830ba62d70f45555bdd6fda554594f7a8
2024-02-20 22:30:51 -08:00
Shane Smiskol
35a41c0ff7
thermald: remove instant low voltage check ( #31522 )
...
remove instant lv check for old bug
old-commit-hash: 4abda1b6bc70ff021bddec87f697cce37e186707
2024-02-20 21:02:38 -08:00
Adeeb Shihadeh
1f13b0904c
thermald: make CPU usage list a constant size ( #31526 )
...
old-commit-hash: 3e6ac26569cef2dcf78115333cc0f804aa4e9b02
2024-02-20 20:15:46 -08:00
Adeeb Shihadeh
22e8a76cd9
fix spinner asset paths ( #31524 )
...
old-commit-hash: 27c56722ccf6fefc3d90d09f30b15bdf053f2bea
2024-02-20 18:01:28 -08:00