jmccorm
Well-Known Member
- Thread starter
- #376
That's a solid suggestion for anyone who'd like to get their feet wet without going through all the time and hassle of actually connecting to a vehicle. I'd like to endorse that....for those that do not have access to jeep canBus yet. I believe that you can still learn from this discussion by taking a .log file as in page 3 of this thread, run it on a canplayer and learn to candump, cansniff, canplayer...etc then dive into python.
I'm wondering how it works if you only configured one vcan device, though. I'd guess that canplayer merges both the CAN-C and CAN-IHS traffic onto that single interface. That's slightly different from a real vehicle, but if it ends up being a problem, you can improve upon that.
If you create both a vcan0 interface and a vcan1 interface, then you should be able to launch canplayer like this...
canplayer -I <filename> vcan0=can0 vcan1=can1
...and then the traffic should split naturally across both of the different devices. Only the names would be different ("vcan" vs. "can").
Either way, what makes canplayer great to work with is that it will not only play back the traffic you have stored in a log file, but it'll do it with the exact same timings as the original, too. You're right, it's so good that it makes it like working with the real thing.
This weekend I'll see if I can update this message with a couple more log files for you to work with. Hit me up with a PM on Monday if those files aren't up there by then.
Sponsored
