-
Notifications
You must be signed in to change notification settings - Fork 9
/
TrafficControlDetail.msg
180 lines (124 loc) · 3.51 KB
/
TrafficControlDetail.msg
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
#
# TrafficControlDetail.msg
#
# Part of the CARMA Cloud geo-fence specification not part of the official SAE j2735 standard
#
# J2735 2016 message format.
#
#
# @version 0.1
#
# Description
# ...
#TrafficControlDetail ::= CHOICE
#{
# signal OCTET STRING SIZE(0..63),
# stop NULL,
# yield NULL,
# notowing NULL,
# restricted NULL,
# closed ENUMERATED {open, closed, taperleft, taperright, openleft, openright},
# chains ENUMERATED {no, permitted, required},
# direction ENUMERATED {forward, reverse},
# lataffinity ENUMERATED {left, right},
# latperm SEQUENCE (SIZE(2)) OF ENUMERATED {none, permitted, passing-only, emergency-only},
# parking ENUMERATED {no, parallel, angled},
# minspeed DOUBLE (0..1023), -- m/s
# maxspeed DOUBLE (0..1023), -- m/s
# minhdwy DOUBLE (0..2047), -- meters
# maxvehmass DOUBLE (0..65535), -- kg
# maxvehheight DOUBLE (0..127), -- meters
# maxvehwidth DOUBLE (0..127), -- meters
# maxvehlength DOUBLE (0..1023), -- meters
# maxvehaxles INTEGER (2..15), -- number of axles
# minvehocc INTEGER (1..15), -- vehicle passenger count
# maxplatoonsize INTEGER (1..63), -- vehicle count
# minplatoonhdwy DOUBLE (0..2047), -- meters
# ...
#}
uint8 choice
# enumeration values for choice:
uint8 SIGNAL_CHOICE=0
uint8 STOP_CHOICE=1
uint8 YIELD_CHOICE=2
uint8 NOTOWING_CHOICE=3
uint8 RESTRICTED_CHOICE=4
uint8 CLOSED_CHOICE=5
uint8 CHAINS_CHOICE=6
uint8 DIRECTION_CHOICE=7
uint8 LATAFFINITY_CHOICE=8
uint8 LATPERM_CHOICE=9
uint8 PARKING_CHOICE=10
uint8 MINSPEED_CHOICE=11
uint8 MAXSPEED_CHOICE=12
uint8 MINHDWY_CHOICE=13
uint8 MAXVEHMASS_CHOICE=14
uint8 MAXVEHHEIGHT_CHOICE=15
uint8 MAXVEHWIDTH_CHOICE=16
uint8 MAXVEHLENGTH_CHOICE=17
uint8 MAXVEHAXLES_CHOICE=18
uint8 MINVEHOCC_CHOICE=19
uint8 MAXPLATOONSIZE_CHOICE=20
uint8 MINPLATOONHDWY_CHOICE=21
# signal ::= OCTET STRING SIZE(0..63)
uint8[] signal
#closed ENUMERATED {open, closed, taperleft, taperright, openleft, openright}
uint8 closed
# enumeration values for closed:
uint8 OPEN=0
uint8 CLOSED=1
uint8 TAPERLEFT=2
uint8 TAPERRIGHT=3
uint8 OPENLEFT=4
uint8 OPENRIGHT=5
#chains ENUMERATED {no, permitted, required}
uint8 chains
# enumeration values for chains:
uint8 NO=0
uint8 PERMITTED=1
uint8 REQUIRED=2
#direction ENUMERATED {forward, reverse}
uint8 direction
# enumeration values for direction:
uint8 FORWARD=0
uint8 REVERSE=1
#lataffinity ENUMERATED {left, right}
uint8 lataffinity
# enumeration values for lataffinity:
uint8 LEFT=0
uint8 RIGHT=1
#latperm SEQUENCE (SIZE(2)) OF ENUMERATED {none, permitted, passing-only, emergency-only}
uint8[2] latperm
# enumeration values for latperm:
uint8 NONE=0
# uint8 PERMITTED=1 redeclaration
uint8 PASSINGONLY=2
uint8 EMERGENCYONLY=3
#parking ENUMERATED {no, parallel, angled}
uint8 parking
# enumeration values for parking:
# uint8 NO=0 redeclaration
uint8 PARALLEL=1
uint8 ANGLED=2
#minspeed ::= INTEGER (0..1023), -- m/s
float64 minspeed
#maxspeed ::= INTEGER (0..1023), -- m/s
float64 maxspeed
#minhdwy ::= INTEGER (0..2047), -- meters
float64 minhdwy
#maxvehmass ::= INTEGER (0..65535), -- kg
float64 maxvehmass
#maxvehheight ::= INTEGER (0..127), -- meters
float64 maxvehheight
#maxvehwidth ::= INTEGER (0..127), -- meters
float64 maxvehwidth
#maxvehlength ::= INTEGER (0..1023), -- meters
float64 maxvehlength
#maxvehaxles ::= INTEGER (2..15), -- number of axles
uint8 maxvehaxles
#minvehocc ::= INTEGER (1..15), -- vehicle passenger count
uint8 minvehocc
#maxplatoonsize ::= INTEGER (1..63), -- vehicle count
uint8 maxplatoonsize
#minplatoonhdwy ::= INTEGER (0..2047), -- meters
float64 minplatoonhdwy