Table of Contents
Reading other Formats
To supply OOBD with some data to make the lua scripts out of it, we are working on find several translation methods to use other sources as potential inputs. These different ways are described in here.
Using MDX files
MDX files, an OEM specific dialect of ODX, is working already fine. Please read the OpenDiagX documentation for details
Using Vector DBC files
DBC files describe real time data on the bus (at least that's the part we are try to cover). In the moment we are using the follwing approach:
Step 1: Converting .dbc into Kayak definition files (.kcd)
Kayak is a nice tool for Linux to read real time CAN data streams. Luckily there does a tool exist, which converts the Vector dbc file format into the xml based format of Kayak, CANBabel. Unfortunately the CANBabel website only supports the source code, so you would have to build the executable by yourself. To make your start easier, you can find a inofficial CANBabel Binary here.
Step 2 Translating Kayak definition files (.kcd) via XSLT
When the kcd file is there, it's easy to translate it further with XSLT because of its xml structure. On Windows is quite hard to find a program for this, because all the GUI based clickifancycolor programs are either complicated, overloaded, expensive or all of it (if you find a simple one, let us know..)
On the command line instead it's just a finger snip if you run Linux or Cygwin. Its the XMLStarlet package which makes it work. Just use the shell script and one of the prepared XSLT transformation files provided in the OBBD project folder. Please make sure to use the right xmlstarlet program, which is provided with the Cygwin package Manager. Here you can find how to install Cygwin packages.