Commit Graph

88 Commits

Author SHA1 Message Date
Shane Smiskol
c1caca104f Support RAV4 Hybrid 2022 with stock longitudinal (#23969)
* add panda flag for toyota stock long with camera

* clean up

* Add 2022 RAV4 Hybrid from Philly

* fix wrong fw in interface, did this ever work?

* Must be a hybrid

* no radar parsing

* fix can error

* move to own platform

* generate docs

* fix

* Add 2022 Rav4 XSE Australia fingerprint parameters (#24303)

* Update values.py

Add 2022 Rav4 XSE Australia

* add commas

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

* bump panda

* wait, the camera doesn't even send 0x343, right?

* use a set instead, more obvious

* don't test without a parser

* bump panda

* flip panda flag

* bump panda

* add commas

* regen and update refs

* set to none by default

* revert parenthesis

* update comment

* bump panda

* regen and update refs

* add test models and update readme

* bump to master

Co-authored-by: BrettLynch123 <34538435+BrettLynch123@users.noreply.github.com>
2022-04-28 22:37:46 -07:00
Jason Young
d0a6622342 VW MQB: Audi RS3 (#24329) 2022-04-25 21:06:23 -07:00
Adeeb Shihadeh
d9683b63df Hyundai: update supported Kona EV model years 2022-04-24 09:48:49 -07:00
Jason Wen
f6034ecece Hyundai: Car Port for Ioniq Plug-in Hybrid 2019 (#24089)
* Add car port: Hyundai Ioniq Plug-In Hybrid 2019

* Add additiona FW version

* Add test route

* Add test route - fix typo

* Update CARS.md and RELEASES.md

* remove from legacy safety mode

* Update carcontroller.py

* Update to INDI lateral tune

* update spacing and capitalization

* generate docs

* Update selfdrive/car/hyundai/carcontroller.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-04-18 15:15:38 -07:00
Shane Smiskol
ce91f4564d HKG: Add FW for 2022 Hyundai Elantra Hybrid (#24249)
* Fingerprint for 2022 Hyundai Elantra Hybrid

* re-generate docs

Co-authored-by: Max Triano <mtriano234@gmail.com>
2022-04-18 14:24:54 -07:00
Jason Young
db1aa16b47 VW MQB: Add FW for 2018 Volkswagen e-Golf (#24237) 2022-04-18 11:49:25 -07:00
Erich Moraga
f933d543b2 Extend Lexus RX compatibility to 2022 (#24217)
* Extend Lexus RX compatibility to 2022

Sorry, I should've done it when I submitted this PR a couple months ago...
https://github.com/commaai/openpilot/pull/23691

* Revert "Extend Lexus RX compatibility to 2022"

This reverts commit b6a4c5f82c50713d813e260086b71061f047a70a.

* Extend Lexus RX compatibility to 2022 via CarInfo

* Extend Lexus RX compatibility to 2022 in docs
2022-04-15 08:12:18 -07:00
Jason Wen
6214991d98 Hyundai: Car Port for Tucson Diesel 2019 (#24082)
* Add car port: Hyundai Tucson Diesel 2019

* SCC + LKAS trims only

* Add test route

* Update CARS.md

* remove from legacy safety mode

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-04-08 11:32:18 -07:00
martinl
5e1095e881 Subaru: update supported model years and steering torque (#24118)
* Subaru: update carinfo supported model years and good steering torque

* update torque

* model year 2020 was added to IMPREZA_2020, split out

update docs

* order

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-04-05 13:04:46 -07:00
Shane Smiskol
433f649faa car docs: enforce naming conventions (#24116)
* assert car docs naming conventions

* fix static analysis

* It's actually Plug-in according to Hyundai (Google capitalizes it)

* fix docs
2022-04-04 15:50:27 -07:00
Adeeb Shihadeh
3fc4f8dfcf update car docs 2022-04-01 16:07:24 -07:00
Shane Smiskol
9d44f790b3 CARS.md: sort cars in lowercase (#24086)
* sort cars in lowercase

* nicer name

* skoda deserves better

* lock
2022-04-01 15:43:54 -07:00
Igor Biletskyy
031f79ba88 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>
2022-03-31 17:16:15 -07:00
Andrew
81862fce76 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>
2022-03-30 00:14:12 -07:00
Jason Young
b217c8f623 VW MQB: Add FW for 2021 Volkswagen Golf GTI (#24074) 2022-03-29 20:21:17 -07:00
Shane Smiskol
7c8e8bfd5f docs: link to footnotes without visible header 2022-03-28 16:32:21 -07:00
Shane Smiskol
85d8997a8a 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
2022-03-23 13:42:53 -07:00
Shane Smiskol
15368ec3d1 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>
2022-03-20 16:40:25 -07:00
Shane Smiskol
247b66f4a8 Toyota: Support Avalon Hybrid 2022 (TSS2.5) (#23892)
* Add Avalon Hybrid 2022

* update docs

* set a tune

* add test route

* uploaded route
2022-03-19 13:14:04 -07:00
Shane Smiskol
628eecff06 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
2022-03-17 16:11:03 -07:00
Adeeb Shihadeh
f7d0ddb9a4 re-run car docs generator 2022-03-17 11:56:18 -07:00
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 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>
2022-03-16 21:27:05 -07:00
Jason Young
62bb43b7e2 VW MQB: Add FW for 2021 Volkswagen Jetta (#23979) 2022-03-16 17:06:42 -07:00
Shane Smiskol
156337475e 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
2022-03-11 19:45:30 -08:00
Jason Young
7fc1b7dc0a VW MQB: Add FW for 2022 Volkswagen Tiguan (#23913) 2022-03-06 10:51:26 -08:00
Jason Young
0502486c16 VW MQB: Add FW for 2017 Audi S3 (#23881) 2022-02-28 14:27:22 -08:00
Jason Wen
6a072886e9 HKG: Add FW for 2022 Kia Niro HEV (#23863)
* HKG: Add FW for 2022 Kia Niro HEV

* Expand model year
2022-02-28 11:48:01 +01:00
Willem Melching
b1091d505e CARS.md add 2022 elantra 2022-02-22 11:58:36 +01:00
Jason Young
3553a26d52 VW MQB: Volkswagen Caravelle T6.1 (#23735)
* VW MQB: Volkswagen Caravelle T6.1

* autogratitude
2022-02-09 10:30:13 -08:00
Jafar Al-Gharaibeh
341f5a4ae0 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>
2022-02-04 23:34:37 -08:00
Chris McCammon
6a3de9776d 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>
2022-02-04 12:03:27 -08:00
Adeeb Shihadeh
2240b802be 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>
2022-01-26 22:57:26 -08:00
Erich Moraga
acb17e2e01 Add missing ALPHARD_TSS2 f/w (#23567) 2022-01-18 13:37:21 -08:00
GregorKikelj
d5bdf1e951 docs/cars.md: fix brand sorting (#23551) 2022-01-16 17:03:04 -08:00
Shane Smiskol
eb9f35946d 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
2022-01-12 09:41:07 -08:00
Jason Young
b1a226b28b VW MQB: Add FW for 2022 Volkswagen Atlas (#23501) 2022-01-12 17:23:53 +01:00
Chris McCammon
e499ebc711 Hyundai: Add Niro EV to 384 STEER_MAX (#23420)
* Niro EV confirmed working with 384

* SCC + LKAS is standard
2022-01-05 14:14:22 -08:00
Nelson Chen
13d011c176 Add Prius 2022 to CARS.md (#23417)
Anecdote that this is working:

https://discord.com/channels/469524606043160576/524327905937850394/928164186326982686
2022-01-05 12:16:02 -08:00
Jason Wen
e1805574a8 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>
2022-01-03 18:59:23 +01:00
Jason Wen
bd399693b6 Hyundai: Car Port for 2022 Santa Fe Plug-in Hybrid (#23332)
* Add car port: Hyundai Santa Fe Plug-in Hybrid 2022

* Add test route
2021-12-31 17:28:07 -08:00
Jason Young
6fd3d50d79 VW MQB: Add FW for 2018 Volkswagen Arteon (#23303) 2021-12-23 21:53:58 -08:00
martinl
7fd98757b4 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>
2021-12-15 15:13:31 -08:00
Jason Wen
fa952f650d HKG: Add FW for 2022 Kia K5 (#23131) 2021-12-05 12:47:24 -08:00
Jason Young
8a4ab7f46d VW MQB: Audi Q3 Mk2 (#23128) 2021-12-04 18:55:02 -08:00
flightguy2
0ee6f42a8e 2019 Lexus NX FW versions (#23106) 2021-12-02 16:12:29 -08:00
Erich Moraga
f65e9b4c67 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`]
2021-11-30 10:49:54 -08:00
Adeeb Shihadeh
239c7c1d4e Bring back Accord 2021 + 2021 Hybrid (#23021)
Co-authored-by: Chris Souers <csouers@gmail.com>
2021-11-23 23:19:11 -08:00
Erich Moraga
d630ec9092 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>
2021-11-22 14:22:28 -08:00
Andrew
2a6816b893 Genesis G70 2020 port (#22692)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 20:45:32 -08:00
Jason Wen
73d66ada8d Hyundai: Car Port for 2022 Santa Fe Hybrid (#22962)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-18 17:33:10 -08:00