Eric Brown
7f916f2e9d
Add missing fingerprint migration for Escalade ESV ( #32282 )
...
Add fingerprint migration for CADILLAC ESCALADE ESV PLATINUM 2019
2024-04-22 18:21:51 -07:00
Shane Smiskol
16bb4a9ccd
Volkswagen: combine platforms with common chassis codes ( #32147 )
...
* fix curb weight for Ateca to match Leon better
https://www.auto-data.net/en/seat-ateca-i-1.6-tdi-115hp-start-stop-23096
https://www.seat.com/content/dam/public/seat-website/car-shopping-tools/brochure-download/brochures/ateca/cars-specs-brochure-KH7-NA-december-2018.pdf
* combine leon and ateca
* combine fw
* migrate
* great, both use same torque params
* scala and kamiq
* remove duplicates
* fix
* fix!
2024-04-09 21:00:56 -07:00
Justin Newberry
1c0161589b
migrate lowercase mock ( #32074 )
...
* add mock migration
* fix
* this
2024-04-01 15:27:29 -07:00
Shane Smiskol
a1d538b4eb
Migration dict: add missing platforms ( #32046 )
...
missing platforms
2024-03-28 20:41:49 -07:00
Shane Smiskol
d6d8e45931
Simplify cabana dbc dict ( #32041 )
...
* so needlessly complex!
* inside generate_dbc_json
* this is good
* clean up!
* spaces
* so much clean up
2024-03-28 16:26:16 -07:00
Justin Newberry
1f424bf7dc
cabana: migrate dbc map ( #31920 )
...
* fix cabana
* within platform map
2024-03-20 10:57:41 -07:00
Justin Newberry
b0eb3ba4f4
cars: platform enums -> prepend brand name ( #31927 )
...
* with brand name
* migrate
* Fix
* fixes
* more
* passes
* fix
* fix the doc
* collects
* these too
* more stuff
* body exception :/
* more
* hardcode i guess
* update ref
* toyota
* more toyota
* and here
* final!
* fix notebooks and ccs
* move this here
2024-03-19 17:29:50 -07:00
thenhnn
489528dcae
PlatformConfig: automatically get platform_str from the enum name ( #31868 )
...
* get platform_str from the enum name
* fix tests
* add migration table
* remove impossible todo
* Add link to PR in MIGRATION table
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN
* rename RAM_HD to RAM_HD_5TH_GEN
* rename references to RAM_HD and RAM_1500
* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC
* remove MOCK from fingerprints.py
* change hard-coded car model in test_can_fingerprint.py/test_timing
* migration
* update ref
* space
* prius
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: justin newberry <justin@comma.ai >
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com >
2024-03-19 11:16:02 -07:00
Shane Smiskol
de7f14dbd7
Fingerprints migration dictionary ( #31838 )
...
move migration to op!
2024-03-12 11:50:26 -07:00
Shane Smiskol
426072bd87
fix bad CAN fingerprint type ( #30809 )
...
fix bad wrong type
2023-12-19 20:30:42 -08:00
Justin Newberry
adca970ca9
cleanup fingerprinting typing ( #30801 )
...
* wip
* undo + add can fingerprints
* add can fingerpints
* those should go there
2023-12-19 09:41:09 -08:00
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00
Shane Smiskol
25ac9e2148
fingerprints: prevent global from changing ( #29438 )
...
prevent _FINGERPRINTS from changing
2023-08-16 19:52:41 -07:00
Shane Smiskol
3fbbb7f4b0
Common interface attribute function ( #24731 )
...
* replace get_attr_from_cars with get_interface_attr
* and not combining the brands
* explicit check
* minimize diff
* values
2022-06-03 04:16:39 -07:00
Ewout ter Hoeven
332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
2021-12-24 11:18:39 -08:00
Ewout ter Hoeven
55390d273f
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
2021-12-16 14:58:17 +01:00
Jason Young
182b00896c
Update CI tests for CAN fingerprinting deprecation ( #21043 )
...
* Start refactor of CI tests for FPv1 deprecation
* Fix test_car_interfaces
* Touch up comment
* Smaller diff
2021-05-26 14:02:42 -07:00
Adeeb Shihadeh
e5575a6a4c
Remove ignored CAN fingerprints ( #20994 )
...
* VW is all FW
* fix test
* toyota
* honda
* hyundai
* remove IGNORED_FINGERPRINTS
* toyota
2021-05-24 13:50:10 -07:00
Willem Melching
1162041ea6
Only send FW query requests for the right brand ( #1546 )
...
* only send requests for the right brand
* this works on sonata
Co-authored-by: openpilot laptop <laptop@comma.ai >
2020-05-20 13:02:24 -07:00
Willem Melching
9e6e1cba56
Fingerprint rav4 hybrid tss2 only using firmware versions ( #1084 )
...
* fingerprint rav4 hybrid tsss only using firmware
* remove print statement
2020-02-12 12:59:38 -08:00
George Hotz
71ead9adea
selfdrive/car
2020-01-17 10:58:43 -08:00