Skip to content

Commit

Permalink
car docs: no experimental mode for alpha long cars (commaai#32079)
Browse files Browse the repository at this point in the history
not alpha
  • Loading branch information
sshane authored Apr 4, 2024
1 parent 5892056 commit d7ea27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/docs_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def get_detail_sentence(self, CP):

# experimental mode
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:
if CP.openpilotLongitudinalControl and not CP.experimentalLongitudinalAvailable:
sentence_builder += f" Traffic light and stop sign handling is also available in {exp_link}."

return sentence_builder.format(car_model=f"{self.make} {self.model}", alc=alc, acc=acc)
Expand Down

0 comments on commit d7ea27c

Please sign in to comment.