Commit Graph

44 Commits

Author SHA1 Message Date
Shane Smiskol bf8262394f Docs: auto-generate supported cars documentation (#23762)
* make CAR class enum, and values.py formatting

* Revert "make CAR class enum, and values.py formatting"

This reverts commit 04d9817e9d5d6ab5c027754018fc445f2cd3067a.

* stash

* add supported packages and model years

* don't change model years in fps

* move Lexus to info dict and make int enum

* remove sometimes wrong model years from name string

* use enum names

* convert Honda's values

* nice names

* use name

* GM

* Mazda, Ford

* Hyundai: WIP

* finish Hyundai

* fix

* Nissan

* Subaru

* Tesla

* formatting is for another PR

* Chrysler: todo: unify the Pacificas?

* do volkswagen

* this isn't a zoo

* skip enums for now

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

* set All

* temp cars

* auto-generate CARS.md

* update type hinting

* add generated file

* add longitudinal star to cars that support disabling radar

* add TODO

* add notes

* add min_steer_speed exception for hatchback

* add minimum steering speeds

* Add exceptions and run generator

* Missing Telluride

* fix Prius v

* missing Prius Prime

generate

* start to convert years to strings

* Fixup Hyundai

* convert year sets to strings

* handle this

* missing S3

* Fix and add all missing cars (verified with script

* Supported Package fixes

* add get_tiered_cars

* Check radarOffCan for removing most Honda from op long

* Update for Avalon stop and go update on master

* Fix missing car params

* add my temporary script i'm using to verify new generated DBC

add my temporary script i'm using to verify new generated DBC

* generate with jinja template

* add header and footer

* clean up

* rename

rename

* add exceptions. jinja is nice, but why are its loop indexes starting at 1?

* add list of known car videos

* See how these look

* Add nice table formatting for column description

Add nice table formatting for column description

* generate

* consisten br tag

* small clean up

* temp

* Move car videos into CarInfo

* add new copy and rename to footnotes

* Revert "temp"

This reverts commit 93c3fce1d3ab406f80cbfb9c00c2237d109c7846.

clean up

* generate

* replace with svg

* simplify a bit

* add footnotes to CarInfo

* move some variables to docs.py

* Add video link for Acadia

* Make Footnote an enum so we don't use random ints

* static analysis fixes

* move to CARS.md

* fix last missing footnote

* add to release files

* rm test file

* use svg

generate

* fix sorting

* not needed

* not sure how this got here

* remove Sedan/Couple and add Diesel footnote

* finish todos

* move make specific footnotes to selfdrive/car/*/values.py

rename

* change to zeros

* align bottom to center

* Apply some suggestions

* Update selfdrive/car/mock/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update copy

* Try headers + bullet points

* somehow better

somehow better

* finish updating copy

* move template and add links to sups

* stars shouldn't be clickable

that didn't work

try this

try this

this is better

* add type hints to CarInfo

add more type hinting

* optional needs a type and any covers all (?)

* move good steering torque to */values.py

* dataclasses are much nicer than attr

* use tuple

* Update docs/cars.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* suggestions

* suggestions

* suggestions

remove

* clean up a bit

* add more type hints

* center stars and remove hardcoding from template

* update copy

* Add test

* Fix types

Fix types

* add supported cars documentation test

* clean up

* replace with docs_definitions

* Add back Footnote enums

* Ah so these are like fstrings!

* Update selfdrive/car/CARS_template.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/car/docs.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update year from master merge

* Fix longitudinal star from merge

* sort properly stars by Column enum

* clean up

* HKG: Sorry guys

* Prius V gets FSR star, like others

* Update selfdrive/car/docs.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* update comment

* No Prius docs change for now

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 31a6b141d6c37d7241146a9dc7b3a10313abdc40
2022-03-16 21:27:05 -07:00
Adeeb Shihadeh 597535c014 linter: don't allow implicitly concatenated strings (#23513)
* linter: don't allow implicitly concatenated strings

* fix hyundai
old-commit-hash: 2c94f155840b49639b8bf1ec996d99e268fa9a52
2022-01-13 14:19:38 -08:00
Adam Boeglin 841091d6d7 Added fingerprint for 2018 Jeep Trackhawk (#21976)
* Added fingerprint for 2018 Jeep Trackhawk

When connecting the Comma3 to my Trackhawk with the latest jvePilot beta, it showed the error "Car Unrecognized: Dashcam Mode".

Obtaining this fingerprint resolved the issue. I don't know if it works with any other model years.

* merge fingerprints

* add missing vals

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b5daca388199b8d295f086a769dcaded471d4252
2021-09-02 15:12:43 -07:00
Erich Moraga c7eef35429 Add PACIFICA_2020 fingerprint (#21106)
old-commit-hash: 66035ccac9fa2e27248663b3e2a48ac986882074
2021-06-18 15:52:58 -07:00
Adeeb Shihadeh d67b194790 chrysler pacifica 2020 fingerprint values
old-commit-hash: c736b7e5bb928b42c22a9acf0fb33ff43ae3c0cc
2021-05-25 14:23:05 -07:00
TheWizard1328 50bd2c14f5 Chrysler Pacifica Fingerprint (#20935)
* Update values.py

* Update values.py

* Update selfdrive/car/chrysler/values.py

* Update values.py

Chrysler Pacifica 2020 fingerprint values added.

* Update values.py

* Update values.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ed0c8a770f99d6b8893c0b90cb6e7ba62effc3cc
2021-05-19 20:02:08 -07:00
vanillagorillaa bacd271a98 2021 Pacifica Hybrid values (#20380)
* 2021 Pacifica Hybrid values

* combine all 2019 PacHy fingerprints into one

* Revert "combine all 2019 PacHy fingerprints into one"

This reverts commit a08ede166608ef2b51ab54f2aebbaf0b550e8db1.

* this one isn't needed, fully contained in one below with the new values
old-commit-hash: 4a5e43cdcc21b8986974fe4baa8bb65a2c9c6849
2021-03-31 00:57:48 -07:00
vanillagorillaa 0e22a0ee03 2021 pacifica hybrid - additional fingerprint values (#20164)
* 2021 Pacifica Hybrid

* this weird space always gets added

* one more space
old-commit-hash: d1b651af7d8eeb8141f53dd965ff9911d1e09df6
2021-02-25 22:20:23 -08:00
vanillagorillaa eb847854ea Chrysler Pacifica: additional 2020 Fingerprint values (#20032)
* Additional 2020 Values

* space
old-commit-hash: 4e99b4c2324074afe3f78c409a3d198dbde3c632
2021-02-07 17:36:34 -08:00
Chris McCammon 4e8130235d 2021 Pacifica Hybrid fingerprint (#19846)
* Merge fingerprint of 2021 Pacifica Hybrid from b66bf349eecf2fda

* add route information

* remove comment
old-commit-hash: 332e01ee91d771e577befd51f95b071eaefe2f7e
2021-01-20 13:48:48 -08:00
vanillagorillaa 47d58291f1 Pacifica Fingerprint Addition (#19750)
* Pacifica: Should fix dashcam mode when remote start

* extra indent
old-commit-hash: f005fd07967e0a3a77d6171d28f4ce8bb9480b60
2021-01-15 13:40:23 -08:00
Willem Melching 4daa6f05cf Move all CarControllerParams into values.py (#19663)
* toyota

* use scale from values.py

* nissan

* subaru

* honda

* gm

* toyota combine into CarControllerParams

* nissan refactor

* chrysler refactor

* mazda refactor

* hyundai refactor

* subaru refactor
old-commit-hash: e4cf43c6fcc2f442318df815fdc38fb26a74bdb7
2021-01-06 11:20:44 +01:00
Adeeb Shihadeh f25cec394e grey panda is unsupported (#2458)
old-commit-hash: 47c21f10f598639307994392e96f4d9293b295c7
2020-11-03 19:56:25 -08:00
Adeeb Shihadeh 39d98d3d2d Car cleanup (#1924)
* cleanup car code

* more pruning

* little more

* less pylint disables

* radar stuff

* fix

* udpate refs

* fix honda bosch

* fix test
old-commit-hash: 892e1162c0bfa0970cbe262452a70745eccb8ba6
2020-07-25 15:07:27 -07:00
Adeeb Shihadeh 5913405951 2020 Jeep Grand Cherokee fingerprint
Squashed commit of the following:

commit a1a14048375b4d9c9181b2797621e999738104f8
Author: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Date:   Mon Jul 13 16:30:54 2020 -0700

    cleanup

commit cf7d4bb162c5018a05b81dd83f124b3ef7826714
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 21:08:59 2020 -0700

    added missed value

commit b91af6eef1b5d966cf4342475a37129ddb46e8de
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Sun Jul 12 20:52:41 2020 -0700

    Update values.py

commit d3d564fc76db19eae1464d6d938fdc43aa9b6d4e
Author: Tunder (Chris in RL) <34691234+Tundergit@users.noreply.github.com>
Date:   Fri Jul 10 00:23:35 2020 -0700

    add support for 2020 Grand Cherokee

old-commit-hash: 1ef3b2095564518cd16190f1f4ed2c2d3030e7a2
2020-07-13 17:00:27 -07:00
VirtuallyChris 498cd9f47a Add missing fp value for Jeep Grand Cherokee 2019
old-commit-hash: 59cbaf88ef2d1477948bbd4f21c6f8398e38be74
2020-06-24 16:11:59 -07:00
Adeeb 9027018368 Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a0c9fb698c8248a5c28c66c2987ae65
2020-06-03 16:13:34 -07:00
Adeeb Shihadeh 9823f1164c enable flake8 E303: too many blank lines
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh be0b43f339 enable flake8 E231: missing whitespace after comma
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Tunder (Chris in RL) 6300cd1a82 add missing 2020 pacifica value (#1551)
old-commit-hash: ee371919c1fd2866a2f76344083cc24dc23a0398
2020-05-22 10:37:05 -07:00
donlbooth 0631514fe6 Adding fingerprint for Jeep Grand Cherokee 2019 Trailhawk (#1354)
* Adding fingerprint for Jeep Grand Cherokee 2019 Trailhawk

* Update values.py
old-commit-hash: 912c3ab879410717af2cd0c1e0eb57210322a363
2020-04-13 16:17:58 -07:00
Drew Hintz 2640a17660 add Jeep GC 2019 USA fingerprint from al_nyc (#1339)
* add Jeep GC 2019 USA fingerprint from al_nyc

* merge Jeep GC 2019 USA fingerprint with existing fingerprint
old-commit-hash: 756dbd8e3b56cb378c90c59a13fd056408280292
2020-04-10 14:15:50 -07:00
Willem Melching bb5e87efda 2020 Chrysler Pacifica (#1297)
* 2020 pacifica support

* Update readme
old-commit-hash: 746f7ed9b1e5756feb24938ff8287ad075c22b5b
2020-03-31 15:47:49 -07:00
rbiasini 406d2d0d32 Fingerprint cleanup (#1231)
* upd panda and opendbc

* Delete unnecessary fingerprints, fix RavH occasional test issue, re-enable test error for overlapping fingerprints within the same candidate
old-commit-hash: 093d6cb5ffe086f2c76213367cdbad497bdc5719
2020-03-11 14:32:03 -07:00
Willem Melching 440e071766 Add missing fingerprint values for Pacifica
old-commit-hash: a475b1269d930d23dd8f424e0b4a7cb23c9507cd
2020-02-25 10:59:16 -08:00
Willem Melching 210fac164d Add Chrysler Pacifica Hybrid fingerprint
old-commit-hash: 149d079aafb0c753bbb08966c2e1a380cced41c7
2020-02-24 13:51:06 -08:00
Willem Melching 2d44c22265 Merge 2019 and 2020 Chrysler Pacifica Hybrid (#1142)
* Merge 2019 and 2020 Chrysler Pacifica Hybrid

* fix carcontroller

old-commit-hash: 85e8bb90d4fa657c7adde4ab32023f4844a53775
2020-02-20 16:23:10 -08:00
Willem Melching f4b936dc2f Add fingerprint for 2019 Chrysler Pacifica Hybrid
old-commit-hash: f26f085a368edd50d93f0e8117f4cc9d75a4284b
2020-02-14 15:35:39 -08:00
Drew Hintz f5722f8353 support for Chrysler Pacifica 2020 Hybrid (#1021)
* support for Chrysler Pacifica 2020 Hybrid
Thanks to Benson in Discord.
Example segment: 8190c7275a24557b|2020-01-29--08-33-58--7

* Add relevant route to selfdrive/test/test_car_models.py

* fix segment test name

old-commit-hash: 5aff2b68851e3a65a98bcd075945793c14f6e7c5
2020-02-03 09:17:45 -08:00
Adeeb cf26bb52b5 Clean up ECU redundancy in selfdrive/car/* (#963)
* clean up ecu redundancy in selfdrive/car

* clean up gear parsing

old-commit-hash: dafdb79db2f70bc7a4050b4d28dd1886124fb13d
2020-01-18 23:35:10 -08:00
George Hotz 9ef085076b selfdrive/car
old-commit-hash: 71ead9adea44410b281f0ff1a9c07080d0bada47
2020-01-17 10:58:43 -08:00
George Hotz 81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3878e1d8c8a9db600dd44d188f02c87
2020-01-17 10:02:52 -08:00
Vehicle Researcher b713eae9f8 openpilot v0.6.6 release
old-commit-hash: d7f0b402a878b185dbf65d0a7819f5959dd9b8c2
2019-11-04 15:13:52 -08:00
Vehicle Researcher 89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28bc737f50e096b21dea2dd2d6d4a1621
2019-10-09 18:43:53 +00:00
Vehicle Researcher 02cedeadd9 openpilot v0.6.3 release
old-commit-hash: d5f9caa82d80cdcc7f1b7748f2cf3ccbf94f82a3
2019-08-13 01:36:45 +00:00
Vehicle Researcher 3835061760 openpilot v0.6.2 release
old-commit-hash: e90c41c576b4630f3039be671ad5f203a865f4c8
2019-07-30 02:27:48 +00:00
Riccardo 55233a943c Chrysler Pacifica 2018 Hybrid: fix fingerprint
old-commit-hash: be020bdedb231a6bcb5b51ead95eb634b5a13afc
2019-07-02 15:24:51 -07:00
Riccardo 257d290858 Chrysler Pacifica 2018 Hybrid: add fingerprint
old-commit-hash: 1e77f2482cb18fa12a47a41a17e8a9a086e76213
2019-07-02 11:45:24 -07:00
Vehicle Researcher 0932b367bd openpilot v0.5.12 release
old-commit-hash: 3f9059fea886f1fa3b0c19a62a981d891dcc84eb
2019-05-16 13:20:29 -07:00
Drew Hintz df649841fc 📋📷 2019 Chrysler Pacifica and 2019 Jeep Grand Cherokee support (#590)
* 2019 Chrysler Pacfica and 2019 Jeep Grand Cherokee support, along with likely support for arbitrary models.
This is done by copying most values from the stock LKAS camera which is active with https://github.com/commaai/panda/pull/177

* No longer send LKAS_HEARTBIT because Panda now forwards it for us.

* Pacifica Hybrid 2018 combine fingerprints, add 808: 8

* panda chrysler: forward bus 0 to bus 2
copy of Panda commit: https://github.com/commaai/panda/commit/104950264473274e0012a39b7ea2d1468ef46d8d

old-commit-hash: 1efa3f0ebae15bad11ad33c910c9229c9b52be2c
2019-04-04 22:48:37 -07:00
Vehicle Researcher 30f7a33535 openpilot v0.5.10 release
old-commit-hash: f74a201edcce4a81ae9e1ba388039a982a68f2fa
2019-03-26 01:09:18 -07:00
srpape d99987c514 Fix 2018 volt fingerprint (#561)
Update fingerprint and remove offending PACIFICA_2018 match
old-commit-hash: 26cc816c1b22aada4b4e2257ab4fa7a242a005a7
2019-03-09 18:17:20 -08:00
Nigel Armstrong 1341ee772e Chrysler updates (#537)
* Chrysler updates

* Update openDBC

old-commit-hash: 15fa6664c0cd6dee2cf9c3ef7e47c65b39a2ead8
2019-02-21 23:23:40 -08:00
Vehicle Researcher 3bde47d556 openpilot v0.5.8 release
old-commit-hash: b967da5fc1f7a07e3561db072dd714d325e857b0
2019-01-23 15:34:52 -08:00