Commit Graph

409 Commits

Author SHA1 Message Date
Shane Smiskol
789f2d195c compatibility docs: fixup steering torque star (#24940)
* Ascent has good torque, hard code Toyota, print all unexpected torque star cars

* update docs

* Use subtests

* hardcode CHR for now

generate

* Hard code Impreza

* update refs
2022-06-22 01:03:29 -07:00
Adeeb Shihadeh
59055724d6 22 civic hatcback is supported 2022-06-20 20:20:24 -07:00
Adeeb Shihadeh
5e07131221 Toyota: international corolla cross is supported 2022-06-20 19:16:49 -07:00
Adeeb Shihadeh
d3185a0af0 Chrysler: 2022 pacific hybrid is supported 2022-06-19 14:08:14 -07:00
Shane Smiskol
abcc7338d4 Car Port: 2022 Honda Civic (#24535)
* master 2022 Civic

* bump panda

* bump

* bump cereal

* fix

* needed

* try for now

* maybe

* revert for now

* move to Cam parser

* fix

* move to cam

* need AEB_STATUS too

* bump for debug prints

* bump opendbc and add cruise_params

* bump opendbc and update cruise_params

* bump

* test route

* update ref

* Revert "update ref"

This reverts commit 28345dab63d1919865ccb510265222a4cd4252f4.

* cleanup

* just to test

* bump

* revert

* need to send val 12 too?

* change bus

* not needed

* update bus

* syntax

* move this to other bus too

* Revert "move this to other bus too"

This reverts commit 770bf4745ee244c8426ac108f44b67777198d0a7.

* test new lane line signal

* needed too

* maybe need both?

* Test new LKAS hud message

* bump

* missing comma

* missing

* maybe

* add frame and idx

* add in hud_lanes

* switch this too

* bump panda

* add this

* I guess need this too

* to match

* also

* wasnt correct

* bump opendbc

* bump panda

* move to cam parser

* missing

* add here too

* bump

* remove from cam parser

* bump

* back to cam parser

* its 5hz

* bump for new checksum function

* bump for correct frequency

* update frame and idx

* bump

* bump and update

* send set me bit

* bump

* pass these values through

* silly atom

* ret

* fix this

* use copy instead

* add these too

* to check keyerror

* switch

* bump submodules

* send too

* proper

* Replace HUD with BOH

* add dashed lanes

* small fix

* clean up

* not needed anymore

* remove and change

* this too

* dont always set

* remove additional LKAS message

* bump

* add

* to test

* add frame

* bump

* rebase

* remove default values

* rename

* clean up some carstate logic

* regenerate docs

* spacing

* simplify more logic

* bump opendbc

* bump opendbc

* only if radarless

* panda at least builds now

* add comment

* bump

* fixes

* bump opendbc

* bump opendbc

fix for new DBC

* bump opendbc

* bump opendbc

* carstate: fix bus, parser signals

* Set safety param

* pt bus is 0, not 1

* Fix SCM_BUTTONS and bump panda and opendbc

* fixes for ACC_CONTROL

* bump opendbc

* bump opendbc

* convert from MPH on HONDA_BOSCH_RADARLESS

move is_metric

* make sure we don't disable if radarless

* don't show incorrect harness on website

don't show incorrect harness on website

* bump panda

* remove/update comments

* bump panda

* Fix harnesses

* one line check

* bump opendbc

* remove this

* Some carstate cleanup

We removed STANDSTILL->WHEELS_MOVING

we don't use CRUISE_PARAMS

add back

add back

* more cleanup

* update docs

* marketing says it has TJA and ACC with low speed follow

* send buttons on bus 0

bump panda

* comment

* camera needs to see buttons on bus 2

comment

* bump panda

* add to releases

* remove comments

* comment

* we don't use stock hud yet

Co-authored-by: vanillagorillaa <ntmccoy@yahoo.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
Co-authored-by: kevinharbin <76784413+kevinharbin@users.noreply.github.com>
2022-06-19 00:06:23 -07:00
Adeeb Shihadeh
725ccc0179 HKG: simplify Kia K5 compatibility (#24810)
LKAS/LFA is standard on the K5
2022-06-15 18:01:02 -07:00
Shane Smiskol
a78197ab1a Move RAV4 2022 out of bronze 2022-06-13 21:49:50 -07:00
HaraldSchafer
3066ad81a8 Car interface: set max lateral torque from table (#24789)
* json

* better naem

* Read from table

* formatting and default to nan

* Generate docs

* Read from table

* this should be the same

* Prius v is full

* test we always set the tunes correctly

add to release files

* Set for all cars

Set for all cars

* Revert tuning changes

Revert tuning changes

* remove that

* fixes

* update ref commit for new maxLateralAccels

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-10 17:57:23 -07:00
Shane Smiskol
1b402687e4 docs: adjust steering torque thresholds (#24798)
* Prius has good steering control now

* 1.5 is the threshold for good torque

* get back down there, hondas

* half stars for 1.0-1.5

* show number of cars

* try bigger

* emphasize tiers

balanced

* Add half star

* Update ref_commit
2022-06-09 18:51:34 -07:00
Shane Smiskol
47f80e7add Hyundai: Tucson 2021 support (#24791)
* add support for 2021 Hyundai Tucson

base configuration and fingerprints

* fix fcw again and don't use mando radar for tucson

* last fixes for working tucson

* Apply suggestions from code review

* add to cars

* increase steerRatio

* missing car info

* one platform

* rename

* add min enable speed

* update releases

Co-authored-by: bluesforte <harry3b9@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-09 17:44:58 -07:00
George Hotz
8c101c61a8 EyeSight standard on all 2019+ Ascent and Forester (#24799)
* on all 2019+ Ascent Forester

* update docs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-09 15:11:32 -07:00
AlexandreSato
074f614f88 Lexus: NX Hybrid 2020 support (#24796)
* LEXUS: Missing esp and engine FW versions in values.py

DongleId: 09ae96064ed85a14  | testRoute: 09ae96064ed85a14|2022-01-10--01-57-37 |

* Make a new platform for NX Hybrid TSS2

* Update releases

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-06-09 12:01:31 -07:00
Jason Young
2a2294662c VW MQB: Add FW for 2019 Volkswagen Passat (#24753) 2022-06-03 23:59:55 -07:00
Shane Smiskol
c6bc03311c Car documentation: set steering torque star using car interface (#24709)
* Set good torque using torque controller tuning

* should be equal to

* save lateral accel to car params

* use maxLateralAccel

* always

* same convention

* nan will always evaluate to false

* The great good torque purge

* adjust default friction

* Add data for more cars

* adjust name

* Welcome back, guys. Only adjust good torque if maxLatAccel is set

* Update refs (1.7 is 1.7000001...)
2022-06-03 17:41:20 -07:00
Jason Young
f414f7ff4e VW MQB: Add FW for 2015 Volkswagen Passat (#24653) 2022-05-25 11:57:26 -07:00
Shane Smiskol
bdaf174154 Support RAV4 2022 with stock longitudinal (#24367)
* support for ICE 2022 RAV4

* add to releases

* swap

* add fingerprints from a5c341bb250ca2f0

* update test route

* update docs

* add test for rav4

* values.py is a comma file
2022-05-18 19:04:11 -07:00
Shane Smiskol
433fcc0c71 CarInfo: Add harness information (#24085)
* Add harness information

* test harness enum

* add harness info for tucson

* update Tucson harness

* get rid of development

* make global enum

* fix

* add harness info

* add harness info to CARS.md (since we need multiple lines per HKG platform)

* revert this

* Actively Maintained means something! (aka, to bronze with select VW)

* fix caravelle

* add harness tooltip on maintained column

fix

* lol tubaru

* always assume harness

* update honda harnesses

* add Ioniq hybrid 2017-19 harness, todo: not sure

* unused import

* hmm, did they really switch to the C for 1 year??

* add comment

* add comments

* adding tooltips should be fine

* fix santa fe harness

* welcome back, vw

* no need for two harness strings

* seems fine

* fix 19-20 Niro EV harness

* these were taking from old database, so assume correct

* could be d

* pass all car info into template

* no more tool tips

* these use j533 harnesses

* accidentally got removed in merge

* also merge issue

* don't need these

* make harness non-optional
2022-05-11 18:02:21 -07:00
Shane Smiskol
f9af3ddf4c CARS.md: update Honda Ridgeline supported years (#24484)
* update supported ridgeline years

* update supported ridgeline years
2022-05-09 22:00:31 -07:00
Shane Smiskol
e2ada3b9a8 CARS.md: clicking stars doesn't change page location (#24482) 2022-05-09 20:29:58 -07:00
Brandon Zimmerman
da74085d56 Toyota: add missing FW versions for 2022 Lexus ES 300h (#24431)
* Add 2022 Lexus ES Hybrid f/w - LEXUS_ESH_TSS2

2022 Lexus ES Hybrid

* change carinfo

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-05 11:20:53 -07:00
Jason Young
1810909195 VW MQB: Add FW for 2019 Volkswagen Tiguan (#24373) 2022-04-29 10:25:34 -07:00
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