-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toyota: Add SECOC longitudinal control #1385
base: master
Are you sure you want to change the base?
Conversation
745b551
to
848f074
Compare
848f074
to
ce6b289
Compare
c8afe63
to
96c184f
Compare
96c184f
to
490067a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Long term I'd like to clean up the SecOC message wrapping convention, but that's a separate refactor that we don't need to get into for this PR.
For development purposes we've gotten away with setting the accel value in both ACC control messages, but before we merge we need to match stock actuation behavior: always set zero/inactive acceleration in ACC_CONTROL, and only send the true accel in ACC_CONTROL_2. There are checks in commaai/panda#2072 to ensure this correct behavior.
Aside from that, LGTM.
Just passing a Discord Link here to some of the chatter on the state of the PR: Nov 21: "Well the mutation tests are failing so something seems wrong functionally. But I would also say my attempt at supporting two acc commands in the tests is a bit gross" https://discord.com/channels/469524606043160576/905950538816978974/1309380353261174847 |
openpilotLongitudinalControl
disableThis will be accompanied by this related panda safety PR: commaai/panda#2061