From f933d543b20aba0a90943d598f333a75b18ab918 Mon Sep 17 00:00:00 2001
From: Erich Moraga <33645296+ErichMoraga@users.noreply.github.com>
Date: Fri, 15 Apr 2022 10:12:18 -0500
Subject: [PATCH] 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
---
docs/CARS.md | 2 +-
selfdrive/car/toyota/values.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/CARS.md b/docs/CARS.md
index b5c0128d9c..2eef5db5d9 100644
--- a/docs/CARS.md
+++ b/docs/CARS.md
@@ -49,7 +49,7 @@ How We Rate The Cars
|Lexus|ES 2019-21|All|
|
|
|
|
|
|Lexus|ES Hybrid 2019-21|All|
|
|
|
|
|
|Lexus|NX 2020|All|
|
|
|
|
|
-|Lexus|RX 2020-21|All|
|
|
|
|
|
+|Lexus|RX 2020-22|All|
|
|
|
|
|
|Lexus|RX Hybrid 2020-21|All|
|
|
|
|
|
|Lexus|UX Hybrid 2019-21|All|
|
|
|
|
|
|Toyota|Alphard 2019-20|All|
|
|
|
|
|
diff --git a/selfdrive/car/toyota/values.py b/selfdrive/car/toyota/values.py
index 04157bf080..94781963ca 100644
--- a/selfdrive/car/toyota/values.py
+++ b/selfdrive/car/toyota/values.py
@@ -151,7 +151,7 @@ CAR_INFO: Dict[str, Union[ToyotaCarInfo, List[ToyotaCarInfo]]] = {
CAR.LEXUS_RC: ToyotaCarInfo("Lexus RC 2020"),
CAR.LEXUS_RX: ToyotaCarInfo("Lexus RX 2016-18", footnotes=[Footnote.DSU]),
CAR.LEXUS_RXH: ToyotaCarInfo("Lexus RX Hybrid 2016-19", footnotes=[Footnote.DSU]),
- CAR.LEXUS_RX_TSS2: ToyotaCarInfo("Lexus RX 2020-21"),
+ CAR.LEXUS_RX_TSS2: ToyotaCarInfo("Lexus RX 2020-22"),
CAR.LEXUS_RXH_TSS2: ToyotaCarInfo("Lexus RX Hybrid 2020-21"),
}