Comments (6)
update coming soon - don't close
from cantools.
Any possibility of sharing a DBC-file that can be used to reproduce the problem?
from cantools.
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.
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.
Would be very helpful! =)
from cantools.
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)
- DCB file signed 16 bit integer HOT 1
- CAN FD database HOT 7
- Example in the repo not working as expected HOT 3
- DBC file parse error: expected token: ";", found: Int (0) (parse)
- TRC file support for plotting HOT 10
- can id in extended mode HOT 1
- Pythonic encode_message outputs invalid bytes HOT 2
- Unexpected Behavior: Interesting Buffering Issue
- Decoding does not check for min / max violation HOT 1
- Floating point rounding operations result in unexpected message encoding HOT 1
- Message._assert_signal_values_valid() uses incorrect minimum raw values for signals with negative scale
- Why does the capitalization of signal names change HOT 2
- textparser.ParseError From SYM file Mux line. HOT 2
- A 2 byte Motorola signal that is signed is decoded wrong HOT 3
- Generated SYM Enum Lines Exceed Max Length HOT 3
- Generate C code without changing message/signal name case HOT 1
- Cantools has no way to load frame of only one bus HOT 2
- In canfd, when data length > 8, dlc != len(data) in Message._check will cause an error.
- sym file parsing cannot handle small number scientific notation. HOT 1
- SPN signal attribute don't use the default value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cantools.