Skip to content

Get dlc_to_len from opendbc#35239

Closed
aubsw wants to merge 1 commit intocommaai:masterfrom
aubsw:fork-can-dot-h
Closed

Get dlc_to_len from opendbc#35239
aubsw wants to merge 1 commit intocommaai:masterfrom
aubsw:fork-can-dot-h

Conversation

@aubsw
Copy link
Copy Markdown

@aubsw aubsw commented May 15, 2025

Description

Get dlc_to_len from opendbc/safety/board/can_declarations.h. This is part of a refactor for opendbc/safety/board/can_declarations.h

This allows us to finally break free from duplicated code between panda and opendbc.

Verification

Compiled locally:

openpilot % scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.

This must be merged after:

@aubsw aubsw changed the title Get dlc_to_len from opendbc/safety/board/can_declarations.h Get dlc_to_len from opendbc May 15, 2025
@aubsw aubsw marked this pull request as ready for review May 15, 2025 21:59
@adeebshihadeh
Copy link
Copy Markdown
Contributor

Doesn't build in CI

@adeebshihadeh adeebshihadeh marked this pull request as draft May 18, 2025 15:40
@aubsw
Copy link
Copy Markdown
Author

aubsw commented May 20, 2025

Sorry, I just had the PR for demonstration purposes (needs commaai/opendbc#2248
commaai/panda#2186 first). But think that all of these PRs are now unecessary since you fixed opendbc dependency stuff! Closing, thanks!

@aubsw aubsw closed this May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants