diff --git a/docs/CARS.md b/docs/CARS.md index ff065981d9..1f9b91c137 100644 --- a/docs/CARS.md +++ b/docs/CARS.md @@ -53,7 +53,7 @@ How We Rate The Cars |Lexus|UX Hybrid 2019-21|All|||||| |Toyota|Alphard 2019-20|All|||||| |Toyota|Avalon 2022|All|||||| -|Toyota|Camry 2021-22|All||[6](#Footnotes)|||| +|Toyota|Camry 2021-22|All||[7](#Footnotes)|||| |Toyota|Camry Hybrid 2021-22|All|||||| |Toyota|Corolla 2020-22|All|||||| |Toyota|Corolla Hatchback 2019-22|All|||||| @@ -97,26 +97,26 @@ How We Rate The Cars |Kia|Seltos 2021|SCC + LKAS|||||| |Kia|Sorento 2018-19|SCC + LKAS|||||| |Kia|Stinger 2018|SCC + LKAS|||||| -|Lexus|CT Hybrid 2017-18|LSS|[5](#Footnotes)||||| -|Lexus|ES Hybrid 2017-18|LSS|[5](#Footnotes)||||| -|Lexus|NX 2018-19|All|[5](#Footnotes)||||| -|Lexus|NX Hybrid 2018-19|All|[5](#Footnotes)||||| -|Lexus|RX 2016-18|All|[5](#Footnotes)||||| -|Lexus|RX Hybrid 2016-19|All|[5](#Footnotes)||||| +|Lexus|CT Hybrid 2017-18|LSS|[6](#Footnotes)||||| +|Lexus|ES Hybrid 2017-18|LSS|[6](#Footnotes)||||| +|Lexus|NX 2018-19|All|[6](#Footnotes)||||| +|Lexus|NX Hybrid 2018-19|All|[6](#Footnotes)||||| +|Lexus|RX 2016-18|All|[6](#Footnotes)||||| +|Lexus|RX Hybrid 2016-19|All|[6](#Footnotes)||||| |SEAT|Ateca 2018|Driver Assistance|||||| |SEAT|Leon 2014-20|Driver Assistance|||||| -|Toyota|Avalon 2019-21|TSS-P|[5](#Footnotes)||||| -|Toyota|Avalon Hybrid 2019-21|TSS-P|[5](#Footnotes)||||| +|Toyota|Avalon 2019-21|TSS-P|[6](#Footnotes)||||| +|Toyota|Avalon Hybrid 2019-21|TSS-P|[6](#Footnotes)||||| |Toyota|C-HR 2017-21|All|||||| |Toyota|C-HR Hybrid 2017-19|All|||||| -|Toyota|Camry 2018-20|All||[6](#Footnotes)|||| -|Toyota|Camry Hybrid 2018-20|All||[6](#Footnotes)|||| -|Toyota|Highlander 2017-19|All|[5](#Footnotes)||||| -|Toyota|Highlander Hybrid 2017-19|All|[5](#Footnotes)||||| -|Toyota|RAV4 Hybrid 2016-18|TSS-P|[5](#Footnotes)||||| -|Toyota|Sienna 2018-20|All|[5](#Footnotes)||||| -|Volkswagen|Arteon 2018, 2021[4](#Footnotes)|Driver Assistance|||||| -|Volkswagen|Atlas 2018-19, 2022[4](#Footnotes)|Driver Assistance|||||| +|Toyota|Camry 2018-20|All||[7](#Footnotes)|||| +|Toyota|Camry Hybrid 2018-20|All||[7](#Footnotes)|||| +|Toyota|Highlander 2017-19|All|[6](#Footnotes)||||| +|Toyota|Highlander Hybrid 2017-19|All|[6](#Footnotes)||||| +|Toyota|RAV4 Hybrid 2016-18|TSS-P|[6](#Footnotes)||||| +|Toyota|Sienna 2018-20|All|[6](#Footnotes)||||| +|Volkswagen|Arteon 2018, 2021[5](#Footnotes)|Driver Assistance|||||| +|Volkswagen|Atlas 2018-19, 2022[5](#Footnotes)|Driver Assistance|||||| |Volkswagen|Golf 2015-20|Driver Assistance|||||| |Volkswagen|Golf Alltrack 2017-18|Driver Assistance|||||| |Volkswagen|Golf GTE 2016|Driver Assistance|||||| @@ -126,15 +126,15 @@ How We Rate The Cars |Volkswagen|Golf SportsVan 2016|Driver Assistance|||||| |Volkswagen|Jetta 2018-21|Driver Assistance|||||| |Volkswagen|Jetta GLI 2021|Driver Assistance|||||| -|Volkswagen|Passat 2016-18[3](#Footnotes)|Driver Assistance|||||| +|Volkswagen|Passat 2016-18[4](#Footnotes)|Driver Assistance|||||| |Volkswagen|Polo 2020|Driver Assistance|||||| -|Volkswagen|T-Cross 2021[4](#Footnotes)|Driver Assistance|||||| -|Volkswagen|T-Roc 2021[4](#Footnotes)|Driver Assistance|||||| -|Volkswagen|Taos 2022[4](#Footnotes)|Driver Assistance|||||| -|Volkswagen|Tiguan 2020-22[4](#Footnotes)|Driver Assistance|||||| +|Volkswagen|T-Cross 2021[5](#Footnotes)|Driver Assistance|||||| +|Volkswagen|T-Roc 2021[5](#Footnotes)|Driver Assistance|||||| +|Volkswagen|Taos 2022[5](#Footnotes)|Driver Assistance|||||| +|Volkswagen|Tiguan 2020-22[5](#Footnotes)|Driver Assistance|||||| |Volkswagen|Touran 2017|Driver Assistance|||||| |Volkswagen|e-Golf 2014, 2019-20|Driver Assistance|||||| -|Škoda|Kamiq 2021[2](#Footnotes)|Driver Assistance|||||| +|Škoda|Kamiq 2021[3](#Footnotes)|Driver Assistance|||||| |Škoda|Karoq 2019|Driver Assistance|||||| |Škoda|Kodiaq 2018-19|Driver Assistance|||||| |Škoda|Octavia 2015, 2018-19|Driver Assistance|||||| @@ -149,13 +149,13 @@ How We Rate The Cars |Acura|ILX 2016-19|AcuraWatch Plus|||||| |Acura|RDX 2016-18|AcuraWatch Plus|||||| |Acura|RDX 2019-21|All|||||| -|Cadillac|Escalade ESV 2016[8](#Footnotes)|ACC + LKAS|||||| -|Chevrolet|Volt 2017-18[8](#Footnotes)|Adaptive Cruise|||||| +|Cadillac|Escalade ESV 2016[2](#Footnotes)|ACC + LKAS|||||| +|Chevrolet|Volt 2017-18[2](#Footnotes)|Adaptive Cruise|||||| |Chrysler|Pacifica 2017-18|Adaptive Cruise|||||| |Chrysler|Pacifica 2020|Adaptive Cruise|||||| |Chrysler|Pacifica Hybrid 2017-18|Adaptive Cruise|||||| |Chrysler|Pacifica Hybrid 2019-21|Adaptive Cruise|||||| -|GMC|Acadia 2018[8](#Footnotes)|Adaptive Cruise|||||| +|GMC|Acadia 2018[2](#Footnotes)|Adaptive Cruise|||||| |Genesis|G90 2018|All|||||| |Honda|Accord 2018-21|All|||||| |Honda|Accord Hybrid 2018-21|All|||||| @@ -196,24 +196,24 @@ How We Rate The Cars |Subaru|Crosstrek 2018-20|EyeSight|||||| |Subaru|Forester 2019-21|EyeSight|||||| |Subaru|Impreza 2017-19|EyeSight|||||| -|Toyota|Avalon 2016-18|TSS-P|[5](#Footnotes)||||| -|Toyota|Corolla 2017-19|All|[5](#Footnotes)||||| -|Toyota|Prius 2016-20|TSS-P|[5](#Footnotes)|||[7](#Footnotes)|| -|Toyota|Prius Prime 2017-20|All|[5](#Footnotes)|||[7](#Footnotes)|| -|Toyota|Prius v 2017|TSS-P|[5](#Footnotes)|||[7](#Footnotes)|| -|Toyota|RAV4 2016-18|TSS-P|[5](#Footnotes)||||| -|Volkswagen|California 2021[4](#Footnotes)|Driver Assistance|||||| -|Volkswagen|Caravelle 2020[4](#Footnotes)|Driver Assistance|||||| +|Toyota|Avalon 2016-18|TSS-P|[6](#Footnotes)||||| +|Toyota|Corolla 2017-19|All|[6](#Footnotes)||||| +|Toyota|Prius 2016-20|TSS-P|[6](#Footnotes)|||[8](#Footnotes)|| +|Toyota|Prius Prime 2017-20|All|[6](#Footnotes)|||[8](#Footnotes)|| +|Toyota|Prius v 2017|TSS-P|[6](#Footnotes)|||[8](#Footnotes)|| +|Toyota|RAV4 2016-18|TSS-P|[6](#Footnotes)||||| +|Volkswagen|California 2021[5](#Footnotes)|Driver Assistance|||||| +|Volkswagen|Caravelle 2020[5](#Footnotes)|Driver Assistance|||||| 12019 Honda Civic 1.6L Diesel Sedan does not have ALC below 12mph.
-2Not including the China market Kamiq, which is based on the (currently) unsupported PQ34 platform.
-3Not including the USA/China market Passat, which is based on the (currently) unsupported PQ35/NMS platform.
-4Model-years 2021 and beyond may have a new camera harness design, which isn't yet available from the comma store. Before ordering, remove the Lane Assist camera cover and check to see if the connector is black (older design) or light brown (newer design). For the newer design, in the interim, choose "VW J533 Development" from the vehicle drop-down for a harness that integrates at the CAN gateway inside the dashboard.
-5When disconnecting the Driver Support Unit (DSU), openpilot Adaptive Cruise Control (ACC) will replace stock Adaptive Cruise Control (ACC). NOTE: disconnecting the DSU disables Automatic Emergency Braking (AEB).
-628mph for Camry 4CYL L, 4CYL LE and 4CYL SE which don't have Full-Speed Range Dynamic Radar Cruise Control.
-7An inaccurate steering wheel angle sensor makes precise control difficult.
-8Requires an [OBD-II](https://comma.ai/shop/products/comma-car-harness) car harness and [community built ASCM harness](https://github.com/commaai/openpilot/wiki/GM#hardware). NOTE: disconnecting the ASCM disables Automatic Emergency Braking (AEB).
+2Requires an [OBD-II](https://comma.ai/shop/products/comma-car-harness) car harness and [community built ASCM harness](https://github.com/commaai/openpilot/wiki/GM#hardware). NOTE: disconnecting the ASCM disables Automatic Emergency Braking (AEB).
+3Not including the China market Kamiq, which is based on the (currently) unsupported PQ34 platform.
+4Not including the USA/China market Passat, which is based on the (currently) unsupported PQ35/NMS platform.
+5Model-years 2021 and beyond may have a new camera harness design, which isn't yet available from the comma store. Before ordering, remove the Lane Assist camera cover and check to see if the connector is black (older design) or light brown (newer design). For the newer design, in the interim, choose "VW J533 Development" from the vehicle drop-down for a harness that integrates at the CAN gateway inside the dashboard.
+6When disconnecting the Driver Support Unit (DSU), openpilot Adaptive Cruise Control (ACC) will replace stock Adaptive Cruise Control (ACC). NOTE: disconnecting the DSU disables Automatic Emergency Braking (AEB).
+728mph for Camry 4CYL L, 4CYL LE and 4CYL SE which don't have Full-Speed Range Dynamic Radar Cruise Control.
+8An inaccurate steering wheel angle sensor makes precise control difficult.
## Community Maintained Cars Although they're not upstream, the community has openpilot running on other makes and models. See the 'Community Supported Models' section of each make [on our wiki](https://wiki.comma.ai/). \ No newline at end of file diff --git a/docs/vehicles.vue b/docs/vehicles.vue index e37d7152bb..6658bbb65d 100644 --- a/docs/vehicles.vue +++ b/docs/vehicles.vue @@ -122,271 +122,271 @@
Genesis
G70 2020
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Palisade 2020-21
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Santa Fe 2019-20
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Sonata 2020-22
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Sonata Hybrid 2021-22
All
-
-
-
-
-
+
+
+
+
+
Kia
Niro Electric 2019-22
All
-
-
-
-
-
+
+
+
+
+
Kia
Telluride 2020
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Lexus
ES 2019-21
All
-
-
-
-
-
+
+
+
+
+
Lexus
ES Hybrid 2019-21
All
-
-
-
-
-
+
+
+
+
+
Lexus
NX 2020
All
-
-
-
-
-
+
+
+
+
+
Lexus
RX 2020-21
All
-
-
-
-
-
+
+
+
+
+
Lexus
RX Hybrid 2020-21
All
-
-
-
-
-
+
+
+
+
+
Lexus
UX Hybrid 2019-21
All
-
-
-
-
-
+
+
+
+
+
Toyota
Alphard 2019-20
All
-
-
-
-
-
+
+
+
+
+
Toyota
Avalon 2022
All
-
-
-
-
-
+
+
+
+
+
Toyota
Camry 2021-22
All
-
-
[7](#Footnotes)
-
-
-
+
+
+
+
+
Toyota
Camry Hybrid 2021-22
All
-
-
-
-
-
+
+
+
+
+
Toyota
Corolla 2020-22
All
-
-
-
-
-
+
+
+
+
+
Toyota
Corolla Hatchback 2019-22
All
-
-
-
-
-
+
+
+
+
+
Toyota
Corolla Hybrid 2020-22
All
-
-
-
-
-
+
+
+
+
+
Toyota
Highlander 2020-22
All
-
-
-
-
-
+
+
+
+
+
Toyota
Highlander Hybrid 2020-22
All
-
-
-
-
-
+
+
+
+
+
Toyota
Mirai 2021
All
-
-
-
-
-
+
+
+
+
+
Toyota
Prius 2021-22
All
-
-
-
-
-
+
+
+
+
+
Toyota
Prius Prime 2021-22
All
-
-
-
-
-
+
+
+
+
+
Toyota
RAV4 2019-21
All
-
-
-
-
-
+
+
+
+
+
Toyota
RAV4 Hybrid 2019-21
All
-
-
-
-
-
+
+
+
+
+
@@ -410,711 +410,711 @@
Audi
A3 2014-19
ACC + Lane Assist
-
-
-
-
-
+
+
+
+
+
Audi
A3 Sportback e-tron 2017-18
ACC + Lane Assist
-
-
-
-
-
+
+
+
+
+
Audi
Q2 2018
ACC + Lane Assist
-
-
-
-
-
+
+
+
+
+
Audi
Q3 2020-21
ACC + Lane Assist
-
-
-
-
-
+
+
+
+
+
Audi
S3 2015-17
ACC + Lane Assist
-
-
-
-
-
+
+
+
+
+
Genesis
G70 2018
All
-
-
-
-
-
+
+
+
+
+
Genesis
G80 2018
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Elantra 2021-22
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Elantra Hybrid 2021
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Ioniq Electric 2020
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Ioniq Hybrid 2020-22
SCC + LFA
-
-
-
-
-
+
+
+
+
+
Hyundai
Ioniq Plug-In Hybrid 2020-21
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Kona 2020
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Kona Electric 2018-19
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Kona Hybrid 2020
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Santa Fe 2021-22
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Santa Fe Hybrid 2022
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Santa Fe Plug-In Hybrid 2022
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Sonata 2018-19
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Kia
Ceed 2019
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Kia
Forte 2018-21
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Kia
K5 2021-22
SCC + LFA
-
-
-
-
-
+
+
+
+
+
Kia
Niro Hybrid 2021-22
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Kia
Optima 2019
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Kia
Seltos 2021
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Kia
Sorento 2018-19
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Kia
Stinger 2018
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Lexus
CT Hybrid 2017-18
LSS
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Lexus
ES Hybrid 2017-18
LSS
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Lexus
NX 2018-19
All
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Lexus
NX Hybrid 2018-19
All
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Lexus
RX 2016-18
All
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Lexus
RX Hybrid 2016-19
All
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
SEAT
Ateca 2018
Driver Assistance
-
-
-
-
-
+
+
+
+
+
SEAT
Leon 2014-20
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Toyota
Avalon 2019-21
TSS-P
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Toyota
Avalon Hybrid 2019-21
TSS-P
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Toyota
C-HR 2017-21
All
-
-
-
-
-
+
+
+
+
+
Toyota
C-HR Hybrid 2017-19
All
-
-
-
-
-
+
+
+
+
+
Toyota
Camry 2018-20
All
-
-
[7](#Footnotes)
-
-
-
+
+
+
+
+
Toyota
Camry Hybrid 2018-20
All
-
-
[7](#Footnotes)
-
-
-
+
+
+
+
+
Toyota
Highlander 2017-19
All
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Toyota
Highlander Hybrid 2017-19
All
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Toyota
RAV4 Hybrid 2016-18
TSS-P
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Toyota
Sienna 2018-20
All
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Volkswagen
Arteon 2018, 2021[5](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Atlas 2018-19, 2022[5](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Golf 2015-20
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Golf Alltrack 2017-18
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Golf GTE 2016
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Golf GTI 2018-20
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Golf R 2016-19
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Golf SportWagen 2015
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Golf SportsVan 2016
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Jetta 2018-21
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Jetta GLI 2021
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Passat 2016-18[4](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Polo 2020
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
T-Cross 2021[5](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
T-Roc 2021[5](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Taos 2022[5](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Tiguan 2020-22[5](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Touran 2017
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
e-Golf 2014, 2019-20
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Škoda
Kamiq 2021[3](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Škoda
Karoq 2019
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Škoda
Kodiaq 2018-19
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Škoda
Octavia 2015, 2018-19
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Škoda
Octavia RS 2016
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Škoda
Scala 2020
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Škoda
Superb 2015-18
Driver Assistance
-
-
-
-
-
+
+
+
+
+
@@ -1138,581 +1138,581 @@
Acura
ILX 2016-19
AcuraWatch Plus
-
-
-
-
-
+
+
+
+
+
Acura
RDX 2016-18
AcuraWatch Plus
-
-
-
-
-
+
+
+
+
+
Acura
RDX 2019-21
All
-
-
-
-
-
+
+
+
+
+
Cadillac
Escalade ESV 2016[2](#Footnotes)
ACC + LKAS
-
-
-
-
-
+
+
+
+
+
Chevrolet
Volt 2017-18[2](#Footnotes)
Adaptive Cruise
-
-
-
-
-
+
+
+
+
+
Chrysler
Pacifica 2017-18
Adaptive Cruise
-
-
-
-
-
+
+
+
+
+
Chrysler
Pacifica 2020
Adaptive Cruise
-
-
-
-
-
+
+
+
+
+
Chrysler
Pacifica Hybrid 2017-18
Adaptive Cruise
-
-
-
-
-
+
+
+
+
+
Chrysler
Pacifica Hybrid 2019-21
Adaptive Cruise
-
-
-
-
-
+
+
+
+
+
GMC
Acadia 2018[2](#Footnotes)
Adaptive Cruise
-
-
-
-
-
+
+
+
+
+
Genesis
G90 2018
All
-
-
-
-
-
+
+
+
+
+
Honda
Accord 2018-21
All
-
-
-
-
-
+
+
+
+
+
Honda
Accord Hybrid 2018-21
All
-
-
-
-
-
+
+
+
+
+
Honda
CR-V 2015-16
Touring
-
-
-
-
-
+
+
+
+
+
Honda
CR-V 2017-21
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
CR-V Hybrid 2017-19
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
Civic 2016-18
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
Civic 2019-20
All
-
-
-
[1](#Footnotes)
-
-
+
+
+
+
+
Honda
Civic Hatchback 2017-21
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
Fit 2018-19
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
Freed 2020
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
HR-V 2019-20
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
Insight 2019-21
All
-
-
-
-
-
+
+
+
+
+
Honda
Inspire 2018
All
-
-
-
-
-
+
+
+
+
+
Honda
Odyssey 2018-20
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
Passport 2019-21
All
-
-
-
-
-
+
+
+
+
+
Honda
Pilot 2016-21
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
Ridgeline 2017-21
Honda Sensing
-
-
-
-
-
+
+
+
+
+
Honda
e 2020
All
-
-
-
-
-
+
+
+
+
+
Hyundai
Elantra 2017-19
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Genesis 2015-16
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Ioniq Electric 2019
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Ioniq Hybrid 2017-19
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Hyundai
Veloster 2019-20
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Jeep
Grand Cherokee 2016-18
Adaptive Cruise
-
-
-
-
-
+
+
+
+
+
Jeep
Grand Cherokee 2019-20
Adaptive Cruise
-
-
-
-
-
+
+
+
+
+
Kia
Niro Plug-In Hybrid 2019
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Kia
Optima 2017
SCC + LKAS
-
-
-
-
-
+
+
+
+
+
Lexus
IS 2017-19
All
-
-
-
-
-
+
+
+
+
+
Lexus
RC 2020
All
-
-
-
-
-
+
+
+
+
+
Mazda
CX-5 2022
All
-
-
-
-
-
+
+
+
+
+
Mazda
CX-9 2021
All
-
-
-
-
-
+
+
+
+
+
Nissan
Altima 2019-20
ProPILOT
-
-
-
-
-
+
+
+
+
+
Nissan
Leaf 2018-22
ProPILOT
-
-
-
-
-
+
+
+
+
+
Nissan
Rogue 2018-20
ProPILOT
-
-
-
-
-
+
+
+
+
+
Nissan
X-Trail 2017
ProPILOT
-
-
-
-
-
+
+
+
+
+
Subaru
Ascent 2019
EyeSight
-
-
-
-
-
+
+
+
+
+
Subaru
Crosstrek 2018-20
EyeSight
-
-
-
-
-
+
+
+
+
+
Subaru
Forester 2019-21
EyeSight
-
-
-
-
-
+
+
+
+
+
Subaru
Impreza 2017-19
EyeSight
-
-
-
-
-
+
+
+
+
+
Toyota
Avalon 2016-18
TSS-P
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Toyota
Corolla 2017-19
All
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Toyota
Prius 2016-20
TSS-P
-
[6](#Footnotes)
-
-
-
[8](#Footnotes)
-
+
+
+
+
+
Toyota
Prius Prime 2017-20
All
-
[6](#Footnotes)
-
-
-
[8](#Footnotes)
-
+
+
+
+
+
Toyota
Prius v 2017
TSS-P
-
[6](#Footnotes)
-
-
-
[8](#Footnotes)
-
+
+
+
+
+
Toyota
RAV4 2016-18
TSS-P
-
[6](#Footnotes)
-
-
-
-
+
+
+
+
+
Volkswagen
California 2021[5](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
Volkswagen
Caravelle 2020[5](#Footnotes)
Driver Assistance
-
-
-
-
-
+
+
+
+
+
diff --git a/docs/vehicles_template.vue b/docs/vehicles_template.vue index 6d174b5bfc..f7e23b1808 100644 --- a/docs/vehicles_template.vue +++ b/docs/vehicles_template.vue @@ -22,26 +22,26 @@

openpilot Adaptive Cruise Control (ACC)

- + {{Star.FULL.html_icon}}

openpilot is able to control the gas and brakes.

- + {{Star.HALF.html_icon}}

openpilot is able to control the gas and brakes with some restrictions.

- + {{Star.EMPTY.html_icon}}

The gas and brakes are controlled by the car's stock Adaptive Cruise Control (ACC) system.

Stop and Go

- + {{Star.FULL.html_icon}}

Adaptive Cruise Control (ACC) operates down to 0 mph.

- + {{Star.EMPTY.html_icon}}

Adaptive Cruise Control (ACC) available only above certain speeds. See your car's manual for the minimum speed.

@@ -55,22 +55,22 @@

Steer to 0

- + {{Star.FULL.html_icon}}

openpilot can control the steering wheel down to 0 mph.

- + {{Star.EMPTY.html_icon}}

No steering control below certain speeds.

Steering Torque

- + {{Star.FULL.html_icon}}

Car has enough steering torque for comfortable highway driving.

- + {{Star.EMPTY.html_icon}}

Limited ability to make turns.

@@ -84,11 +84,11 @@

Actively Maintained

- + {{Star.FULL.html_icon}}

Mainline software support, harness hardware sold by comma, lots of users, primary development target.

- + {{Star.EMPTY.html_icon}}

Low user count, community maintained, harness hardware not sold by comma.

@@ -101,6 +101,8 @@
+ {% set star_tag = '' %} + {% set footnote_tag = '{}' %} {% for tier, car_rows in tiers %}
@@ -121,14 +123,14 @@ {% for row in car_rows %}
-
{{row[0]}}
-
{{row[1]}}
-
{{row[2]}}
-
-
-
-
-
+
{{row[0].text}}
+
{{row[1].text}}
+
{{row[2].text}}
+
{{row[3].star.html_icon}}
{{footnote_tag.format(row[3].footnote) if row[3].footnote else ''}} +
{{row[4].star.html_icon}}
+
{{row[5].star.html_icon}}
+
{{row[6].star.html_icon}}
+
{{row[7].star.html_icon}}
{% endfor %} diff --git a/selfdrive/car/CARS_template.md b/selfdrive/car/CARS_template.md index 7cdb7bc023..2bfc216804 100644 --- a/selfdrive/car/CARS_template.md +++ b/selfdrive/car/CARS_template.md @@ -12,35 +12,37 @@ How We Rate The Cars --- ### openpilot Adaptive Cruise Control (ACC) -- {{Star.FULL.icon}} - openpilot is able to control the gas and brakes. -- {{Star.HALF.icon}} - openpilot is able to control the gas and brakes with some restrictions. -- {{Star.EMPTY.icon}} - The gas and brakes are controlled by the car's stock Adaptive Cruise Control (ACC) system. +- {{Star.FULL.md_icon}} - openpilot is able to control the gas and brakes. +- {{Star.HALF.md_icon}} - openpilot is able to control the gas and brakes with some restrictions. +- {{Star.EMPTY.md_icon}} - The gas and brakes are controlled by the car's stock Adaptive Cruise Control (ACC) system. ### Stop and Go -- {{Star.FULL.icon}} - Adaptive Cruise Control (ACC) operates down to 0 mph. -- {{Star.EMPTY.icon}} - Adaptive Cruise Control (ACC) available only above certain speeds. See your car's manual for the minimum speed. +- {{Star.FULL.md_icon}} - Adaptive Cruise Control (ACC) operates down to 0 mph. +- {{Star.EMPTY.md_icon}} - Adaptive Cruise Control (ACC) available only above certain speeds. See your car's manual for the minimum speed. ### Steer to 0 -- {{Star.FULL.icon}} - openpilot can control the steering wheel down to 0 mph. -- {{Star.EMPTY.icon}} - No steering control below certain speeds. +- {{Star.FULL.md_icon}} - openpilot can control the steering wheel down to 0 mph. +- {{Star.EMPTY.md_icon}} - No steering control below certain speeds. ### Steering Torque -- {{Star.FULL.icon}} - Car has enough steering torque for comfortable highway driving. -- {{Star.EMPTY.icon}} - Limited ability to make turns. +- {{Star.FULL.md_icon}} - Car has enough steering torque for comfortable highway driving. +- {{Star.EMPTY.md_icon}} - Limited ability to make turns. ### Actively Maintained -- {{Star.FULL.icon}} - Mainline software support, harness hardware sold by comma, lots of users, primary development target. -- {{Star.EMPTY.icon}} - Low user count, community maintained, harness hardware not sold by comma. +- {{Star.FULL.md_icon}} - Mainline software support, harness hardware sold by comma, lots of users, primary development target. +- {{Star.EMPTY.md_icon}} - Low user count, community maintained, harness hardware not sold by comma. **All supported cars can move between the tiers as support changes.** +{% set footnote_tag = '[{}](#Footnotes)' %} {% for tier, car_rows in tiers %} ## {{tier}} Cars |{{columns | join('|')}}| |---|---|---|:---:|:---:|:---:|:---:|:---:| {% for row in car_rows %} -|{{row | join('|')}}| +|{% for row_item in row %}{{row_item.text if row_item.text else row_item.star.md_icon}}{{footnote_tag.format(row_item.footnote) if row_item.footnote else ''}}|{% endfor %} + {% endfor %} {% endfor %} diff --git a/selfdrive/car/docs.py b/selfdrive/car/docs.py index b8b94a1652..08f7e8d957 100755 --- a/selfdrive/car/docs.py +++ b/selfdrive/car/docs.py @@ -21,10 +21,10 @@ def get_all_footnotes(): ALL_FOOTNOTES: Dict[Enum, int] = get_all_footnotes() -# CARS_MD_OUT = os.path.join(BASEDIR, "docs", "CARS.md") -# CARS_MD_TEMPLATE = os.path.join(BASEDIR, "selfdrive", "car", "CARS_template.md") -CARS_MD_OUT = os.path.join(BASEDIR, "docs", "vehicles.vue") -CARS_MD_TEMPLATE = os.path.join(BASEDIR, "docs", "vehicles_template.vue") +CARS_MD_OUT = os.path.join(BASEDIR, "docs", "CARS.md") +CARS_MD_TEMPLATE = os.path.join(BASEDIR, "selfdrive", "car", "CARS_template.md") +# CARS_MD_OUT = os.path.join(BASEDIR, "docs", "vehicles.vue") +# CARS_MD_TEMPLATE = os.path.join(BASEDIR, "docs", "vehicles_template.vue") def get_tier_car_rows() -> Iterator[Tuple[str, List[str]]]: @@ -50,7 +50,7 @@ def get_tier_car_rows() -> Iterator[Tuple[str, List[str]]]: # Return tier title and car rows for each tier for tier, car_rows in tier_car_rows.items(): - yield tier.name.title(), sorted(car_rows) + yield tier.name.title(), sorted(car_rows, key=lambda x: x[0].text + x[1].text) def generate_cars_md(tier_car_rows: Iterator[Tuple[str, List[str]]], template_fn: str) -> str: diff --git a/selfdrive/car/docs_definitions.py b/selfdrive/car/docs_definitions.py index 95591652ee..6a52224dde 100644 --- a/selfdrive/car/docs_definitions.py +++ b/selfdrive/car/docs_definitions.py @@ -51,16 +51,28 @@ class CarInfo: # Check for car footnotes and get star icons for row_idx, column in enumerate(Column): + row_item = RowItem() if column in StarColumns: - row[row_idx] = row[row_idx].icon + row_item.star = row[row_idx] + else: + row_item.text = row[row_idx] footnote = get_footnote(self.footnotes, column) if footnote is not None: - row[row_idx] += f"[{all_footnotes[footnote]}](#Footnotes)" + row_item.footnote = all_footnotes[footnote] + # row[row_idx] += f"[{all_footnotes[footnote]}](#Footnotes)" + row[row_idx] = row_item return row +@dataclass +class RowItem: + text: Optional[str] = None + footnote: Optional[int] = None + star: Optional[str] = None + + class Tier(Enum): GOLD = "Gold" SILVER = "Silver" @@ -84,9 +96,13 @@ class Star(Enum): EMPTY = "empty" @property - def icon(self): + def md_icon(self): return f'' + @property + def html_icon(self): + return f'' + StarColumns = list(Column)[3:] CarFootnote = namedtuple("CarFootnote", ["text", "column", "star"], defaults=[None])