From aac946a2a047f8e8f788cd43b1f29610dbe8d119 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 22 Mar 2022 15:49:44 -0700 Subject: [PATCH] does GH handle this html well? --- docs/CARS.md | 2 +- selfdrive/car/docs.py | 1 + selfdrive/car/gm/values.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/CARS.md b/docs/CARS.md index b9dbf88242..7572887059 100644 --- a/docs/CARS.md +++ b/docs/CARS.md @@ -207,7 +207,7 @@ How We Rate The Cars 12019 Honda Civic 1.6L Diesel Sedan does not have ALC below 12mph.
-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).
+2When 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).
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.
diff --git a/selfdrive/car/docs.py b/selfdrive/car/docs.py index 445197e9e1..b9f5b0d06e 100755 --- a/selfdrive/car/docs.py +++ b/selfdrive/car/docs.py @@ -58,6 +58,7 @@ def generate_cars_md(tier_car_rows: List[Tuple[Tier, List[RowItem]]], template_f template = jinja2.Template(f.read(), trim_blocks=True, lstrip_blocks=True) footnotes = [fn.value.text for fn in ALL_FOOTNOTES] + print(tier_car_rows[0][1][0]) return template.render(tiers=tier_car_rows, columns=[column.value for column in Column], footnotes=footnotes, Star=Star) diff --git a/selfdrive/car/gm/values.py b/selfdrive/car/gm/values.py index 8f5e6d5845..ed68f6ec37 100644 --- a/selfdrive/car/gm/values.py +++ b/selfdrive/car/gm/values.py @@ -56,8 +56,8 @@ class CAR: class Footnote(Enum): OBD_II = CarFootnote( - "Requires 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).", + "When 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).", Column.MODEL)