Justin Newberry
d6f9e2c805
platformconfig: freeze all dataclasses ( #31605 )
...
* frozen
* frozen
old-commit-hash: 9ecff49118
2 years ago
Justin Newberry
36d50a2e45
remove cast for platformconfig ( #31604 )
...
* this isnt required
* Cleaner
old-commit-hash: 6d0027342a
2 years ago
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: 8e03cdfc2a
2 years ago
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: 5012e15aa6
2 years ago
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: da540eac13
2 years ago
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: 80da3aee14
2 years ago
Cameron Clough
2c33be7a9c
cars: update platforms typing syntax ( #31586 )
...
old-commit-hash: be8e503a7d
2 years ago
Justin Newberry
53a544b029
Subaru: fix forester weight ( #31585 )
...
fix weight
old-commit-hash: cdd4d418aa
2 years ago
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: e6009d80e9
2 years ago
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: 995250ae49
2 years ago
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: 6ed72b3626
2 years ago
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: 378ba114f9
2 years ago
Jason Young
ab0c861a08
VW PQ: Consolidate and cleanup tuning ( #31566 )
...
consolidate and cleanup PQ configs
old-commit-hash: b75a6cea34
2 years ago
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: 1161d33c18
2 years ago
Shane Smiskol
e0322ba82f
Volkswagen: log FW on non-OBD buses ( #31556 )
...
* log lots
* update refs
* cmt
old-commit-hash: 72a7f008ab
2 years ago
Justin Newberry
3d5b7dadaf
cleanup PlatformConfig ( #31551 )
...
cleanup
old-commit-hash: 73a497ded8
2 years ago
Justin Newberry
27ac28a55f
Subaru: move to PlatformConfig ( #31547 )
...
* subaru platform config
* forester wrong dbc
* spacing
old-commit-hash: 015eed5d61
2 years ago
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: 1ee8c9aa33
2 years ago
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: a2bda8724d
2 years ago
İdris AKBIYIK
b4a459a980
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>
old-commit-hash: 272019f73d
2 years ago
Justin Newberry
afe8debb81
Subaru: add 2024 forester ( #31520 )
...
* also angle based
* 24 forester
old-commit-hash: 51e3daf244
2 years ago
Shane Smiskol
e30e38a67d
[bot] Fingerprints: add missing FW versions from new users ( #31518 )
...
Export fingerprints
old-commit-hash: 2184da9deb
2 years ago
Shane Smiskol
55a38aeb69
[bot] Fingerprints: add missing FW versions from CAN fingerprinting cars ( #31502 )
...
Export fingerprints
old-commit-hash: 49dd8b476c
2 years ago
Shane Smiskol
ae4b6f04b5
Honda Accord: remove unknown ECU
...
Could be the radio/heater controller
old-commit-hash: 07adbd347f
2 years ago
Shane Smiskol
7b3b908ef7
Honda Bosch: detect alternate brake signal ( #31500 )
...
* Do Accord
* add comment
* good test
* this catches the accord/accordh issue!
* as expected, only if both radar&camera have in common FW does the test fail
* cmt
* clean up
* better
* Use HondaFlags
* detect alt brake
* for test
* hypothesis isn't installed
* test failure
* works
* Revert " works"
This reverts commit bfc0d808abe548630e6507431f13b01e8a1316cb.
* Revert "test failure"
This reverts commit 10ab6eb63ccd411740751b742f31fd610397fe8e.
* Revert "hypothesis isn't installed"
This reverts commit d474cc3f0ed7e84fe8bd24f452b3315fd2b8d47c.
* Revert "for test"
This reverts commit 98e039f4fc0189ccb57c1dae6b344209ef15eb1c.
* this is important too
* clean up
* more clean up
* Update ref_commit
old-commit-hash: 2e8c62358c
2 years ago
Shane Smiskol
ad17cfc6fd
[bot] Fingerprints: add missing FW versions from new users ( #31489 )
...
Export fingerprints
old-commit-hash: 0a5e994947
2 years ago
Shane Smiskol
7089ac644b
TestFwFingerprint: test to prevent mismatches when utilizing non-essential ECUs ( #31478 )
...
* test
* same speed
old-commit-hash: baa77ced19
2 years ago
Shane Smiskol
0fd2443182
HKG CAN FD: fix bus 0 VIN addr
...
Added camera addr instead of cluster on accident here: https://github.com/commaai/openpilot/pull/31348
old-commit-hash: 62c51e2d0c
2 years ago
Shane Smiskol
d391096aa5
Toyota TSS2: radar disable support ( #29094 )
...
* try to disable radar
* fix bug and bump panda
* prep
* always attempt longitudinal for testers
* fix rav4
* send ACC_HUD
* bump panda
* revert
* check for failure to disable
* fix arg
* allow
* this has no effect
* bump
* update docs
* bug fix
* fix
* check relay malfunc for acc control
* remove route where SDSU caused a relay malfunction
* missing rav4
* bump
* use chr route
* bump
* add back
* relay malfunction
* bump to master
* add to releases
old-commit-hash: b1f452d42b
2 years ago
Shane Smiskol
b17e4ca977
Toyota: check ACC_CONTROL for relay malfunction ( #31475 )
...
toyota: check acc control for relay malfunction
old-commit-hash: 622d099d00
2 years ago
Shane Smiskol
af4e7595f1
test_models: add RAV4 route without relay malfunction ( #31474 )
...
add it back
old-commit-hash: 55ba64568d
2 years ago
Shane Smiskol
9aff682d57
Toyota: only read gas interceptor if we're using it ( #31473 )
...
* we shouldn't be reading from interceptor and not writing/sending gas command
* better
* add a test!
* comment is clear
old-commit-hash: 0e94567a18
2 years ago
Shane Smiskol
df43e2539d
Leaf: get VIN ( #31398 )
...
* Add Leaf VIN query
* add lots of requests
* add exception for nissan
* no more logging
* update refs
* lower worst case
* Update selfdrive/car/car_helpers.py
* update refs
* it's the vcm!
old-commit-hash: c65dfaac68
2 years ago
Shane Smiskol
8e7578fc23
VIN: lower retries ( #31471 )
...
* lower retries
* comment
old-commit-hash: 9acc55861c
2 years ago
Adeeb Shihadeh
66adafe850
radard: remove sleep for cars without radar ( #31467 )
...
* radard: remove sleep for cars without radar
* fix
* update refs
old-commit-hash: 6f905ed979
2 years ago
JJeonbear
1f833f2ec5
Ioniq 5 2022 AWD FWD camera update ( #31322 )
...
* Update fingerprints.py
Update IONIQ5 fwdCamera
* Update fingerprints.py
* Update fingerprints.py
old-commit-hash: beab6e8658
2 years ago
Shane Smiskol
1f67acfed9
test models: more examples in CI ( #31444 )
...
* more examples
* how is it so fast?!
* 500
* is there a hypothesis cache?
all
* Revert "is there a hypothesis cache?"
This reverts commit e628ba73d5b639e36f95df0ab9049697b34a58b8.
* same as jenkins
old-commit-hash: 9479686fa3
2 years ago
Shane Smiskol
b167e32395
Mazda: fix potential standstill panda mismatch ( #31449 )
...
* repro mazda standstill mismatch
* fix mazda standstill mismatch
* clean up
old-commit-hash: b163c1f255
2 years ago
Shane Smiskol
87076be5d7
Toyota: fix high driver torque LKAS fault regression ( #31448 )
...
one latactive
old-commit-hash: 136dc0313a
2 years ago
Shane Smiskol
c88a676bd9
Revert "Hyundai CAN-FD: Panda safety config assignments cleanup ( #29733 )" ( #31443 )
...
This reverts commit 2bfad873b1e2d314c0ea994dd6680dfb61efdead.
old-commit-hash: cff1ad9dd3
2 years ago
Eric Brown
b7ee831a51
GM: Remove Equinox from dashcam mode ( #31257 )
...
* Remove Equinox from dashcam mode
* Add fingerprint
* Set moving backward only if not moving forward
* Bump opendbc
* Update moving backward definition
* Update docs
* Bump opendbc
* REVERTME: Add assert statement at Shane's request
* REVERTME: check unsupported and fault status
* Revert "REVERTME: check unsupported and fault status"
This reverts commit 5a0ebad66c4dcd33ee4eb5d0c5d3f036244653e2.
* Revert "REVERTME: Add assert statement at Shane's request"
This reverts commit b4b885eb11ad3079a84033f20f670cc905113bb9.
* Use or
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Add comment
* Add test route
* Use newer fingerprint
* Emtpy commit to rerun CI
* Empty commit to rerun CI
* Update selfdrive/car/gm/fingerprints.py
* little more
* remove from non-tested
* update
* add to releases
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 416e8253ec
2 years ago
Shane Smiskol
4970ae9ced
Toyota: log engine RPM ( #31423 )
...
* Update carstate.py
* 42 is safe
* mirai
* we hit this after 30 mins: Exceeded message traversal limit. See capnp::ReaderOptions.
* too easy to write this bug, no need to be generic yet
* Update ref_commit
old-commit-hash: 04ada8e436
2 years ago
Justin Newberry
cc42100cce
FCA: car port for Dodge Durango 2021 ( #31015 )
...
* dodge durango
* add dodge
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* add comment
* more exact
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 78e4508e3b
2 years ago
Shane Smiskol
fd90b74ea1
Ford: log traction control status ( #31424 )
...
* not sure which to use
* cluster changes a bit earlier andis already used for nonAdaptive
old-commit-hash: cabde52ac6
2 years ago
Shane Smiskol
54a012c30d
[bot] Fingerprints: add missing FW versions from new users ( #31414 )
...
Export fingerprints
old-commit-hash: 22c966d8fd
2 years ago
Shane Smiskol
2b7c8650b2
[bot] Fingerprints: add missing FW versions from new users ( #31403 )
...
Export fingerprints
old-commit-hash: 3cf7b05a30
2 years ago
Justin Newberry
5d424abf32
Subaru: add message for angle LKAS ( #31402 )
...
add angle
old-commit-hash: 33e6158d9b
2 years ago
Shane Smiskol
1210e93378
[bot] Fingerprints: add missing FW versions from CAN fingerprinting cars ( #31396 )
...
Export fingerprints
old-commit-hash: 743c418a6c
2 years ago
Adeeb Shihadeh
b4c03185d4
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
old-commit-hash: daceb171bd
2 years ago
Shane Smiskol
87f0f0f7f9
[bot] Fingerprints: add missing FW versions from new users ( #31395 )
...
Export fingerprints
old-commit-hash: 8416331c15
2 years ago