Page 1 of 1

Logging custom CAN-messages

Posted: Tue Oct 11, 2016 8:02 pm
by EcoCars
Hi, first post on the forum! :)
I would like to log custom received CAN messages and have after a few days of testing and searching not been able to find anything relevant. I thought about editing the source code, but thought I should consult all the knowledge on the forum first.
I am part of a research group who is building a small hybrid car, we have an established CAN-network used between the ECUs controlling the electrical motor, the ethanol engine and a bunch of other stuff. My question is how should I get the custom messages to be logged by the RCP2?
I have tried to use the existing predefined OBD-II channels but this have been unsuccessful since I can't set the channel to an custom CAN id.
I have written a lua-script to make sure that the messages is beeing recieved properly and that works fine.

Thanks for your input!

Posted: Fri Oct 14, 2016 6:20 am
by brentp
Hi,

Our CAN integration is done through Lua, mapping CAN data to virtual channels. You don't need to modify firmware.

See the guide:
https://wiki.autosportlabs.com/CAN_Bus_Integration

One great example is the BMW E46 integration:
https://wiki.autosportlabs.com/BMW_E46_CAN

Let us know how your project goes!