-
Notifications
You must be signed in to change notification settings - Fork 811
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 long support #2061
Conversation
563b2f2
to
65ef827
Compare
@chrispypatt I can't directly push to your branch, so I opened another one at #2072. I think that PR should work for our purposes, but it requires a tweak to opendbc (I'll comment over there) and some thought put into a cleaner common test. I'll add another comment about why shortly. If you are comfortable with tackling the TODOs with a bit of guidance, please feel free to lift the contents of that PR into yours and run with it. Otherwise I'll get back to it when I can, but it may be a little while. |
Thanks @jyoung8607 i will try tackling the TODOs you mentioned. Is there just a permission issue that doesn’t allow you to push to my branch? I’m happy giving you permissions if needed. |
Nothing on your end. For understandable reasons, comma doesn't allow external contributors to commit directly to Panda safety code, so the usual GitHub mechanism for pushing to PR branches doesn't work between us. I added one more cleanup to my PR which you can cherry pick, and I decided to leave the radar diagnostic thing alone for now. The only remaining TODO is cleaning up the test if we can. It's functional, but it would be nice if we can cleanly refactor the common tests to allow for testing two different accel messages with two different sets of allow conditions. VW need this as well as Toyota. |
Sounds good. I will take a look at refactoring that common test |
9d53389
to
eac8676
Compare
eac8676
to
60577b3
Compare
Co-authored-by: PenitentTangent2401 <57408008+PenitentTangent2401@users.noreply.github.com>
ec8b8c3
to
5985be4
Compare
5985be4
to
218d6af
Compare
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
@sunnyhaibin the tests are now failing after removing the |
@jyoung8607 what else needs to be done here? I know you don't like the tests... can I either get some guidance on what would be preferred improvements for these tests or if we are fine backing out the common test changes I made to add an What needs to be completed before this can be merged? |
We've moved the car safety code into opendbc, please rebase and re-open your PR there! |
Thanks for the heads up @sshane, I moved the safety code to my existing opendbc PR commaai/opendbc#1385 |
Creates a SECOC variant of common long messages. This is basically a copy of the
TOYOTA_COMMON_LONG_TX_MSGS
but:TOYOTA_COMMON_TX_MSGS
forTOYOTA_COMMON_SECOC_TX_MSGS
Accompanies: commaai/opendbc#1385