Commit Graph

86 Commits

Author SHA1 Message Date
Jason Young
4ca70ea5f9 VW MQB: Add FW for 2021 Volkswagen Golf GTI (#24074)
old-commit-hash: b217c8f623
2022-03-29 20:21:17 -07:00
Shane Smiskol
5cbc382e46 docs: link to footnotes without visible header
old-commit-hash: 7c8e8bfd5f
2022-03-28 16:32:21 -07:00
Shane Smiskol
426a300c21 docs: support for automatically generating website vehicles page (#24020)
* add vehicles.vue template

* add original vue file

* stash

* stash

* clean up a bit

* add template for now

* implement footnotes and tier copy

* no more generator

* convert to 2 spaces

* should work, now onto vue

* does GH handle this html well?

* fix

* auto-generate descriptions and make tiers' maps non-str

* remove old files

* move template specific variable into templates, should be a bit simpler

* js template is simplier too now

js template is simplier too now

js template is simplier too now

* add video links from the nice car_info

* make rows attributes

* clean up

* fix

* remove template

* experiment with video links in GH

add image

how does this look?

fix

* Revert "experiment with video links in GH"

This reverts commit 8375e717b563f7b4ecf009ffae00174de1a0b8e9.

* sort tier_car_info in place

* unused Tuple

* no type check

* fix script
old-commit-hash: 85d8997a8a
2022-03-23 13:42:53 -07:00
Shane Smiskol
8a88db322e Support Toyota Alphard Hybrid 2021 (#24003)
* add 2021 Alphard Hybrid

revert

* fix fp name

* run docs generator

* Add to releases

* test route

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 15368ec3d1
2022-03-20 16:40:25 -07:00
Shane Smiskol
ce4fd26e58 Toyota: Support Avalon Hybrid 2022 (TSS2.5) (#23892)
* Add Avalon Hybrid 2022

* update docs

* set a tune

* add test route

* uploaded route
old-commit-hash: 247b66f4a8
2022-03-19 13:14:04 -07:00
Shane Smiskol
c3693695e5 CARS.md tweaks (#23983)
* CARS.md fixups

* wrong one

* sort footnotes

* Mazda CX-9 has good torque

* Try this

* generate

* yup, os uses native filesystem order
old-commit-hash: 628eecff06
2022-03-17 16:11:03 -07:00
Adeeb Shihadeh
c72a274f04 re-run car docs generator
old-commit-hash: f7d0ddb9a4
2022-03-17 11:56:18 -07:00
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: 31a6b141d6
2022-03-16 21:27:05 -07:00
Jason Young
b6a4467821 VW MQB: Add FW for 2021 Volkswagen Jetta (#23979)
old-commit-hash: 62bb43b7e2
2022-03-16 17:06:42 -07:00
Shane Smiskol
b823d94018 2019+ Avalon: allow stop and go (#23952)
* Avalon actually has SNG

* update readme

* Revert "update readme"

This reverts commit 076561a0578bcc626fd6710bc411330ef13334d4.

* update readme

* fix

* variants as it includes hybrids
old-commit-hash: 156337475e
2022-03-11 19:45:30 -08:00
Jason Young
dd644fcad6 VW MQB: Add FW for 2022 Volkswagen Tiguan (#23913)
old-commit-hash: 7fc1b7dc0a
2022-03-06 10:51:26 -08:00
Jason Young
841db8a94a VW MQB: Add FW for 2017 Audi S3 (#23881)
old-commit-hash: 0502486c16
2022-02-28 14:27:22 -08:00
Jason Wen
2df2e0d476 HKG: Add FW for 2022 Kia Niro HEV (#23863)
* HKG: Add FW for 2022 Kia Niro HEV

* Expand model year
old-commit-hash: 6a072886e9
2022-02-28 11:48:01 +01:00
Willem Melching
78824585b8 CARS.md add 2022 elantra
old-commit-hash: b1091d505e
2022-02-22 11:58:36 +01:00
Adeeb Shihadeh
6cbe5ff2fb docs: fix title typo
old-commit-hash: d468d6e890
2022-02-21 13:30:56 -08:00
Jason Young
149925398e VW MQB: Volkswagen Caravelle T6.1 (#23735)
* VW MQB: Volkswagen Caravelle T6.1

* autogratitude
old-commit-hash: 3553a26d52
2022-02-09 10:30:13 -08:00
Jafar Al-Gharaibeh
5b2973b308 Mazda CX-5 2022 Car port (#23704)
* Mazda CX5 2022 FW

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* CX-5 2022: No lockout and steer down to zero

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* CX-5 2022: No dashcam!

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* CX-5 2022: add to supported cars

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda: stick with 800 max torque for now

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Update docs/CARS.md

* Apply suggestions from code review

* Mazda: set car models where needed

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* Mazda: set minSteerSpeed per car

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* unused

Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>

* cleanup

* Update selfdrive/car/mazda/interface.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 341f5a4ae0
2022-02-04 23:34:37 -08:00
Chris McCammon
c716413cfb GM: remove dashcam only cars from cars.md (#23708)
* remove cars in dashcam mode

* Update CARS.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6a3de9776d
2022-02-04 12:03:27 -08:00
Adeeb Shihadeh
ed3eef90b1 Toyota: Prius V 2017 support (#23636)
* Add Toyota Prius Alpha support

* Fix opendbc link

* Update interface.py

* v

* revert opendbc

Co-authored-by: CT921 <tim.chen242@gmail.com>
Co-authored-by: 【TIM】 <90225659+CT921@users.noreply.github.com>
old-commit-hash: 2240b802be
2022-01-26 22:57:26 -08:00
Erich Moraga
bb50cfa72a Add missing ALPHARD_TSS2 f/w (#23567)
old-commit-hash: acb17e2e01
2022-01-18 13:37:21 -08:00
GregorKikelj
11e2b91c5e docs/cars.md: fix brand sorting (#23551)
old-commit-hash: d5bdf1e951
2022-01-16 17:03:04 -08:00
Shane Smiskol
1749e94ab6 Toyota: Support Avalon 2022 (TSS2.5) (#23381)
* Add AVALON_TSS2

* Is TSS2 now!

* Add Avalon to CARS.md

* add to test_routes

add to test_routes
old-commit-hash: eb9f35946d
2022-01-12 09:41:07 -08:00
Jason Young
e55d6d82cc VW MQB: Add FW for 2022 Volkswagen Atlas (#23501)
old-commit-hash: b1a226b28b
2022-01-12 17:23:53 +01:00
Chris McCammon
cb3654a4b0 Hyundai: Add Niro EV to 384 STEER_MAX (#23420)
* Niro EV confirmed working with 384

* SCC + LKAS is standard
old-commit-hash: e499ebc711
2022-01-05 14:14:22 -08:00
Nelson Chen
4f11bb3375 Add Prius 2022 to CARS.md (#23417)
Anecdote that this is working:

https://discord.com/channels/469524606043160576/524327905937850394/928164186326982686
old-commit-hash: 13d011c176
2022-01-05 12:16:02 -08:00
Willem Melching
a1e69c9630 docs: conf.py dont shadow project variable
old-commit-hash: 9720dbe9b9
2022-01-04 17:40:00 +01:00
Andrew
830b8692c0 docs: setup docs for C code (#23262)
* add breathe and doxygen

* add sphinx-breathe c docs generation
* add c docs to site

* built in docker

* build base image first

* namespace cleanup

* Revert "build base image first"

This reverts commit 4c44c02ffb93b3f0bc3968f2ee1fdc64faa25608.

* its in the dockerfile

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9f70bea964
2022-01-04 17:26:07 +01:00
Jason Wen
35c7664529 HKG: Add and Fix FW for 2022 Kia Niro EV (#23253)
* Remove non-exist esp FW from Niro_EV

* HKG: Add FW for 2022 Kia Niro EV

* Add 2022 Kia Niro EV to STEER_MAX = 384

* Update CARS.md

* HKG: Add FW for 2022 Kia Niro EV

* Remove duplicate FW version

* Remove duplicate FW versions from 0.8.3 FW dump (#20702)

* Fix FW versions spacing

* Fix FW versions spacing

* Add additional FW version

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e1805574a8
2022-01-03 18:59:23 +01:00
Adeeb Shihadeh
f7df13244f first contribution ideas
old-commit-hash: 9d3a821f37
2022-01-02 15:14:22 -08:00
Jason Wen
5eeb916f0e Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (#23332)
* Add car port: Hyundai Santa Fe Plug-in Hybrid 2022

* Add test route
old-commit-hash: bd399693b6
2021-12-31 17:28:07 -08:00
Andrew
94f0ec19d0 add version to docs.comma.ai (#23260)
* update conf:
* add logo and favicon from connect.comma.ai
* add version

* proper version extract

* v

* Update docs/conf.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c86ca387c2
2021-12-29 17:31:56 +01:00
Andrew
06c80e264c docs.comma.ai add sitemap and robots.txt (#23259)
* add sitemap generator

* update conf for seo

* remove cmake var

* relock

* fix html_baseurl

* more fixes

* newline

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c95202bd1c
2021-12-28 18:07:32 +01:00
Jason Young
6cd96b07e7 VW MQB: Add FW for 2018 Volkswagen Arteon (#23303)
old-commit-hash: 6fd3d50d79
2021-12-23 21:53:58 -08:00
martinl
b99c359d61 Subaru: Add Impreza/Crosstrek 2020 (#21011)
* Add Subaru Impreza/Crosstrek 2020

* Update selfdrive/test/test_routes.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7fd98757b4
2021-12-15 15:13:31 -08:00
Adeeb Shihadeh
e1eef1ed65 update contributing.md
old-commit-hash: 5aa701b029
2021-12-13 20:30:24 -08:00
Jason Wen
a9a5f1933e HKG: Add FW for 2022 Kia K5 (#23131)
old-commit-hash: fa952f650d
2021-12-05 12:47:24 -08:00
Jason Young
5dd1a30d51 VW MQB: Audi Q3 Mk2 (#23128)
old-commit-hash: 8a4ab7f46d
2021-12-04 18:55:02 -08:00
flightguy2
f3598c5b8b 2019 Lexus NX FW versions (#23106)
old-commit-hash: 0ee6f42a8e
2021-12-02 16:12:29 -08:00
Erich Moraga
02c60a4503 docs/CARS: Add 2021 C-HR (#23078)
`@eFini#8426` confirmed...
https://discord.com/channels/469524606043160576/524327905937850394/914925655228031017 [my inquiry]
https://discord.com/channels/469524606043160576/524327905937850394/915131655679791144 [his confirmation]

Still stuck w/ stock longitudinal, despite being TSS2.5.

He's been using it for many months, as seen in one of his early posts that came to Adeeb's attention for route analysis...
https://discord.com/channels/469524606043160576/524327905937850394/827038344742699008 [`88551059c417a545|2021-03-29--23-34-50`]
old-commit-hash: f65e9b4c67
2021-11-30 10:49:54 -08:00
Adeeb Shihadeh
89eb02fee4 Bring back Accord 2021 + 2021 Hybrid (#23021)
Co-authored-by: Chris Souers <csouers@gmail.com>
old-commit-hash: 239c7c1d4e
2021-11-23 23:19:11 -08:00
Erich Moraga
821ddf785f Add Lexus RC support (#22941)
* Add f/w firmware for Lexus RC under LEXUS_IS

`@ph33rl355#0529`  2020 Lexus RC F Track Edition  DongleID/route 32696cea52831b02|2021-11-16--23-12-02

Doesn't seem to need a full port, per user feedback...
https://discord.com/channels/469524606043160576/524327905937850394/910400788319326229

* Update CARS.md

* Separated Lexus RC from IS... still using IS DBC

* match lexus IS for now

* Update wheelbase to match published specs

I'm hesitant to touch `mass`, even though I know it's different from the IS.

* Add TOYOTA.LEXUS_RC test route

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d630ec9092
2021-11-22 14:22:28 -08:00
Andrew
d9d7a55099 Genesis G70 2020 port (#22692)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a6816b893
2021-11-18 20:45:32 -08:00
Jason Wen
65b9766e22 Hyundai: Car Port for 2022 Santa Fe Hybrid (#22962)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 73d66ada8d
2021-11-18 17:33:10 -08:00
Jason Young
84ef09130c VW MQB: Volkswagen T-Roc Mk1 (#22967)
old-commit-hash: ef38117219
2021-11-18 14:52:59 -08:00
Erich Moraga
cabc1b7dca Add missing HIGHLANDERH_TSS2 engine f/w (#22910)
* Add missing HIGHLANDERH_TSS2 engine f/w

`maximammx#7799`  2022 Highlander Hybrid AWD  DongleID/route  91445f0962323b04|2021-11-14--21-33-29

* Add 2022 Highlander Hybrid
old-commit-hash: cdc53efb98
2021-11-14 21:49:36 -08:00
Erich Moraga
47dda79375 docs/CARS: add 2022 Camry (#22904)
* Add 2022 Camry ICE

DongleID/route f72a3ad7dc38d5cf|2021-11-14--09-21-28
https://discord.com/channels/469524606043160576/524327905937850394/909452075467960320

* fix whitespace

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7ca76edf05
2021-11-14 11:00:00 -08:00
Erich Moraga
3ea786d9c5 Add missing HIGHLANDER_TSS2 engine f/w (#22871)
old-commit-hash: 7f4de651e1
2021-11-11 11:17:11 -08:00
Chris McCammon
675f67b406 no longer true
old-commit-hash: ed735ba05e
2021-11-09 14:55:43 -08:00
Jason Young
b6294132af VW MQB: Volkswagen Polo Mk6 (#22811)
* VW MQB: Volkswagen Polo Mk6

* add to RELEASES
old-commit-hash: 053404c878
2021-11-07 11:10:52 -08:00
Erich Moraga
39df7ab9b8 docs/cars: add 2022 Prius Prime (#22805)
old-commit-hash: 0af1af76d4
2021-11-05 14:54:42 -07:00