Skip to content
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

Saying 'hi', also opendbc #1

Closed
rusefillc opened this issue Feb 22, 2022 · 13 comments
Closed

Saying 'hi', also opendbc #1

rusefillc opened this issue Feb 22, 2022 · 13 comments

Comments

@rusefillc
Copy link

I am using this issue to start a dialog if that's OK 👍

Since you've moved BMW DBC files so much forward have you tried PRing anything into upstream https://github.com/commaai/opendbc? Is there any drama or else in terms of them not accepting BMW contributions etc?

I myself play with E65 which seems to overlap a lot see https://rusefi.com/forum/viewtopic.php?f=2&t=2241

@dzid26
Copy link
Owner

dzid26 commented Feb 22, 2022

There was no drama, but they may have changed the stance now.

It added there most of the things needed by openpilot, so I was 50:50 thinking they would merge it.
I PR'ed there for people to have easier way to find it. I am sure it causes a bit of confusion for people thinking they could run Openpilot easily with their BMW.
In theory Openpilot could provide longitudinal Control (adaptive cruise control) for e90s without any extra hardware, so I guess that could be the rationale for adding it to their repo.

Nice efforts for E65.

@dzid26
Copy link
Owner

dzid26 commented Feb 22, 2022

I could try to request PR again.

@rusefillc
Copy link
Author

Yes please PR some or all of https://github.com/dzid26/opendbc-BMW-E8x-E9x changes upstream

also can you merge/rebase https://github.com/commaai/opendbc changes into your fork to reduce diversion between fork and upstream?

eventually we would also want to PR and the open question is how not to duplicate effort and where to PR to reduce or avoid merge conflicts.

@dzid26
Copy link
Owner

dzid26 commented Feb 24, 2022

I submitted the PR.

I guess comma's opendbc repo could be the main avenue if they merge without problems.

I think it would be best anyway to watch each other's GitHub repos for any changes to avoid work duplicates.

Also, my general "worries" are that:

  1. Possible conflicts between E65 and E90, etc. Maybe they should be separate files and overlaps could be merged manually.
  2. Different tools provide slightly different dbc and e.g. cabana or kvaser have quite relaxed parsing, while CANdb++ is very strict. It's best to at least open the file with CANdb++ to check for errors before submitting.

@rusefillc
Copy link
Author

rusefillc commented Feb 24, 2022

Thank you @dzid26 !

From your past experience what's your prognosis on commaai/opendbc#572 merge? :)

@dzid26
Copy link
Owner

dzid26 commented Feb 24, 2022

I did it just once, so I am not sure.
Let's see.

@dzid26
Copy link
Owner

dzid26 commented Feb 24, 2022

They've updated quickly.

@rusefillc
Copy link
Author

Sweeeeeeeeeeeeeeeeet

You probably know that you need to refresh your fork now

image

@rusefillc
Copy link
Author

@HeinrichG-V12 welcome to our little chat issue :)

I assume that @dzid26 has an E89

@rusefillc
Copy link
Author

PS: @dzid26 is your Z4 manual or auto?

@dzid26
Copy link
Owner

dzid26 commented Feb 24, 2022

I updated master branch as well.
I have E82 DCT actually.

@rusefillc
Copy link
Author

DCT very very interesting :) so for instance would you be interested in
https://github.com/HeinrichG-V12/E65_ReverseEngineering/blob/main/docs/0x0BA.md which has more than
https://github.com/commaai/opendbc/blob/a604b15617a1fcad914f10b7f4430dbcf080708a/bmw_e9x_e8x.dbc#L124 or is that just not the area of your interest?

what are your primary areas of interest? :)

@dzid26
Copy link
Owner

dzid26 commented Feb 25, 2022

Probably nothing at the moment. Busy with other things.

I was doing this mainly to interface with openpilot's speed control. And then a bit more for finding differences between M/non-M modules versions.

Maybe worth trying to search for currently active people on spoolstreet forum. https://www.spoolstreet.com/forums/coding-programming-retrofits.136/ Few of them out there do tunes and retrofits that involve CAN deciphering or firmware disassembly.

@dzid26 dzid26 closed this as completed Sep 17, 2023
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

No branches or pull requests

2 participants