Code Monkey home page Code Monkey logo

Comments (6)

blackskandix avatar blackskandix commented on June 6, 2024 1

update coming soon - don't close

from cantools.

eerimoq avatar eerimoq commented on June 6, 2024

Any possibility of sharing a DBC-file that can be used to reproduce the problem?

from cantools.

eerimoq avatar eerimoq commented on June 6, 2024

Added support for SIG_VALTYPE_ in the DBC parser in 0183cdb.

Supporting floating point signals should be easy to add in the future, whenever they are needed by someone.

from cantools.

blackskandix avatar blackskandix commented on June 6, 2024

sorry, I'm not allowed to share the DBC-files
I will see, if I can make a modified version of it, as soon as I find time

Anyways - thanks for responding

from cantools.

eerimoq avatar eerimoq commented on June 6, 2024

Would be very helpful! =)

from cantools.

blackskandix avatar blackskandix commented on June 6, 2024

I finally got used to the unknown commands.
You got a pull request for db/formats/dbs.py(260): #15
I really can't provide you any dbc-files for test purposes - sorry
But ... here are some sample lines for syntax understanding:


BO_TX_BU_ 780 : ACC,Frontradar;
Message with Id "780" is added to List of TxMessages in the Nodes "ACC" and "Frontradar".
It seems like a way to add nodes as senders after the basic "BO_" defintion.
As in one of my files:

BO_ 780 ACC_02: 8 ACC //only node "ACC" is sender in the message defintion
 SG_ ...
 .
 .
BO_TX_BU_ 780 : ACC,Frontradar; //later "Frontradar" gets listed as well

BA_DEF_REL_ BU_SG_REL_ "GenSigTimeoutTime" INT 0 65535;
"BA_DEF_REL_": relative attribute gets defined, like "BA_DEF_".
"BU_SG_REL_": Prefix for type, like "BO_" in "BA_DEF_" for Messages
Here, I think, it means NodeToSignal-Realtionship - in my Vector CANdb++ it's displayed as "Node - Mapped Rx Signal"
The Following is a normal Attribute Definition: "attributeName" TYPE minValue maxValue;


BA_DEF_DEF_REL_ "GenSigTimeoutTime" 0;
relative attribute defintion of default value, like "BA_DEF_DEF_".
followed by the usual: "attributeName" valueDefault;


BA_REL_ "GenSigTimeoutTime" BU_SG_REL_ MFK_3 SG_ 780 ACC_02_CRC 999;
relative Attribute assignment, like "BA_"
"BU_SG_REL_" is a prefix again, like "SG_" - here: NodeToSignal-Realtionship "Node - Mapped Rx Signal".
Additionally to the "BA_" the node-name is given:
BA_RE_ "attributeName" BU_SG_REL_ nodeName SG_ messageID signalName value


( I'm not sure if "REL_" stands for relative or relation(ship) )
feel free to close

from cantools.

Related Issues (20)

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.