-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcan_drive.dbc
121 lines (102 loc) · 4.89 KB
/
can_drive.dbc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
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_: Controller Motor
BO_ 2 MotorMsgIsotpTx: 3 Motor
SG_ MotorIsotpSigSeparationTime m3 : 23|8@0+ (1,0) [0|255] "" Controller,Motor
SG_ MotorIsotpSigBlockSize m3 : 15|8@0+ (1,0) [0|255] "" Controller,Motor
SG_ MotorIsotpSigMessageLength m1 : 3|12@0+ (1,0) [8|4095] "" Controller,Motor
SG_ MotorIsotpSigSize m0 : 3|4@0+ (1,0) [0|7] "" Controller,Motor
SG_ MotorIsotpSigIndex m2 : 3|4@0+ (1,0) [0|15] "" Controller,Motor
SG_ MotorIsotpSigFlowControlFlag m3 : 3|4@0+ (1,0) [0|2] "" Controller,Motor
SG_ MotorIsotpSigType M : 7|4@0+ (1,0) [0|3] "" Controller,Motor
BO_ 1 MotorMsgIsotpRx: 3 Controller
SG_ MotorIsotpSigSeparationTime m3 : 23|8@0+ (1,0) [0|255] "" Controller,Motor
SG_ MotorIsotpSigBlockSize m3 : 15|8@0+ (1,0) [0|255] "" Controller,Motor
SG_ MotorIsotpSigMessageLength m1 : 3|12@0+ (1,0) [8|4095] "" Controller,Motor
SG_ MotorIsotpSigSize m0 : 3|4@0+ (1,0) [0|7] "" Controller,Motor
SG_ MotorIsotpSigIndex m2 : 3|4@0+ (1,0) [0|15] "" Controller,Motor
SG_ MotorIsotpSigFlowControlFlag m3 : 3|4@0+ (1,0) [0|2] "" Controller,Motor
SG_ MotorIsotpSigType M : 7|4@0+ (1,0) [0|3] "" Controller,Motor
BO_ 9 ControllerMsgMotorControl: 8 Controller
SG_ MotorControlSigMode2 : 58|3@0+ (1,0) [0|3] "" Motor
SG_ MotorControlSigMode1 : 61|3@0+ (1,0) [0|3] "" Motor
SG_ MotorControlSigCurrent2 : 43|14@0- (1,0) [-6000|6000] "mA" Motor
SG_ MotorControlSigCurrent1 : 25|14@0- (1,0) [-6000|6000] "mA" Motor
SG_ MotorControlSigRPM2 : 8|15@0- (1,0) [-15000|15000] "RPM" Motor
SG_ MotorControlSigRPM1 : 7|15@0- (1,0) [-15000|15000] "RPM" Motor
BO_ 10 MotorMsgStatus: 8 Motor
SG_ MotorStatusSigStatus2 : 58|3@0+ (1,0) [0|3] "" Controller
SG_ MotorStatusSigStatus1 : 61|3@0+ (1,0) [0|3] "" Controller
SG_ MotorStatusSigCurrent2 : 43|14@0- (1,0) [-6000|6000] "mA" Controller
SG_ MotorStatusSigCurrent1 : 25|14@0- (1,0) [-6000|6000] "mA" Controller
SG_ MotorStatusSigRPM2 : 8|15@0- (1,0) [-15000|15000] "RPM" Controller
SG_ MotorStatusSigRPM1 : 7|15@0- (1,0) [-15000|15000] "RPM" Controller
CM_ BU_ Controller "Node controlling the motor";
CM_ BU_ Motor "Node representing the motor";
CM_ BO_ 2 "ISO-TP message.";
CM_ SG_ 2 MotorIsotpSigSeparationTime "Separation time between frames.";
CM_ SG_ 2 MotorIsotpSigBlockSize "Number of consecutive frames before flow control.";
CM_ SG_ 2 MotorIsotpSigMessageLength "Number of bytes in the message.";
CM_ SG_ 2 MotorIsotpSigSize "Number of bytes.";
CM_ SG_ 2 MotorIsotpSigIndex "Frame index.";
CM_ SG_ 2 MotorIsotpSigFlowControlFlag "Flow control flag.";
CM_ SG_ 2 MotorIsotpSigType "Frame type.";
CM_ BO_ 1 "ISO-TP message.";
CM_ SG_ 1 MotorIsotpSigSeparationTime "Separation time between frames.";
CM_ SG_ 1 MotorIsotpSigBlockSize "Number of consecutive frames before flow control.";
CM_ SG_ 1 MotorIsotpSigMessageLength "Number of bytes in the message.";
CM_ SG_ 1 MotorIsotpSigSize "Number of bytes.";
CM_ SG_ 1 MotorIsotpSigIndex "Frame index.";
CM_ SG_ 1 MotorIsotpSigFlowControlFlag "Flow control flag.";
CM_ SG_ 1 MotorIsotpSigType "Frame type.";
CM_ BO_ 9 "Motor control message.";
CM_ SG_ 9 MotorControlSigMode2 "Mode for motor 2.";
CM_ SG_ 9 MotorControlSigMode1 "Mode for motor 1.";
CM_ SG_ 9 MotorControlSigCurrent2 "Max allowed current for motor 2.";
CM_ SG_ 9 MotorControlSigCurrent1 "Max allowed current for motor 1.";
CM_ SG_ 9 MotorControlSigRPM2 "Target RPM for motor 2.";
CM_ SG_ 9 MotorControlSigRPM1 "Target RPM for motor 1.";
CM_ BO_ 10 "Motor status message.";
CM_ SG_ 10 MotorStatusSigStatus2 "Actual mode for motor 2.";
CM_ SG_ 10 MotorStatusSigStatus1 "Actual mode for motor 1.";
CM_ SG_ 10 MotorStatusSigCurrent2 "Actual current for motor 2.";
CM_ SG_ 10 MotorStatusSigCurrent1 "Actual current for motor 1.";
CM_ SG_ 10 MotorStatusSigRPM2 "Actual RPM for motor 2.";
CM_ SG_ 10 MotorStatusSigRPM1 "Actual RPM for motor 1.";
VAL_ 2 MotorIsotpSigFlowControlFlag 0 "CONTINUE" 1 "WAIT" 2 "OVERFLOW/ABORT" ;
VAL_ 2 MotorIsotpSigType 0 "SF" 1 "FF" 2 "CF" 3 "FC" ;
VAL_ 1 MotorIsotpSigFlowControlFlag 0 "CONTINUE" 1 "WAIT" 2 "OVERFLOW/ABORT" ;
VAL_ 1 MotorIsotpSigType 0 "SF" 1 "FF" 2 "CF" 3 "FC" ;
VAL_ 9 MotorControlSigMode2 0 "UNKNOWN" 1 "RUN" 2 "COAST" 3 "BRAKE" ;
VAL_ 9 MotorControlSigMode1 0 "UNKNOWN" 1 "RUN" 2 "COAST" 3 "BRAKE" ;
VAL_ 10 MotorStatusSigStatus2 0 "UNKNOWN" 1 "RUN" 2 "COAST" 3 "BRAKE" 4 "SHORT_TO_GROUND" 5 "SHORT_TO_VCC" 6 "OPEN_LOAD" 7 "THERMAL_SHUTDOWN" ;
VAL_ 10 MotorStatusSigStatus1 0 "UNKNOWN" 1 "RUN" 2 "COAST" 3 "BRAKE" 4 "SHORT_TO_GROUND" 5 "SHORT_TO_VCC" 6 "OPEN_LOAD" 7 "THERMAL_SHUTDOWN" ;