Coder Social home page Coder Social logo

canbabel's Introduction

CANBabel

Build Status

Overview

CANBabel is a conversion tool for CAN database files. It was created because most CAN databases are stored in proprietary formats that are not documented and can not be used for free. The open source CAN analysis tool Kayak introduced a new and well documented XML based format: KCD (file suffix .kcd). KCD is the acronym for Kayak CAN definition. Initially CANBabel supported only conversion from the .dbc format to the .kcd format but the goal is to provide a tool that supports many formats.

In 2018 CANBabel has been completely revised to support databases containing CAN-FD messages.

Supported formats

Currently the following formats are supported (Read/Write):

  • Kayak CAN Definition (.kcd) (Read/Write)
  • Vector (.dbc) (Read)

Build instructions

You will need a current Java JDK and Maven to build CANBabel. After cloning the repository just type $ mvn clean install and maven will fetch all dependencies and build a CANBabel jar-file in the /target folder of your workspace. You can also just add the repository in your favorite Java IDE as a new maven project.

Run CANBabel

In most environments it's simply required to doubleclick the jar-file in a file browser. If not try the commandline java -jar CANBabel-{version}-jar-with-dependencies.jar

KCD Example

<NetworkDefinition xmlns="http://kayak.2codeornot2code.org/1.0">
    <Document name="kcdexample.dbc" date="Tue Aug 18 09:27:40 CEST 2015">Converted with CANBabel (https://github.com/julietkilo/CANBabel)</Document>
    <Node id="15" name="ECU_Clima"/>
    <Bus name="Comfort" baudrate="125000">
        <Message id="0x21C" name="Temperature">
            <Producer>
            <NodeRef id="15"/>
            </Producer>
            <Signal name="InsideTempC" offset="0" length="12">
                <Value type="signed" unit="Cel"/>
            </Signal>
            <Signal name="OutsideTempC" offset="12" length="12">
                <Value type="signed" unit="Cel"/>
            </Signal>
        </Message>
    </Bus>
</NetworkDefinition>

canbabel's People

Contributors

julietkilo avatar dschanoeh avatar zorce avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.