Commit Graph

11857 Commits

Author SHA1 Message Date
Cameron Clough 995250ae49
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 56ec18bb6b.

* revert changes to third_party/

* manual type fixes

* explicit Optional wrapping capnp objects
2024-02-24 16:41:23 -08:00
Cameron Clough 6ed72b3626
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
2024-02-24 10:01:02 -08:00
Shane Smiskol 378ba114f9
Ford: support hybrid Q3 platforms (#31568)
* bump

* ford: remove dynamic dashcam lockout for hybrids

* releases?

* Revert "releases?"

This reverts commit 88d950043d.

* bump

* Reapply "releases?"

This reverts commit db5079dc3f.

* 097
2024-02-23 21:22:34 -08:00
Justin Newberry adb7e2e229
CI: Retry multiarch build (#31570)
hardware
2024-02-23 20:54:48 -08:00
Adeeb Shihadeh 92475d653b
agnos 9.7 (#31564)
* agnos 9.7

* update
2024-02-23 17:41:03 -08:00
Jason Young b75a6cea34
VW PQ: Consolidate and cleanup tuning (#31566)
consolidate and cleanup PQ configs
2024-02-23 17:35:21 -08:00
Justin Newberry 1161d33c18
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
2024-02-23 13:23:40 -08:00
Justin Newberry 556f973896
segment range docs update (#31560)
* the format

* cleaner
2024-02-23 11:50:33 -08:00
Shane Smiskol 72a7f008ab
Volkswagen: log FW on non-OBD buses (#31556)
* log lots

* update refs

* cmt
2024-02-23 04:00:28 -08:00
Justin Newberry c9c2ab9cc8
pre-commit: run ruff first (#31548)
move ruff up
2024-02-22 18:34:42 -08:00
Justin Newberry 73a497ded8
cleanup PlatformConfig (#31551)
cleanup
2024-02-22 17:49:27 -08:00
Justin Newberry 015eed5d61
Subaru: move to PlatformConfig (#31547)
* subaru platform config

* forester wrong dbc

* spacing
2024-02-22 17:17:00 -08:00
Adeeb Shihadeh db57a21c88
pandad: wait until USB is up before panda recovery (#31549) 2024-02-22 17:15:53 -08:00
Adeeb Shihadeh 968eaf1cb2 bump to 0.9.7 2024-02-22 16:12:28 -08:00
Justin Newberry 1ee8c9aa33
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
2024-02-22 15:58:37 -08:00
Greg Hogan 43f64ec500
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>
2024-02-22 13:17:02 -08:00
Shane Smiskol a2bda8724d
Ford: add back OBD queries for logging (#31543)
* Revert "Reapply "Ford: don't fingerprint on engine (#31195)" part 2 (#31320)"

This reverts commit dd6065c33b.

* fix refs

* mark logging
2024-02-22 01:34:15 -08:00
Shane Smiskol 3009a51c06
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 ad893687e1.

* todo for now
2024-02-22 00:31:24 -08:00
Shane Smiskol c0e172e0c0
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 f0b822fca9.

* more tol for lte connection
2024-02-21 22:08:10 -08:00
Shane Smiskol 9dde727974
Fix athenad reconnect test (#31538)
* debugging

* this also works

* so does this

* more similar to existing method

* clean up

* more

* more
2024-02-21 19:40:35 -08:00
Adeeb Shihadeh d8ce15a869
controlsd: increase initializing timeout (#31535) 2024-02-21 16:23:43 -08:00
Justin Newberry 00315325a3
controlsd: move carParams management to card (#31534)
* card-manage

* fix

* init params

* reversed that

* can be in the init
2024-02-21 16:11:00 -08:00
Adeeb Shihadeh 0b4d08fab8
remove deviceState.ambientTempC (#31533) 2024-02-21 13:57:49 -08:00
Adeeb Shihadeh 34138d0be9
qcomgpsd: use AT helper with retry for all AT commands (#31532) 2024-02-21 13:57:29 -08:00
Justin Newberry 837b811f9c
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!
2024-02-21 13:18:43 -08:00
Justin Newberry 0eba392cf2
controlsd: sort imports (#31531)
sort imports
2024-02-21 11:58:04 -08:00
Adeeb Shihadeh 7a29617108
tici: ensure DSP permissions are setup on boot (#31530)
Co-authored-by: Comma Device <device@comma.ai>
2024-02-21 11:48:17 -08:00
Justin Newberry 3f104f3fbd fix static analysis 2024-02-21 11:26:49 -08:00
Adeeb Shihadeh e7695c3f32 add power cycling to can_replay 2024-02-21 11:12:56 -08:00
Shane Smiskol c3e3103830
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
2024-02-20 22:30:51 -08:00
Shane Smiskol 4abda1b6bc
thermald: remove instant low voltage check (#31522)
remove instant lv check for old bug
2024-02-20 21:02:38 -08:00
Adeeb Shihadeh 3e6ac26569
thermald: make CPU usage list a constant size (#31526) 2024-02-20 20:15:46 -08:00
Adeeb Shihadeh 27c56722cc
fix spinner asset paths (#31524) 2024-02-20 18:01:28 -08:00
Adeeb Shihadeh 1c794b710c
uploader: sleep more when no files in queue (#31523)
* uploader: sleep more when no files in queue

* fix test
2024-02-20 17:25:12 -08:00
Adeeb Shihadeh c645feb1aa pj: gpu usage isn't real 2024-02-20 16:55:46 -08:00
İdris AKBIYIK 272019f73d
Add fingerprints.py for Skoda Octavia MK3 2017 (#30846)
* Update fingerprints.py for Skoda Octavia MK2 2017

-Fingerprint values added

* Update fingerprints.py Passat Alltrack 4x4

* another PR

* format

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-02-20 15:57:40 -08:00
Justin Newberry 51e3daf244
Subaru: add 2024 forester (#31520)
* also angle based

* 24 forester
2024-02-20 15:02:56 -08:00
Adeeb Shihadeh 2cf831a304 debug: improve count_events.py output 2024-02-20 14:20:53 -08:00
Justin Newberry a51ef41cf8
Simulator: simulate the obd enabled/changed dance (#31519)
obd dance
2024-02-20 12:11:42 -08:00
Shane Smiskol 2184da9deb
[bot] Fingerprints: add missing FW versions from new users (#31518)
Export fingerprints
2024-02-20 08:07:43 -08:00
Adeeb Shihadeh 5d4dc1dc2f
Make ui independent of launch path (#31517)
* Make ui independent of launch path

* comment
2024-02-19 22:34:24 -08:00
Adeeb Shihadeh 675eeb9d16 modeld: add extra log for startup time debugging 2024-02-19 22:33:30 -08:00
Adeeb Shihadeh 528e555892 debug: print log messages in relative time 2024-02-19 22:33:08 -08:00
goodchoom 8b5c9e84d2
Alerts: fix inconsistent capitalization (#31514)
fix capitalization
2024-02-19 18:18:20 -08:00
Harald Schäfer 26481d082f
Certified Herbalist Model (#31425)
* ab9921cb-6e0a-4816-bec5-ebb55d37a7f1/700

* 93532291-a562-4ab8-82d2-34d6e9fdcfbb/700

* Update ref
2024-02-19 17:26:10 -08:00
Harald Schäfer d371fb042c
Modeld: cleanup unused variables (#31516)
Modeld: cleanup used variables
2024-02-19 17:07:15 -08:00
Adeeb Shihadeh 1145122b3f
More startup checks (#31511)
* no lag!

* kill first

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-02-19 13:58:36 -08:00
Milan Medić 69fb3c2ed5
add Cython static analysis (#31491)
* Adding pre-commit hook for cython static analysis

* Adding changes to cython files to pass static analysis

* Revert "Adding changes to cython files to pass static analysis"

This reverts commit 9a0eb73319.

* Adding ignore rule for indentation of 4 spaces (E111)

* Fixes for cython-lint static analysis

* Revert "Fixes for cython-lint static analysis"

This reverts commit 972741735b.

* Adding two new rules into ignore list (2 new lines after difinition of class)

* Adding fixes for cython static analysis
2024-02-19 12:11:56 -08:00
Adeeb Shihadeh 37206a83fe
[bot] Bump submodules (#31507)
bump submodules

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
2024-02-19 10:54:06 -08:00
Adeeb Shihadeh 86184b76d5
more modeld logging (#31510) 2024-02-19 10:46:04 -08:00