required changes to make the website generation work

pull/24809/head
Shane Smiskol 3 years ago
parent d88bd45ebe
commit 9e1516433d
  1. 40
      selfdrive/car/docs_definitions.py

@ -153,32 +153,32 @@ class Harness(Enum):
STAR_DESCRIPTIONS = { STAR_DESCRIPTIONS = {
"longitudinal": { "Gas & Brakes": { # icon and row name
"openpilot Adaptive Cruise Control (ACC)": [ "openpilot Adaptive Cruise Control (ACC)": [ # star column
(Star.FULL.value, "openpilot is able to control the gas and brakes."), [Star.FULL.value, "openpilot is able to control the gas and brakes."],
(Star.HALF.value, "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.value, "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": [ Column.FSR_LONGITUDINAL.value: [
(Star.FULL.value, "Adaptive Cruise Control (ACC) operates down to 0 mph."), [Star.FULL.value, "Adaptive Cruise Control (ACC) operates down to 0 mph."],
(Star.EMPTY.value, "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": [ Column.FSR_STEERING.value: [
(Star.FULL.value, "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.value, "No steering control below certain speeds."), [Star.EMPTY.value, "No steering control below certain speeds."],
], ],
"Steering Torque": [ Column.STEERING_TORQUE.value: [
(Star.FULL.value, "Car has enough steering torque to take tighter turns."), [Star.FULL.value, "Car has enough steering torque to take tighter turns."],
(Star.HALF.value, "Car has enough steering torque for comfortable highway driving."), [Star.HALF.value, "Car has enough steering torque for comfortable highway driving."],
(Star.EMPTY.value, "Limited ability to make turns."), [Star.EMPTY.value, "Limited ability to make turns."],
], ],
}, },
"support": { "Support": {
"Actively Maintained": [ Column.MAINTAINED.value: [
(Star.FULL.value, "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.value, "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