pull/24809/head
Shane Smiskol 3 years ago
parent 22e9e3d658
commit d88bd45ebe
  1. 2
      selfdrive/car/CARS_template.md
  2. 24
      selfdrive/car/docs_definitions.py

@ -18,7 +18,7 @@ How We Rate The Cars
{% for name, stars in descriptions.items() %} {% 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)}} - {{description}}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}

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

Loading…
Cancel
Save