docs: remove experimental mode comments from unsupported cars

pull/29183/head
Cameron Clough 2 years ago
parent 2762a088f1
commit 2fd6310352
No known key found for this signature in database
GPG Key ID: BFB3B74B026ED43F
  1. 2
      selfdrive/car/docs_definitions.py

@ -320,8 +320,6 @@ class CarInfo:
exp_link = "<a href='https://blog.comma.ai/090release/#experimental-mode' target='_blank' class='link-light-new-regular-text'>Experimental mode</a>"
if CP.openpilotLongitudinalControl or CP.experimentalLongitudinalAvailable:
sentence_builder += f" Traffic light and stop sign handling is also available in {exp_link}."
else:
sentence_builder += f" {exp_link}, with traffic light and stop sign handling, is not currently available for this car, but may be added in a future software update."
return sentence_builder.format(car_model=f"{self.make} {self.model}", alc=alc, acc=acc)

Loading…
Cancel
Save