Commit Graph

90 Commits

Author SHA1 Message Date
Adeeb Shihadeh
01676c0707 update car docs
old-commit-hash: 3fc4f8dfcf8a543325cf784b88487f53afb5b02f
2022-04-01 16:07:24 -07:00
Shane Smiskol
0910ad09f9 CARS.md: sort cars in lowercase (#24086)
* sort cars in lowercase

* nicer name

* skoda deserves better

* lock
old-commit-hash: 9d44f790b3fdbdc2c7742d1e4fc603bae0364bda
2022-04-01 15:43:54 -07:00
Igor Biletskyy
df806cdbeb car port: comma body (#24019)
* body FPv2

* ..

* ..

* ..

* Temp, REVERT!

* more cleanup

* typo

* ..

* del eyes

* should work?

* fix

* new dbc

* ..

* fixes

* static analysis

* cln balancing code

* no test route

* excluded_interfaces

* THE DOCS!

* comments on steer/speed mixin

* switch to bus 0

* less UDS

* FAKE bus 0 vin and fingerprint

* FAKE locationd

* Keep steady and remove handcoded offset

* Improve startup sequence, get closer to stock openpilot

* Forgot to define angle

* lowercase

* revert that

* little cleanup

* change safety model

* update refs

* body is gold

* handle no llk

* oops

* litte more

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 031f79ba88c58f9fbc087df0a1e2ba5ddc3f80db
2022-03-31 17:16:15 -07:00
Andrew
88c178342f Sonata Hybrid 2020: add fw versions (#23988)
* add fingerprints. rename some things

* undo

* fix fuzzy fp

* minor formatting

* generate docs

* these are the same

* this is also duplicate

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 81862fce76b46927eeb8a9c90ecedac706212639
2022-03-30 00:14:12 -07:00
Jason Young
4ca70ea5f9 VW MQB: Add FW for 2021 Volkswagen Golf GTI (#24074)
old-commit-hash: b217c8f623ee99cd49b95209bb0e89df2bd1f902
2022-03-29 20:21:17 -07:00
Shane Smiskol
5cbc382e46 docs: link to footnotes without visible header
old-commit-hash: 7c8e8bfd5f43f8569a9258067e3fcb0bd0d9ffc2
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: 85d8997a8a66ef7652b1b186a72d9551292a24ad
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: 15368ec3d1cb41a71856fb8e3f2b89320b087053
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: 247b66f4a801d3621575edf5a247c54e275d2826
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: 628eecff06595395f9d5166e82680dc1a2c58af7
2022-03-17 16:11:03 -07:00
Adeeb Shihadeh
c72a274f04 re-run car docs generator
old-commit-hash: f7d0ddb9a45387424232380600c21b4156f83c96
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: 31a6b141d6c37d7241146a9dc7b3a10313abdc40
2022-03-16 21:27:05 -07:00
Jason Young
b6a4467821 VW MQB: Add FW for 2021 Volkswagen Jetta (#23979)
old-commit-hash: 62bb43b7e279d81d03d1023ea24dc1f845fc3608
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: 156337475e51156739dc443ff6d15c9f9960c4bb
2022-03-11 19:45:30 -08:00
Jason Young
dd644fcad6 VW MQB: Add FW for 2022 Volkswagen Tiguan (#23913)
old-commit-hash: 7fc1b7dc0a5be75a3ae5d7217b9e887b34947c91
2022-03-06 10:51:26 -08:00
Jason Young
841db8a94a VW MQB: Add FW for 2017 Audi S3 (#23881)
old-commit-hash: 0502486c16ded0af30e0e1f569683b1b4420bde6
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: 6a072886e90dfb271285466df093929b594301da
2022-02-28 11:48:01 +01:00
Willem Melching
78824585b8 CARS.md add 2022 elantra
old-commit-hash: b1091d505e270ac57bf50adbb2bc8e01e7f6e9ee
2022-02-22 11:58:36 +01:00
Adeeb Shihadeh
6cbe5ff2fb docs: fix title typo
old-commit-hash: d468d6e890e62970be22a5cdcfeadb2393dfc71d
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: 3553a26d520a0541ce1d75e55a393c75dc4257b8
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: 341f5a4ae01445049f7bb8a51f9e2781bbdfa124
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: 6a3de9776ddb8b5c17f71bb3c8824b7ba58066bd
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: 2240b802be8f781d52b7c00da54a577612d67330
2022-01-26 22:57:26 -08:00
Erich Moraga
bb50cfa72a Add missing ALPHARD_TSS2 f/w (#23567)
old-commit-hash: acb17e2e01c9774f4f3d5d64195fdccf7835f5b1
2022-01-18 13:37:21 -08:00
GregorKikelj
11e2b91c5e docs/cars.md: fix brand sorting (#23551)
old-commit-hash: d5bdf1e951a2382b0df588b18183423d0ac26b56
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: eb9f35946de0cad03eb7de99a8c837f60fb5d52c
2022-01-12 09:41:07 -08:00
Jason Young
e55d6d82cc VW MQB: Add FW for 2022 Volkswagen Atlas (#23501)
old-commit-hash: b1a226b28b5b54352e31e29d726f9b038ca29347
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: e499ebc711d15f4222b6ad77aa20049475a739f4
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: 13d011c176012c530df3d282179622b82957cb4e
2022-01-05 12:16:02 -08:00
Willem Melching
a1e69c9630 docs: conf.py dont shadow project variable
old-commit-hash: 9720dbe9b94a409d1540ec624b1deb29a5f37c8b
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: 9f70bea964e2037c550678581eb1363e4c99b763
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: e1805574a86a9680ab8eadb39a74426eccae0d57
2022-01-03 18:59:23 +01:00
Adeeb Shihadeh
f7df13244f first contribution ideas
old-commit-hash: 9d3a821f372140093c079f6e71e68e947abcf049
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: bd399693b6e2239522e06d6c10d5f2938a06f0d2
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: c86ca387c2fd98366057a146735ef2b388f4d070
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: c95202bd1c1882f30dbb153d58de4d875cdbf025
2021-12-28 18:07:32 +01:00
Jason Young
6cd96b07e7 VW MQB: Add FW for 2018 Volkswagen Arteon (#23303)
old-commit-hash: 6fd3d50d79f0e75460f7f513657dfa1b47094bfa
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: 7fd98757b46b384fba00aaa91612f66f3de2f020
2021-12-15 15:13:31 -08:00
Adeeb Shihadeh
e1eef1ed65 update contributing.md
old-commit-hash: 5aa701b029516b62618be8a30cdf372c86d407a3
2021-12-13 20:30:24 -08:00
Jason Wen
a9a5f1933e HKG: Add FW for 2022 Kia K5 (#23131)
old-commit-hash: fa952f650d282e329247fb0cf2d68c9a8cc8ca25
2021-12-05 12:47:24 -08:00
Jason Young
5dd1a30d51 VW MQB: Audi Q3 Mk2 (#23128)
old-commit-hash: 8a4ab7f46d6d7666c8abab3168dcf91dd7ec1890
2021-12-04 18:55:02 -08:00
flightguy2
f3598c5b8b 2019 Lexus NX FW versions (#23106)
old-commit-hash: 0ee6f42a8e0a66b6271ec4628c2e5d3deca8c136
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: f65e9b4c67611fd347d57b092941b92e6da544da
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: 239c7c1d4e7c5b854490bc44f6f4dc252b331cf3
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: d630ec9092f039cb5e51c5dd6d92fc47b91407e4
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: 2a6816b8935d3f4a863e42b37361c7ef6f104ddf
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: 73d66ada8dbd8a2aaea9ffbc333d6d53f5c44bdc
2021-11-18 17:33:10 -08:00
Jason Young
84ef09130c VW MQB: Volkswagen T-Roc Mk1 (#22967)
old-commit-hash: ef3811721934f2f20d7781c4cf576246a44a75ba
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: cdc53efb9873899729113e95bf4d03f8f336ea9b
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: 7ca76edf0512e3302c885e3cbfe9b2bfe0844f89
2021-11-14 11:00:00 -08:00