Giter VIP home page Giter VIP logo

canpy's Introduction

DBC Specification

A overview of the Vector DBC Specification can be found here.

  • This doccument is carried together from different sources.
  • This document doesn't claim to be complete and correct.

Status

I am not actively working on this specification. But since there is some interest in the provided DBC Specification i will keep this repository.

There is no progess on the original project idea CANpy.

Contribution

I am happy to accept pull requests if someone wants to contributes changes to this specification.

CANpy

The original idea of this project was to provide a generic CAN interface generated from a *.dbc file. There is no intention to make any progess on this project and all sources are deleted. At commit aae7b66 you can find the latests sources.

canpy's People

Contributors

djnnvx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

canpy's Issues

Template DBC file malformed

Just wanted to point out a few bugs I found while using the template dbc file provided. I know this project isn't really actively maintained, but I did stumble upon it in my own investigation and ended up using the template DBC file for testing. So thought it still might be worthwhile to point out the few things that are incorrect.

As a preface, I consider the application CANDB++ the gold standard in terms of determining whether a dbc file is malformed or not, considering Vector is the one who implemented the standard (and it being their application). If you try to load the file into CANDB++, it will throw a parse error.

A few of the surface issues I found:

  1. Bus speed has been deprecated since at least 2007 (BS_:). The DBC spec. still requires the BS_: field (it's typically left blank), but when it is filled out, it's not just a number, i.e. ```BS: 500```` like in your dbc file. It should take the format
bit_timing = 'BS_:' [baudrate ':' BTR1 ',' BTR2 ] ; baudrate = unsigned_integer ;
BTR1 = unsigned_integer ;
BTR2 = unsigned_integer ;
  1. Lines 38-41 where the attribute default values are set is missing a _. BA_DEF_DEF should be BA_DEF_DEF_
  2. I don't believe multi-line comments are supported like it's outlined in the template file. I couldn't find anything in the official Vector spec. stating that it was allowed.

If it's desirable, I can submit a pull request with the necessary corrections to get the template dbc file in a state where it can actually be parsed by CANDB++.

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.