Need this for the website

pull/24809/head
Shane Smiskol 3 years ago
parent 5aae8bc6ab
commit 22e9e3d658
  1. 4
      selfdrive/car/CARS_template.md
  2. 50
      selfdrive/car/docs_definitions.py

@ -14,12 +14,14 @@ Cars are organized into three tiers:
How We Rate The Cars How We Rate The Cars
--- ---
{% for name, stars in star_descriptions.items() %} {% for descriptions in star_descriptions.values() %}
{% for name, stars in descriptions.items() %}
### {{name}} ### {{name}}
{% for star, description in stars %} {% for star, description in stars %}
- {{star_icon.format(star.value)}} - {{description}} - {{star_icon.format(star.value)}} - {{description}}
{% endfor %} {% endfor %}
{% endfor %}
{% endfor %} {% endfor %}
**All supported cars can move between the tiers as support changes.** **All supported cars can move between the tiers as support changes.**

@ -153,26 +153,32 @@ class Harness(Enum):
STAR_DESCRIPTIONS = { STAR_DESCRIPTIONS = {
"openpilot Adaptive Cruise Control (ACC)": [ "longitudinal": {
(Star.FULL, "openpilot is able to control the gas and brakes."), "openpilot Adaptive Cruise Control (ACC)": [
(Star.HALF, "openpilot is able to control the gas and brakes with some restrictions."), (Star.FULL, "openpilot is able to control the gas and brakes."),
(Star.EMPTY, "The gas and brakes are controlled by the car's stock Adaptive Cruise Control (ACC) system."), (Star.HALF, "openpilot is able to control the gas and brakes with some restrictions."),
], (Star.EMPTY, "The gas and brakes are controlled by the car's stock Adaptive Cruise Control (ACC) system."),
"Stop and Go": [ ],
(Star.FULL, "Adaptive Cruise Control (ACC) operates down to 0 mph."), "Stop and Go": [
(Star.EMPTY, "Adaptive Cruise Control (ACC) available only above certain speeds. See your car's manual for the minimum speed."), (Star.FULL, "Adaptive Cruise Control (ACC) operates down to 0 mph."),
], (Star.EMPTY, "Adaptive Cruise Control (ACC) available only above certain speeds. See your car's manual for the minimum speed."),
"Steer to 0": [ ],
(Star.FULL, "openpilot can control the steering wheel down to 0 mph."), },
(Star.EMPTY, "No steering control below certain speeds."), "steering": {
], "Steer to 0": [
"Steering Torque": [ (Star.FULL, "openpilot can control the steering wheel down to 0 mph."),
(Star.FULL, "Car has enough steering torque to take tighter turns."), (Star.EMPTY, "No steering control below certain speeds."),
(Star.HALF, "Car has enough steering torque for comfortable highway driving."), ],
(Star.EMPTY, "Limited ability to make turns."), "Steering Torque": [
], (Star.FULL, "Car has enough steering torque to take tighter turns."),
"Actively Maintained": [ (Star.HALF, "Car has enough steering torque for comfortable highway driving."),
(Star.FULL, "Mainline software support, harness hardware sold by comma, lots of users, primary development target."), (Star.EMPTY, "Limited ability to make turns."),
(Star.EMPTY, "Low user count, community maintained, harness hardware not sold by comma."), ],
], },
"support": {
"Actively Maintained": [
(Star.FULL, "Mainline software support, harness hardware sold by comma, lots of users, primary development target."),
(Star.EMPTY, "Low user count, community maintained, harness hardware not sold by comma."),
],
},
} }

Loading…
Cancel
Save