Going Further

Using External Adapters

Although you can use ECU A as a USB to CAN adapter, you may prefer to use an external CAN adapter and an analysis tools suite that goes with it. For example, you could use BUSMASTER with a PCAN-USB. These tools typically allow you to load a database file (“DBC file”), which specifies what each bit in CAN frames represents.

DBC File for RAMN

The “DBC” and “DBF” files for RAMN are available in the misc folder. You can use these files to facilitate the analysis of RAMN’s default signals.

For example, with BUSMASTER and a compatible external adapter, you can select “Database -> Associate” and load the .DBF file.

../_images/busmaster_dbc.png

This will allow you to replace the CAN identifiers and payloads with mnemonics, as shown below.

../_images/busmaster_dbc2.png ../_images/busmaster_dbc3.png

This will allow you to record and display graphs of values observed on the CAN bus.

../_images/busmaster_dbc4.png

RAMN’s GitHub repository features an example of PID control implemented on RAMN ECUs in closed-loop with a driving simulator (see CARLA).