Commit Graph

105 Commits

Author SHA1 Message Date
Shane Smiskol 38cea1c0f1 Ram 1500: fix temp steering fault from incorrect steer speed (#30280)
starts with 68
old-commit-hash: 3707bbadef13997a15500f8c77fad9e625fd3e6f
2023-10-18 04:47:21 -07:00
Justin Newberry 58936aa0cb Use StrEnum for car classes (#30114)
* str enum

* import sort

* fix car helpers

* fix that

* fix static analysis
old-commit-hash: 6ae465e4af76e21c6a31c541f37555f6bd0727fc
2023-09-30 17:15:34 -07:00
Adeeb Shihadeh 16ec56398c 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
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Justin Newberry 3ee0786de3 CI: Pylint to ruff (#29294)
* pylint to riff

* pylint to riff

* pylint to riff

* revert more

* undo exclude removal

* exclude tinygrad

* set line length

* pylint exclusions to ruff

* same excludes as old linter

* fix tools QA

* remove unrequired check

* revert linting third_party

* ignore e402
old-commit-hash: 7fdd9fc37c1c5febf1cd3dc86441ebf0dec7f370
2023-08-09 13:26:54 -07:00
Justin Newberry 7b677910df Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168614f851087adab2d7f766425922f64
2023-08-08 17:13:35 -07:00
Shane Smiskol 8b08ba1166 Chrysler: add new diagnostic address for Jeep Grand Cherokee 2016-18 (#29235)
not a standard diag address, or anything we query. only 2 messages

900dfa83b4addfe6|2023-07-31--08-33-51
old-commit-hash: fffc4ae446a8e4a9cbbeb04c1eea0b4a39f72183
2023-08-04 14:29:00 -07:00
Vincent Wright f5ae680a5b Added new 2023 Ram 1500 FW (#28758)
* Added new 2023 Ram 1500

dongle id: 960a6270ac410199

* duplicate

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f0b65d3e928b12fbefcb73d60dbdeabf5b1f7709
2023-06-30 12:57:12 -07:00
Maxime Desroches 585921ffad car: use default_factory for mutable fields in dataclasses (#28669)
* call me

* copy
old-commit-hash: e85acfa365dea5fc4b004664ef2df120d05d0022
2023-06-27 16:48:43 -07:00
Shane Smiskol 703550e855 Chrysler FPv2: rename Ecu.hcp to Ecu.hybrid (#28629)
rename hcp to hybrid
old-commit-hash: d42231b51ab80143289241729b1ae03c046075a9
2023-06-22 01:27:15 -07:00
Erich Moraga ace8d7433b Add several missing RAM_1500 firmwares (#28515)
`ProjectZ3d#8762` 2023 RAM 1500  DongleID|route 4e0a5220533d9a86|2023-06-11--19-45-36
old-commit-hash: 9444df4c80f553c5eeac1ceb8154cfb42dcaf2b8
2023-06-12 15:18:35 -07:00
Vincent Wright a197a2ab7f Added additional Firmware for Ram 1500 (#28392)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 0d51a64bf2c7a97e91a8d33fe05d13bd48c99a37
2023-06-06 15:58:46 -07:00
Vincent Wright 51cdaa6cc3 More missing FW for the Ram 1500s (#28397)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: ffa10d784adf91d21bacdb5d3b51a523ceeb1c8f
2023-06-06 15:57:41 -07:00
Vincent Wright a169d514ef Ram 3500 Firmware (#28411)
* Ram 3500 Firmware

Dongle ID: d9855ccd97606ca8

* fix sorting

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: e8ccbd22dd3ae1b7ee53ebe0ca766eb639a15576
2023-06-05 14:04:30 -07:00
Cameron Clough 02e296f8c4 Chrysler: fix FW sorting
old-commit-hash: a6a9b65121ca7a08c3e05e3cdb542d895b0e5764
2023-06-05 13:45:03 -07:00
Shane Smiskol 31c1e66a01 car docs: document parts of parts (#28292)
* more stuff

* even more

* all parts func

* start to use it

* include self in parts

* use car_parts_new

* not used

* more usages

* remove get_parts

* remove more commented stuff

* remove iter

* clean up some more stuff

* more

more

* ford

* optional

optional

* nissan

* use new classes

* fix tests

* fix

* order

* no more required

* connector

* CARS.md

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 024abe6455d44c7616ca7c694643c5324d0d371c
2023-05-31 21:30:50 -07:00
Maxime Desroches 734b6481b7 car docs: list all needed hardware (#28212)
* generic car parts

* better carparts

* add part type

* more tests

* multiple enums

* unit tests

* just check isinstance

* better name

* remove _connector suffix

* remove those hyundai lines

* remove default arg

* Revert "remove default arg"

This reverts commit 139650a3b6b94358c3b9b12bb5fbe0a326d7abad.

* cleaner code structure

* use fingerprint

* review

* abstrac data class + common

* no more dataclass

* conflict

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9f5f8b603cf69b06c4804632268491cf38cfac7e
2023-05-22 10:17:33 -07:00
Maxime Desroches 4626add29c add harness kit content to the doc (#28139)
* add harness kit content to the doc

* parts as enum

* nissan

* merge column

* rename column

* scaling

* scaling again

* 500px

* align text

* more px

* add style

* more width

* more

* more

* smaller text

* make all text smaller

* prev width

* default list

* remove hidden a ref

* try to remove again

* revert

* replace harness with harness_kit

* try fix

* cleaner

* center everything

* make pylint happy

* allow more than 1 of each parts

* use copy module

* review

* testing spacing

* revert

* bigger text

* formating

* split harness col lines

* remove print

* resolve

* rename to view

* keep formating in template

* simplify

* add unit test

* more generic way

* better

* harness connector only

* comment

* review

* put back harness parts

* missing dash

* too much space

* don't reload when clicking

* shorter comment

* only last line

* generate

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 70677fe5fc044bff0ea99eab6bba5a6d02d5a85f
2023-05-15 15:33:54 -07:00
alkuwari007 86892b83b7 FCA: Ram 1500 Rebel 2022 FW versions (#28155)
* Ram 1500 rebel 2022 ECU version update

* rm line

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b28221d3461b094418288eefd11f9a9530a174c8
2023-05-15 14:11:07 -07:00
Aaron Fields 59a4c6bf17 Chrysler: Pacifica Hybrid 2023 support (#28098)
* Adding 2023 Chrysler Pacifica Hybrid fingerprint.

* Update docs.
old-commit-hash: fd54a1e351077cbd8a99740265440d6972d70cfb
2023-05-04 14:42:46 -07:00
Shane Smiskol bffa466e63 Chrysler: add FW versions for 2019 Jeep Grand Cherokee (#27649)
add FW versions for Jeep 2019
old-commit-hash: 660b9e9718129d80afc0cb3d235fcefb22ba0fc6
2023-03-21 19:16:05 -07:00
realfast 9d281db35e Ram: FW version dump (#27083)
* Add extra firmwares and sort for rams

* Added another ECU

* Update selfdrive/car/chrysler/values.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* Apply suggestions from code review

* sort

* formatting

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: aa4286153a2fb2a003307a15fbcb91ffd05d6ec2
2023-03-20 22:54:55 -07:00
Shane Smiskol 6155af477f Chrysler: add FW for 2019 Ram 3500 (#27636)
* Add 2019 Ram 3500

* wrong ones

* missing EPS
old-commit-hash: 4a844078cd675ca2c75d822f5d776ca8b0b71dbf
2023-03-20 21:39:06 -07:00
Shane Smiskol 8e9185cf01 Chrysler: add FW for 2023 Ram 1500 (#27634)
add FW for 2023 Ram 1500
old-commit-hash: aa0421ffd7dd73976b45635cb62182d66c4f1613
2023-03-20 21:20:35 -07:00
Shane Smiskol cce129691e Chrysler Pacifica 2018: add missing CAN fp (#27576)
new pacifica FPs
old-commit-hash: 4692cf7d1ccc9d76f9c0189ca86c84d784ea85de
2023-03-13 17:07:42 -07:00
Miniz199922 58b501a2eb Chrysler: Add missing FP for 2020 Jeep Grand Cherokee (#27464)
Need to add fingerprint 1538: 8 for my 2020 jeep grand cherokee. Tested and working
old-commit-hash: 437ca99fcd5bddfd2f73701d48919ef4afea3ca3
2023-03-01 16:56:01 -08:00
Shane Smiskol cd6c546791 Chrysler Pacifica Hybrid 2017: add missing CAN FP (#27408)
add missing 840: 8
old-commit-hash: 3c66106539e5aad272c967009e23e4ff8508157c
2023-02-20 18:02:52 -08:00
Adeeb Shihadeh caaa104d64 Chrysler: revert torque tuning (#27327)
* Chrysler: revert torque tuning

* update refs

* update refs + route
old-commit-hash: e3de6b88342f050edc0eb89d65b55de0fe2f1a8c
2023-02-13 16:15:59 -08:00
Miniz199922 76f71a5790 Chrysler: add missing 2020 Jeep SRT address (#27312)
* 2020 Jeep srt fingerprint

Please update to include my 2020 Jeep srt

* Update selfdrive/car/chrysler/values.py

* Revert "Update selfdrive/car/chrysler/values.py"

This reverts commit 83fc38acbf7e7b257713a0a85096d7d34a6e0c90.

* Update selfdrive/car/chrysler/values.py

* rm new fp

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: e219da29b28807a324af1e9c54a3791d8e295230
2023-02-12 18:55:31 -08:00
Shane Smiskol 418c1318bb Chrysler: remove Pacifica 2018 ICE from tuning blacklist (#27272)
remove Pacifica 2018 ICE from blacklist
old-commit-hash: b2d9a24d99407b3eb3a63b68404f60496c007c02
2023-02-09 11:43:34 -08:00
Vivek Aithal 72f3223951 Chrysler: torque tuning + increased steer rate (#26934)
* increase chrysler steer rate

* use torque control

* update offline values for chrysler, jeep

* bump panda

* add blacklist

* add lag buffer to the torque vals

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d74470252dc9c30dee3fc001d8d6ab4871cb8780
2023-02-08 19:18:36 -08:00
Shane Smiskol e66e4d8af2 Lateral jerk unit test (#25759)
* stash

* more test

* less test

* clean test

* no angle

* add tolerance

* fix gm

fix gm

* test both

* lower some rates on hkg

* stash

* simpler

* bump panda

* Revert "bump panda"

This reverts commit f2137c221145cca723fe6ee3378ba947b7061965.

* only torque

* make kona pass

* duplicate __init__

* move

* half clean up

* half clean up

* more clean up

* more clean up

* fix static analysis

* calculate over 0.5 seconds

* limit to max steer

* type annotation

* calc once
old-commit-hash: aab33b1c5f56eb7ef66f1128c98d45d5340ebc60
2022-12-15 21:52:07 -08:00
Shane Smiskol 890d63840d Chrysler: fix LKAS fault for 2017 Pacifica (#26711)
* gate on FW

* fix

* reverse docs

* fix

* Revert "fix"

This reverts commit a0f2558fba0adc59c70eb92ffb8bd815bf033979.

Revert "reverse docs"

This reverts commit 9a46c517dfa7182f2f30501de801e35f7e1004c4.

Revert "fix"

This reverts commit 7b4d4bd3d2c2216890ea1877d52fdfbd9cec3ed7.

Revert "gate on FW"

This reverts commit 296826e71323e63f8e57b8988e573cef33149022.

* use a flag

* fix

* draft

* clean up

* clean up

* more clear

* comment

* remove
old-commit-hash: a7fb5da6e592cbc8750ae93b733da7d8b0f096aa
2022-12-07 12:04:33 -08:00
Shane Smiskol e06c4b3594 RAM HD: add missing abs FW (#26300)
FW from 8fb5eabf914632ae|2022-08-04--17-28-53 (test route)
old-commit-hash: 39167cccd9a9eb9c0864796196032256ce0c390d
2022-10-31 18:11:18 -07:00
Shane Smiskol b85bf30a7e FPv2: support collecting versions for specific ecus (#25699)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* remove this

* .

* intersection

* print ecus

* shorter

* fix typing

* use config
old-commit-hash: 7e9961b9ac8c8e22197148d3741164c072200d3c
2022-10-13 17:40:07 -07:00
Shane Smiskol 978c84e885 Car docs: more consistent package names (#25797)
* update docs

* Revert "update docs"

This reverts commit a5127198fe8e43ecadb0cbde432773f4da2e212a.

* spell it out

* update docs

* add (ACC) for consistency

* All VW
old-commit-hash: ce9c689bb4f8924d47a9beb264081ed922ce9e91
2022-09-15 16:07:51 -07:00
Shane Smiskol 404a1f4838 Chrysler: query FW versions on bus 0 (#25760)
* try bus 0!

* remove the whitelists

* no gateway
old-commit-hash: 4effa35ef5fdc7dde8777b695e8f3546c559a974
2022-09-13 14:38:06 -07:00
Shane Smiskol ae77b7edc7 FPv2: move car-specific configuration into interfaces (#25711)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* do toyota as an example

* revert

revert

* do chrysler

* do rest

* stash

* much smaller of a diff than the alternative

* remove unused test

* fix tests

* remove brand from Request

* Make StandardQueries class

* add missing_ecus

clean up

* rename file

* unused

* test implemented

* add comment and rename

add comment and rename

add comment and rename

* should be impossible now

* this is a fixme

* rename to fw_query

* rename this too

* and this

* move vin queries to class

* order

* can use p16!

* formatting

* whoops, this wasn't gated on not len(found_versions)

* make this clear

* Standardize manufacturer software version query
old-commit-hash: 0ef6bb48df63fa07609c170b61584a1d3ef8c320
2022-09-09 16:24:29 -07:00
Cameron Clough 2347e913a0 rename esp ECU to abs (#25640)
* rename esp ecu to abs

* bump cereal
old-commit-hash: e9c87daef6534906c728da9a191866926bbfbfe4
2022-09-07 14:25:57 -07:00
Shane Smiskol 386163d09f Chrysler: add missing hybrid ecus (#25606)
* add missing hybrid ecus

* rename to hcp

rename to hcp
old-commit-hash: c7bae57924e81856128d44f124a8e52e5aea2764
2022-08-30 23:33:35 -07:00
Shane Smiskol 5a90c01ec9 Chrysler: add engine-specific FW request for some cars (#25503)
* Try to get Chrysler engine FW

* try this

* Get engine FW for certain Chrysler

* Add our Ram's engine FW

* better name

* no whitelist

* engine and transmission only
old-commit-hash: 08510e2b0a77a2adab90c24c5f560b7a0e3816f7
2022-08-25 11:44:57 -07:00
realfast 34a61840f1 Ram 2500 + 3500 HD support (#25372)
* Ram HD Init

* Update selfdrive/car/torque_data/override.yaml

* Revert FW for 1500

* little cleanup plus test route

* bump panda

* revert 1500 changes

* bump panda

* same error max

* dashcam + cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ab227027c339f6169b20e17454ca40afe8b375fd
2022-08-11 15:14:18 -07:00
Jason Young eba17f38b7 Chrysler: Correct ECU label for DASM (#25379)
Chrysler: Correct ECU label for 0x753
old-commit-hash: ef78641b6f9dcd203f493cbeab89639e5cc8e63e
2022-08-06 15:16:32 -07:00
Shane Smiskol c0cf3a0735 Ram 1500: add harness (#25376)
Add Ram harness!
old-commit-hash: e05cfd21000d6a8a14ec26deddefde7e89528c84
2022-08-05 16:29:59 -07:00
Jason Young 1b2eb30251 Chrysler: Add legacy FP for 2017 Jeep Grand Cherokee (#25362)
old-commit-hash: 00ee6da40a9b021077e07209ddb14d21aacd2565
2022-08-04 11:02:01 -07:00
Shane Smiskol 537d42c234 Prepare for new supported vehicles webpage (#25021)
* add well maintained footnote

* stash

* some updates for the website

* one extensible sort function, pass sort function into template, continue to use "openpilot ACC"

* use items

same

* return a final dict

* Fix descriptions

* Required

* Add detail sentence

* Make string packages into namedtuple

* add temp year parsing

* revert this

* one unified class like harness

* fix static analysis

* Fix body

Fix body

* Make specifics strong

* remove years

* Make Camry footnote more clear

* Revert this too

* Add notCar text, fix steer speed > enable speed (remove comma, no speed mention)

* fix missing years

* group_by_make

* Use full package text

* Only use full package text

* Check car name if notCar, fix imports

* add_years no longer needed, remove 'with Stop and Go'

* fix that

fix that

fix that

* Exception for Nissan and Subaru

* Adjust DSU footnote text

* Fix speed overrides in sentence, CR-V package imp

* init() was being called multiple times, only need to run once to set row
old-commit-hash: c8a90ef5866888ae5104c4fa9a61299de1879406
2022-08-01 13:26:24 -07:00
Shane Smiskol dc88121f80 Ram 1500: remove harness (#25275)
Update values.py
old-commit-hash: dc1590a9d0a23217ecddf4a6e4d704977d25b181
2022-07-25 10:44:26 -07:00
Adeeb Shihadeh c73371aabc Chrysler: add Ram 1500 FW values (#25266)
old-commit-hash: 10b212dc7ef126f34150cd1c110b804f8cf0f082
2022-07-23 23:25:30 -07:00
Adeeb Shihadeh 9340d0af1b 2021 pacifica is supported
old-commit-hash: 2a5da48a7cd39d5289fbc933d4b89fd75fd453fa
2022-07-18 15:07:56 -07:00
Adeeb Shihadeh 86c7913d23 update compatibility docs with VIN data (#25134)
* start with genesis

* chrysler

* honda

* toyota

* subaru
old-commit-hash: ecac734160f719f59364a637b7cd781460456845
2022-07-12 13:51:25 -07:00
Adeeb Shihadeh 966713810b Chrysler: increase Ram torque rate limit
old-commit-hash: 29c8e5d227eacae36dbc4357bf5328f22668d5ef
2022-07-11 17:26:59 -07:00