nopenpilot/selfdrive
Shane Smiskol 31a6b141d6
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 04d9817e9d.

* 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 93c3fce1d3.

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>
2022-03-16 21:27:05 -07:00
..
assets revert to old red alert sound for now (#23182) 2021-12-09 15:50:49 -08:00
athena C3: detect metered Android hotspot (#23734) 2022-03-09 11:36:52 +01:00
boardd move pandad to boardd/ (#23958) 2022-03-13 21:21:30 -07:00
camerad Rename RGB vision streams to match YUV streams (#23961) 2022-03-14 14:03:54 -07:00
car Docs: auto-generate supported cars documentation (#23762) 2022-03-16 21:27:05 -07:00
clocksd clocksd: handle EINTR on read() (#21892) 2021-08-10 14:42:46 +02:00
common C3: detect metered Android hotspot (#23734) 2022-03-09 11:36:52 +01:00
controls Add angular rates carcontroller packet (#23980) 2022-03-16 21:12:11 -07:00
debug add table support 2022-03-10 17:54:13 -08:00
hardware thermald: use named thermal zones (#23936) 2022-03-14 14:45:50 -07:00
locationd locationd: Commissue fix (#23951) 2022-03-15 14:40:29 -07:00
logcatd logcatd_android.cc: fix repeating the same messages (#23713) 2022-02-05 16:02:45 -08:00
loggerd C3: detect metered Android hotspot (#23734) 2022-03-09 11:36:52 +01:00
manager move pandad to boardd/ (#23958) 2022-03-13 21:21:30 -07:00
modeld DM: more precision running on DSP + e2e outputs (#23900) 2022-03-15 19:02:21 -07:00
monitoring DM: more precision running on DSP + e2e outputs (#23900) 2022-03-15 19:02:21 -07:00
proclogd enable wshadow (#22756) 2021-11-02 17:08:53 +01:00
sensord Make BMX055 optional if MMC5603NJ present (#22698) 2021-10-26 17:43:33 +02:00
test Add angular rates carcontroller packet (#23980) 2022-03-16 21:12:11 -07:00
thermald thermald: use named thermal zones (#23936) 2022-03-14 14:45:50 -07:00
ui Rename RGB vision streams to match YUV streams (#23961) 2022-03-14 14:03:54 -07:00
__init__.py selfdrive/*.py 2020-01-17 11:03:42 -08:00
logmessaged.py log ERROR messages in qlogs too (#23425) 2022-01-06 15:30:04 -08:00
rtshield.py Add type hints, small cleanups (#21080) 2021-06-03 12:21:04 +02:00
sentry.py sentry improvements (#23627) 2022-01-26 11:44:10 -08:00
statsd.py Add more type hinting (#23595) 2022-01-21 15:11:16 -08:00
swaglog.py swaglog.py: respect LOGPRINT env variable (#22950) 2021-11-18 16:05:06 +01:00
timezoned.py Add More Types for mypy (#23268) 2021-12-28 18:07:00 +01:00
tombstoned.py sentry fixups (#23249) 2022-01-14 15:25:16 -08:00
updated.py Add More Types for mypy (#23268) 2021-12-28 18:07:00 +01:00
version.py statsd: fix crash if there is no git repository (#23775) 2022-02-16 14:30:54 +01:00