Пропустить навигацию
Weekend project: reverse engineered the RAM 2500 CAN bus.
0:00 / 0:20

Weekend project: reverse engineered the RAM 2500 CAN bus.

Christopher Stanley

@cstanley113 тыс. подписчиков

Открыть в X
1 810 отметок «Нравится»СкачатьОригинальный пост

190 380 просмотров

Weekend project: reverse engineered the RAM 2500 CAN bus. Captured live CAN traffic, found the message IDs that moved in the 2024 layout, patched the DBC/fingerprint path, and got openpilot working. Supervised L2, not full self driving, but still pretty damn cool!

55 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля elliott

    @cyburke

    Comma algorithm has found me! I see you have the 4 up there. Cute lil' fella! Love seeing progress like this. My C3X still blows me away every day especially running on a now 10 year old car and doing what it does.

    24 отметки «Нравится»

  • Фото профиля Christopher Stanley

    @cstanley

    Super fun! I’ve also been playing around with the comma 4 UI to change what it displays since it’s much smaller than the 3

    16 отметок «Нравится»

  • Фото профиля elliott

    @cyburke

    Have you tested a fork yet that allows the Comma to keep control of the Lateral while you maintain the Long with your foot? Your car is newer so the steer ratio might be tighter, but on mine I noticed with a heavier car I could hold harder turns by me handling long myself.

    2 отметки «Нравится»

  • Фото профиля Christopher Stanley

    @cstanley

    Right now I’m running my own SunnyPilot fork with a few changes to reduce the ping ponging I was seeing. I can cancel ACC and still keep comma controlling LKAS, but lateral control still drops out at 36 mph and below. That seems to be a limitation in the factory LKAS/EPS control path on the Ram HD, not just a SunnyPilot setting. There may be some way to do a hardware man in the middle setup to work around that limit while still using the steering assist path, but I need to dig into it more. I’m still pretty new to this scene honestly haha.

    4 отметки «Нравится»

  • Фото профиля elliott

    @cyburke

    It is a LOT to learn. You seem like you are already far beyond just base level for sure. In my car I had to get a sDSU setup in order to work with below ~20-something mph down to zero. That works! But.. comes with a caveat in that Comma deprecated the sDSU and now I'm pinned.

    1 отметка «Нравится»

  • Фото профиля Christopher Stanley

    @cstanley

    Yeah, you could probably backport the sDSU setup into a newer comma/openpilot version so you are not pinned to the older build. I have not looked at how invasive that would be yet, but if the old sDSU path still worked for your car, it may just be a matter of bringing that support forward cleanly.

    1 отметка «Нравится»

  • Фото профиля elliott

    @cyburke

    I know some people were working on it but I haven't gone down that rabbit hole on Discord to find it. I've been juggling figuring out local LLM and other stuff related to Hermes and all of that for the past few months. My current pinned model is working and I use it every day. 😄

  • Фото профиля Christopher Stanley

    @cstanley

    What version are you running? I’ll look to see if it’s easy.

  • Фото профиля Tech-Zilla

    @TechnicalZilla

    I trust Bill Cosby at a lemonade stand more than I'd trust that Wile E. Coyote setup.

    24 отметки «Нравится»

  • Фото профиля Qptc

    @Qptc12

    Damn, wishing I splurged on lane assist and ACC now! Supervised L2 makes eating while driving so much easier

    8 отметок «Нравится»

  • Фото профиля Christopher Stanley

    @cstanley

    Exactly this haha

    4 отметки «Нравится»

  • Фото профиля Nate McGrady

    @natemcgrady

    Great use of free will

    7 отметок «Нравится»

  • Фото профиля Mothberg 133

    @GodsLibtard

    I don't like that you can move the steering wheel through CAN. like that shouldn't be possible

    5 отметок «Нравится»

  • Фото профиля Christopher Stanley

    @cstanley

    I get why that sounds sketchy, but that is how factory LKAS works. It is not directly driving a random motor, it is sending steering assist commands through the OEM EPS/LKAS path, with factory torque limits, checks, and driver override still in place.

    15 отметок «Нравится»

  • Фото профиля Mothberg 133

    @GodsLibtard

    Ye but why over OBD?

  • Фото профиля The Niggler

    @nigggler69

    @cstanley It’s not over obd… that’s what the harness is for

    2 отметки «Нравится»

  • Фото профиля Mothberg 133

    @GodsLibtard

    @cstanley CAN*, should be direct wired imo

    1 отметка «Нравится»

  • Фото профиля overbeykno

    @overbeykno

    @nigggler69 @cstanley How do you think every vehicle with LKAS does it?

    2 отметки «Нравится»

  • Фото профиля Mothberg 133

    @GodsLibtard

    @nigggler69 @cstanley module with direct connection to steering electronics

    1 отметка «Нравится»

  • Фото профиля The Eagle🌲

    @EagleZeroX

    Lol Stellantis will NOT be happy about this. Automotive OEMs are pathological about protecting their software. To the tremendous detriment of the consumer and especially aftermarket.

    4 отметки «Нравится»