GithubHelp home page GithubHelp logo

OpenPilot for BMW's about openpilot HOT 14 CLOSED

commaai avatar commaai commented on July 22, 2024 7
OpenPilot for BMW's

from openpilot.

Comments (14)

jfrux avatar jfrux commented on July 22, 2024 1

from openpilot.

geohot avatar geohot commented on July 22, 2024

It would take a bit of engineering. It's very doable by an outside party given what we've released.

from openpilot.

derek99401 avatar derek99401 commented on July 22, 2024

I got a F32, the car's can bus from ODBII port (using Panda) only gives heartbeat messages with msg ID 0:130. I did some search online, it turned out that you have to tap into other ports in order to get more useful data stream.

from openpilot.

triscb82 avatar triscb82 commented on July 22, 2024

I have a fully loaded G30 along with all the technical documentation. I am looking for someone who has programming knowledge to help me get OpenPilot running on it. Who’s game??

from openpilot.

jfrux avatar jfrux commented on July 22, 2024

See Flexray notes in README

from openpilot.

greutair avatar greutair commented on July 22, 2024

Would it be working with the BMW i3 not having built in a radar?

from openpilot.

MrQwertyDude07 avatar MrQwertyDude07 commented on July 22, 2024

Hello! Would this work on a fully loaded 2021 BMW Z4

from openpilot.

kaeferfreund avatar kaeferfreund commented on July 22, 2024

I found the latest BMW ADAS with iStep 03/2021 to be very close to open pilot in regards of lane keeping + there are more functions e.g. reading the speed signs and using that as the acc set speed

@geohot try the latest BMW ADAS (I know, its mobileye) but since the 03/2021 OTA update (yes they update the whole car!) it really made OP a lot less attractive :/

from openpilot.

Pecacheu avatar Pecacheu commented on July 22, 2024

Hi, I just heard about this. I'm wanting to know if BMW i3 support is possible. It just feels like a perfect candidate for this, a vehicle with early generation ACC and lane keep that BMW just... Abandoned.

I'm amazed this project even exists, but honestly, surprised it doesn't already support the i3 as that's something I would've thought of quickly alongside the Leaf and Bolt when thinking of "the poor man's Tesla," and evidently it has the sensors and hardware to turn the steering column, so it seems like a good candidate.

First question: How come this issue is closed? That would indicate support was added, and I do see some merged pulls, but I don't see any BMWs on the support list. (NOTE: The link @jfrux gave is dead)

Second question: If the i3/other BMWs are not supported, what would it take to add them? I have a cheap ODBII adapter, used CANBUS once to make two Arduinos talk to each other, know C++ and Python very well, and have a little AI dev experience too, but uh, I know nothing about vehicles at all, other than that the i3 is basically a giant RC toy car with lots of torque and I love it. @derek99401 mentioned you need to tap into more ports than ODBII?

from openpilot.

triscb82 avatar triscb82 commented on July 22, 2024

from openpilot.

Pecacheu avatar Pecacheu commented on July 22, 2024

Ah, I see. I honestly didn't know that all modern cars don't use CANBUS. So I take it from Wikipedia, FlexRay is an alternative protocol that some vehicles used to use, including BMWs. I was able to find this rather relevant thread just form a search for 'FlexRay BMW', actually.

And yeah, that sucks. Something tells me you can't just go out and buy an Arduino shield for this like you can with CANBUS (in fact I already have one, as I mentioned). I couldn't find any shields in a quick search, though I did find mention of a a FlexRay library, and whatever the heck this is.

from openpilot.

film42 avatar film42 commented on July 22, 2024

I know there was a bounty for this in the past, and I'd like to renew that if possible. I'd also love to see this happen.

from openpilot.

Pecacheu avatar Pecacheu commented on July 22, 2024

If anyone has any info on FlexRay development, I could give a crack at it. I don't think an Arduino has enough CPU power to handle the throughput, but a Raspberry Pi surely should. But I can find little info about the protocol or adapters available. And without the ability to use software like SAVVYCAN, reverse engineering might be difficult. Honestly, I almost just want to rip the car apart and hook wires straight up to the power steering motor.

On the plus side, folks in the i3 development Discord have figured out the steering angle sensor and some other sensors available on the CANBUS lines. I have given this a test in SAVVYCAN and can confirm it works. Power steering control is definitely on the FlexRay bus though, not CAN. The KFAS (Driver Assist/Front Camera) module talks to the EPS (Electronic Power Steering) module directly over this bus, and the BDC (More or less the main hub of the BMW) is also on this line along with all the CAN lines (of which there are several with different sensors). There are also some separate LIN lines which have various small buttons and sensors on them.

from openpilot.

catalinsim avatar catalinsim commented on July 22, 2024

Hey George,

I love to see what you are doing here and I'd wish to try the system. But at my place we only got BMW's. These also have radar-sensors and adaptive cruise control.

What is needed to add a BMW Port to open pilot? I could do a can-log/-dump for you on F10, F20 (LCI) and other models, if that helps...

Hi,

Are you still able to provide a can log for any Fxx car?

Thanks

from openpilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.