commaai / openpilot

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 275+ supported cars.
https://comma.ai/openpilot
MIT License
50.03k stars 9.13k forks source link

LKAS fault: Restart car to engage | Toyota hybrid 2022 #34012

Open sbr5136014 opened 2 weeks ago

sbr5136014 commented 2 weeks ago

Describe the bug

I installed camera 3 with the open pilot master branch it's connecting to the car but after a minute I got this message "LKAS fault: Restart car to engage" (after the comma 3 is turned on, I can't change the lane assistance settings on the car) any help! image000000 (2)

Which car does this affect?

Toyota sienna hybrid 2022

Provide a route where the issue occurs

11/12/2024

openpilot version

0.9.7

Additional info

No response

jyoung8607 commented 2 weeks ago

Did you take the necessary steps to recover the CAN security key? That's the error you'll see if you haven't done it. That's why the car isn't on the officially supported plug-and-play list.

Please join the comma Discord server and look at the pinned messages in #toyota-security for everything you need to know.

Side note: it's a bug that we don't communicate this well, you're supposed to be seeing a more informative message, but I haven't had a chance to investigate why the event isn't doing what I intended. You still need to do the same thing, we just suck at communicating it right now.

https://github.com/commaai/openpilot/blob/96f6e186c4d07f5dff65b71122699bc8138af49b/selfdrive/selfdrived/events.py#L385-L389

jyoung8607 commented 2 weeks ago

The original end user can fix themselves with a bit of RTFM, but I'm leaving this issue open to track the Event bug.

sshane commented 2 weeks ago

@jyoung8607 can you migrate issues? should we move to opendbc or close?

jyoung8607 commented 2 weeks ago

I don't have the mojo to migrate anymore, but we shouldn't need to. The events are handled in controls or car_specific here on the openpilot side. You could retitle it to "SecOC missing key event is broken".

sshane commented 2 weeks ago

Need to do something like this: https://github.com/commaai/openpilot/blob/87bc80d35145686903ccb499cd4fe4092054a45e/selfdrive/selfdrived/selfdrived.py#L131-L132