Gezinmeyi atla
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 B takipçi

X profili
1.810 beğeniİndirOrijinal gönderi

190.380 görüntüleme

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 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • elliott profil fotoğrafı

    @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 beğeni

  • Christopher Stanley profil fotoğrafı

    @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 beğeni

  • elliott profil fotoğrafı

    @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 beğeni

  • Christopher Stanley profil fotoğrafı

    @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 beğeni

  • elliott profil fotoğrafı

    @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 beğeni

  • Christopher Stanley profil fotoğrafı

    @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 beğeni

  • elliott profil fotoğrafı

    @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 profil fotoğrafı

    @cstanley

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

  • Tech-Zilla profil fotoğrafı

    @TechnicalZilla

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

    24 beğeni

  • Qptc profil fotoğrafı

    @Qptc12

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

    8 beğeni

  • Christopher Stanley profil fotoğrafı

    @cstanley

    Exactly this haha

    4 beğeni

  • Nate McGrady profil fotoğrafı

    @natemcgrady

    Great use of free will

    7 beğeni

  • Mothberg 133 profil fotoğrafı

    @GodsLibtard

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

    5 beğeni

  • Christopher Stanley profil fotoğrafı

    @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 beğeni

  • Mothberg 133 profil fotoğrafı

    @GodsLibtard

    Ye but why over OBD?

  • The Niggler profil fotoğrafı

    @nigggler69

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

    2 beğeni

  • Mothberg 133 profil fotoğrafı

    @GodsLibtard

    @cstanley CAN*, should be direct wired imo

    1 beğeni

  • overbeykno profil fotoğrafı

    @overbeykno

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

    2 beğeni

  • Mothberg 133 profil fotoğrafı

    @GodsLibtard

    @nigggler69 @cstanley module with direct connection to steering electronics

    1 beğeni

  • The Eagle🌲 profil fotoğrafı

    @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 beğeni