Comments (4)
What if it is not sent periodically ?
from cabana.
Then the rate is 0 or not set. Rate is set through a "well known" attribute in the dbc file
from cabana.
Which attribute specifies that? Do you have an example?
from cabana.
From the Vector CANdb++ help file on Cycle Type and Transmission Type:
The cycle time and transmission type of the messages are determined from the user-defined attributes GenMsgSendType and GenSigSendType, GenMsgCycleTime and GenSigCycleTime of the Vector Tool Chain and cannot be edited.
So a minimal .dbc
file would look something like this:
VERSION ""
NS_ :
NS_DESC_
CM_
BA_DEF_
BA_
VAL_
CAT_DEF_
CAT_
FILTER
BA_DEF_DEF_
EV_DATA_
ENVVAR_DATA_
SGTYPE_
SGTYPE_VAL_
BA_DEF_SGTYPE_
BA_SGTYPE_
SIG_TYPE_REF_
VAL_TABLE_
SIG_GROUP_
SIG_VALTYPE_
SIGTYPE_VALTYPE_
BO_TX_BU_
BA_DEF_REL_
BA_REL_
BA_DEF_DEF_REL_
BU_SG_REL_
BU_EV_REL_
BU_BO_REL_
SG_MUL_VAL_
BS_:
BU_: PCM EON XXX
VAL_TABLE_ GEAR_SHIFTER_enum 32 "D" 8 "R" 4 "P" ;
BO_ 419 GEARBOX: 4 PCM
SG_ CHECKSUM : 27|4@0+ (1,0) [0|15] "" XXX
SG_ COUNTER : 29|2@0+ (1,0) [0|3] "" XXX
SG_ GEAR : 15|8@0+ (1,0) [0|255] "" XXX
SG_ GEAR_SHIFTER : 7|6@0+ (1,0) [0|63] "" XXX
CM_ BU_ EON "CHFFR_METRIC 330 STEER_ANGLE STEER_ANGLE 0.36 180; CHFFR_METRIC 380 ENGINE_RPM ENGINE_RPM 1 0; CHFFR_METRIC 804 ENGINE_TEMPERATURE ENGINE_TEMPERATURE 1 0";
BA_DEF_ "BusType" STRING ;
BA_DEF_ SG_ "GenSigStartValue" INT 0 2147483647;
BA_DEF_ BO_ "GenMsgSendType" ENUM "cyclic","NotUsed","IfActive","NotUsed","NotUsed","NotUsed","NotUsed","NotUsed","noMsgSendType";
BA_DEF_ BO_ "GenMsgCycleTime" INT 0 3600000;
BA_DEF_DEF_ "BusType" "CAN";
BA_DEF_DEF_ "GenSigStartValue" 0;
BA_DEF_DEF_ "GenMsgSendType" "noMsgSendType";
BA_DEF_DEF_ "GenMsgCycleTime" 0;
BA_ "GenMsgCycleTime" BO_ 419 100;
BA_ "GenMsgSendType" BO_ 419 0;
VAL_ 419 GEAR_SHIFTER 32 "D" 8 "R" 4 "P" ;
This isn't exactly what the files in opendbc look like because those actually incorrectly use the CM_
field and violates some ordering requirements of loading into the Vector CANdb++ editor.
And cycle time is in the units of ms
between messages, not Hz.
from cabana.
Related Issues (20)
- CI is flaky
- Add warning if DBC message size is less than actual size
- Remove msg name popup HOT 1
- Add signal value editor
- Sort messages by address in DBC output
- Loading DBC sometimes requires clicking button multiple times HOT 3
- Plots sometimes drawn outside their container
- Plotting CAN-FD signals produces wrong plot HOT 1
- Add row index to BitMatrix
- Fails to load new segments after seeking HOT 1
- Plots are truncating floats to int - stair-step appearance HOT 2
- Doesn't respect seekTime from connect
- CAN message contents not refreshing / overwriting others
- Dragging to zoom on plot doesn't work right to left
- Display route and current segment
- Buttons to link back to connect and useradmin
- Error reading name of undefined object
- Signals lose points when zooming in
- Difficult to zoom in when Cabana is still loading signals
- Delete GitHub pages deployment
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 cabana.