Conversation
This reverts commit c0bdcc5.
|
How can we be more robust to this? |
|
Sorry about the breakage. Since OP currently builds with opendbc@master, there are two options that I can think of: A. peg opendbc to a specific version in OP repo I assume you don't want to do A. for sake of development velocity, but let me know if you think otherwise. |
This reverts commit f960080.
|
I think the port from panda to opendbc was a bit hacky to get the paths working properly, we can probably refactor that a ton |
Ahaha this is what I'm trying to do in commaai/panda#2171 (comment) 🫠 The main problem is that there's duplicated code in opendbc and panda, which makes it extremely are to refactor without compilation errors AND without breaking OP. If you don't mind breaking OP for a few minutes, I have 3 PRs that will fix the duplicated code problem. This will in turn allow us to land the cpplint PR. They need to be merged in this order:
Please let me know if you see a different path... This is all I have after massaging this for a really long time. |
|
Ideally we can do this piece wise without putting opendbc in a bad state for external projects. Revert one and suddenly something is broken |
|
Just to be clear, the changes proposed above never put opendbc itself in a bad state–it does temporarily break panda and OP tho. We have 3 options:
Do you have a preference? |
|
I thought about it some more. Option #2 is the least problematic option. We can rely on MISRA checks to prevent divergent declarations of dlc_to_len. I updated the PR accordingly. |
This reverts commit f960080.
* Reapply "enable cpplint" (commaai#2245) This reverts commit f960080. * include from root * revert that * clean that up * seriously?
Revert "enable cpplint (commaai#2238)" This reverts commit 7c4d6be.
* Reapply "enable cpplint" (commaai#2245) This reverts commit 84817b8. * include from root * revert that * clean that up * seriously?
Reverts #2238
Breaks openpilot compilation