rsmp_schema 0.8.3 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rsmp_schema/version.rb +1 -1
- data/schemas/core/3.1.2/aggregated_status.json +1 -1
- data/schemas/core/3.1.3/aggregated_status.json +25 -0
- data/schemas/core/3.1.3/rsmp.json +1 -1
- data/schemas/core/3.1.4/alarm.json +65 -0
- data/schemas/core/3.1.4/rsmp.json +122 -1
- data/schemas/core/3.1.5/alarm.json +3 -5
- data/schemas/core/3.1.5/rsmp.json +1 -1
- data/schemas/core/3.2.0/rsmp.json +1 -1
- data/schemas/core/3.2.1/rsmp.json +1 -1
- data/schemas/core/3.2.2/rsmp.json +1 -1
- data/schemas/tlc/1.0.10/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.10/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.10/sxl.yaml +2 -2
- data/schemas/tlc/1.0.13/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.13/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.13/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.13/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.13/sxl.yaml +4 -4
- data/schemas/tlc/1.0.14/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.14/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.14/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0205.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0206.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0207.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0208.json +9 -9
- data/schemas/tlc/1.0.14/sxl.yaml +16 -16
- data/schemas/tlc/1.0.15/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.15/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.15/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0205.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0206.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0207.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0208.json +9 -9
- data/schemas/tlc/1.0.15/sxl.yaml +16 -16
- data/schemas/tlc/1.0.8/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.8/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.8/sxl.yaml +2 -2
- data/schemas/tlc/1.0.9/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.9/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.9/sxl.yaml +2 -2
- data/schemas/tlc/1.1.0/alarms/A0303.json +1 -1
- data/schemas/tlc/1.1.0/alarms/A0304.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0012.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0013.json +2 -2
- data/schemas/tlc/1.1.0/commands/M0017.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0022.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0001.json +2 -2
- data/schemas/tlc/1.1.0/statuses/S0007.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0008.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0009.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0010.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0011.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0012.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0013.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0020.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0027.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0032.json +2 -2
- data/schemas/tlc/1.1.0/statuses/S0033.json +3 -3
- data/schemas/tlc/1.1.0/statuses/S0205.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0206.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0207.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0208.json +9 -9
- data/schemas/tlc/1.1.0/sxl.yaml +69 -69
- data/schemas/tlc/1.2.0/alarms/A0303.json +1 -1
- data/schemas/tlc/1.2.0/alarms/A0304.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0012.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0013.json +2 -2
- data/schemas/tlc/1.2.0/commands/M0017.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0022.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0001.json +2 -2
- data/schemas/tlc/1.2.0/statuses/S0007.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0008.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0009.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0010.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0011.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0012.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0013.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0020.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0027.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0032.json +2 -2
- data/schemas/tlc/1.2.0/statuses/S0033.json +3 -3
- data/schemas/tlc/1.2.0/statuses/S0205.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0206.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0207.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0208.json +9 -9
- data/schemas/tlc/1.2.0/sxl.yaml +69 -69
- data/schemas/tlc/1.2.1/alarms/A0303.json +1 -1
- data/schemas/tlc/1.2.1/alarms/A0304.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0012.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0013.json +2 -2
- data/schemas/tlc/1.2.1/commands/M0017.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0022.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0001.json +2 -2
- data/schemas/tlc/1.2.1/statuses/S0007.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0008.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0009.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0010.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0011.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0012.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0013.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0020.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0027.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0032.json +2 -2
- data/schemas/tlc/1.2.1/statuses/S0033.json +3 -3
- data/schemas/tlc/1.2.1/statuses/S0205.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0206.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0207.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0208.json +9 -9
- data/schemas/tlc/1.2.1/sxl.yaml +70 -70
- metadata +5 -3
@@ -42,7 +42,7 @@
|
|
42
42
|
"then" : {
|
43
43
|
"properties" : {
|
44
44
|
"s" : {
|
45
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
45
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma\n\nE.g.\nt-o-h-m,t-o-h-m",
|
46
46
|
"type" : "string"
|
47
47
|
}
|
48
48
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Coordinated control\nThis status is used when coordination between traffic light controllers is active. Coordination is described in detail in the corresponding section\nPlease note that all values in this status uses comma-separated lists - one value for each intersection, e.g.
|
2
|
+
"description" : "Coordinated control\nThis status is used when coordination between traffic light controllers is active. Coordination is described in detail in the corresponding section\nPlease note that all values in this status uses comma-separated lists - one value for each intersection, e.g. \"1,2\" and \"centralized,off\"",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"s" : {
|
47
47
|
"allOf" : [
|
48
48
|
{
|
49
|
-
"description" : "Comma separated list of intersections which the status relates to, e.g.
|
49
|
+
"description" : "Comma separated list of intersections which the status relates to, e.g. \"1,2\".\nUse \"0\" for all intersections of the TLC."
|
50
50
|
},
|
51
51
|
{
|
52
52
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Signal Priority Status\nThis status can be used to get updates about priority requests. For example, you can use it to know when priority requests are activated or cancelled.\nA list of priorities is returned, referred to by their request ids. The same request id can appear only once.\nAll priorities are included in the list (not only the ones that have changed state since the last update). This is done regardless of whether the status is send in respond to a status request, or due to a status subscription, and also regardless of whether a status subscription uses an update interval, or send-on-change, or both.\nIf you subscribe using an update interval, you
|
2
|
+
"description" : "Signal Priority Status\nThis status can be used to get updates about priority requests. For example, you can use it to know when priority requests are activated or cancelled.\nA list of priorities is returned, referred to by their request ids. The same request id can appear only once.\nAll priorities are included in the list (not only the ones that have changed state since the last update). This is done regardless of whether the status is send in respond to a status request, or due to a status subscription, and also regardless of whether a status subscription uses an update interval, or send-on-change, or both.\nIf you subscribe using an update interval, you're not guaranteed to get all intermediate states. To guarantee that, send-on-change must be used when subscribing.\nTo understand how this status relates to ETSI/J2735, please see the [wiki](https://github.com/rsmp-nordic/rsmp_sxl_traffic_lights/wiki/Signal-priority-and-ETSI-J2735).\nAll priorities are send on every status update, regardless of whether an interval, or sendOnChange (or both) is used.\nWhen a priority reaches an end states (completed, timeout, rejected, cooldown or stale), it must be sent once on the next status update, then removed from the list.\nA request always starts in the 'received' state. The following table shows the possible state transitions:\n\nState | Possible next states\n---------- | -------------------------------------\nreceived | queued, activated, rejected, cooldown\nqueued | activated, timeout\nactivated | completed, stale\ncompleted |\ntimeout |\nrejected |\ncooldown |\nstale |",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -84,7 +84,7 @@
|
|
84
84
|
"e" : {
|
85
85
|
"allOf" : [
|
86
86
|
{
|
87
|
-
"description" : "Estimated green extension provided by the priority, in seconds\nOnly used when state is
|
87
|
+
"description" : "Estimated green extension provided by the priority, in seconds\nOnly used when state is 'completed'."
|
88
88
|
},
|
89
89
|
{
|
90
90
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
@@ -94,7 +94,7 @@
|
|
94
94
|
"d" : {
|
95
95
|
"allOf" : [
|
96
96
|
{
|
97
|
-
"description" : "Estimated red reduction provided by the priority, in seconds\nOnly used when state is
|
97
|
+
"description" : "Estimated red reduction provided by the priority, in seconds\nOnly used when state is 'completed'."
|
98
98
|
},
|
99
99
|
{
|
100
100
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer"
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"s" : {
|
72
72
|
"allOf" : [
|
73
73
|
{
|
74
|
-
"description" : "Number of vehicles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
74
|
+
"description" : "Number of vehicles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"s" : {
|
72
72
|
"allOf" : [
|
73
73
|
{
|
74
|
-
"description" : "Average speed in km/h (integer).\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
74
|
+
"description" : "Average speed in km/h (integer).\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"s" : {
|
72
72
|
"allOf" : [
|
73
73
|
{
|
74
|
-
"description" : "Occupancy in percent (%) (0-100)\n- Value expressed as an integer with a range of 0-100.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
74
|
+
"description" : "Occupancy in percent (%) (0-100)\n- Value expressed as an integer with a range of 0-100.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -79,7 +79,7 @@
|
|
79
79
|
"s" : {
|
80
80
|
"allOf" : [
|
81
81
|
{
|
82
|
-
"description" : "Number of cars.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
82
|
+
"description" : "Number of cars.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
83
83
|
},
|
84
84
|
{
|
85
85
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -105,7 +105,7 @@
|
|
105
105
|
"s" : {
|
106
106
|
"allOf" : [
|
107
107
|
{
|
108
|
-
"description" : "Number of cars with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
108
|
+
"description" : "Number of cars with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
109
109
|
},
|
110
110
|
{
|
111
111
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -131,7 +131,7 @@
|
|
131
131
|
"s" : {
|
132
132
|
"allOf" : [
|
133
133
|
{
|
134
|
-
"description" : "Number of trucks.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
134
|
+
"description" : "Number of trucks.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
135
135
|
},
|
136
136
|
{
|
137
137
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -157,7 +157,7 @@
|
|
157
157
|
"s" : {
|
158
158
|
"allOf" : [
|
159
159
|
{
|
160
|
-
"description" : "Number of trucks with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
160
|
+
"description" : "Number of trucks with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
161
161
|
},
|
162
162
|
{
|
163
163
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -183,7 +183,7 @@
|
|
183
183
|
"s" : {
|
184
184
|
"allOf" : [
|
185
185
|
{
|
186
|
-
"description" : "Number of buses.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
186
|
+
"description" : "Number of buses.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
187
187
|
},
|
188
188
|
{
|
189
189
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -209,7 +209,7 @@
|
|
209
209
|
"s" : {
|
210
210
|
"allOf" : [
|
211
211
|
{
|
212
|
-
"description" : "Number of trams.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
212
|
+
"description" : "Number of trams.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
213
213
|
},
|
214
214
|
{
|
215
215
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -235,7 +235,7 @@
|
|
235
235
|
"s" : {
|
236
236
|
"allOf" : [
|
237
237
|
{
|
238
|
-
"description" : "Number of motor cycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
238
|
+
"description" : "Number of motor cycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
239
239
|
},
|
240
240
|
{
|
241
241
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -261,7 +261,7 @@
|
|
261
261
|
"s" : {
|
262
262
|
"allOf" : [
|
263
263
|
{
|
264
|
-
"description" : "Number of bicycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
264
|
+
"description" : "Number of bicycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
265
265
|
},
|
266
266
|
{
|
267
267
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
@@ -287,7 +287,7 @@
|
|
287
287
|
"s" : {
|
288
288
|
"allOf" : [
|
289
289
|
{
|
290
|
-
"description" : "Number of pedestrians.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
290
|
+
"description" : "Number of pedestrians.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)"
|
291
291
|
},
|
292
292
|
{
|
293
293
|
"$ref" : "../../../core/3.1.2/definitions.json#/integer_list"
|
data/schemas/tlc/1.2.0/sxl.yaml
CHANGED
@@ -119,7 +119,7 @@ objects:
|
|
119
119
|
type: integer
|
120
120
|
description: |-
|
121
121
|
Cycle counter.
|
122
|
-
Used for handling of coordination between TLC
|
122
|
+
Used for handling of coordination between TLC's.
|
123
123
|
Is counted from 0 until it reaches the cycle time (See S0028).
|
124
124
|
|
125
125
|
c = (b + o) mod t
|
@@ -137,8 +137,8 @@ objects:
|
|
137
137
|
type: integer
|
138
138
|
description: |-
|
139
139
|
Base cycle counter.
|
140
|
-
Used for handling of coordination between TLC
|
141
|
-
Synchronized between all TLC
|
140
|
+
Used for handling of coordination between TLC's.
|
141
|
+
Synchronized between all TLC's in an active coordination.
|
142
142
|
See the coordination section for more information.
|
143
143
|
min: 0
|
144
144
|
max: 999
|
@@ -248,8 +248,8 @@ objects:
|
|
248
248
|
intersection:
|
249
249
|
type: integer_list
|
250
250
|
description: |-
|
251
|
-
Comma separated list of intersections which the status relates to, e.g.
|
252
|
-
Use
|
251
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
252
|
+
Use "0" for all intersections of the TLC.
|
253
253
|
min: 0
|
254
254
|
max: 255
|
255
255
|
status:
|
@@ -277,8 +277,8 @@ objects:
|
|
277
277
|
intersection:
|
278
278
|
type: integer_list
|
279
279
|
description: |-
|
280
|
-
Comma separated list of intersections which the status relates to, e.g.
|
281
|
-
Use
|
280
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
281
|
+
Use "0" for all intersections of the TLC.
|
282
282
|
min: 0
|
283
283
|
max: 255
|
284
284
|
status:
|
@@ -306,8 +306,8 @@ objects:
|
|
306
306
|
intersection:
|
307
307
|
type: integer_list
|
308
308
|
description: |-
|
309
|
-
Comma separated list of intersections which the status relates to, e.g.
|
310
|
-
Use
|
309
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
310
|
+
Use "0" for all intersections of the TLC.
|
311
311
|
min: 0
|
312
312
|
max: 255
|
313
313
|
status:
|
@@ -335,8 +335,8 @@ objects:
|
|
335
335
|
intersection:
|
336
336
|
type: integer_list
|
337
337
|
description: |-
|
338
|
-
Comma separated list of intersections which the status relates to, e.g.
|
339
|
-
Use
|
338
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
339
|
+
Use "0" for all intersections of the TLC.
|
340
340
|
min: 0
|
341
341
|
max: 255
|
342
342
|
status:
|
@@ -365,8 +365,8 @@ objects:
|
|
365
365
|
intersection:
|
366
366
|
type: integer_list
|
367
367
|
description: |-
|
368
|
-
Comma separated list of intersections which the status relates to, e.g.
|
369
|
-
Use
|
368
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
369
|
+
Use "0" for all intersections of the TLC.
|
370
370
|
min: 0
|
371
371
|
max: 255
|
372
372
|
status:
|
@@ -394,8 +394,8 @@ objects:
|
|
394
394
|
intersection:
|
395
395
|
type: integer_list
|
396
396
|
description: |-
|
397
|
-
Comma separated list of intersections which the status relates to, e.g.
|
398
|
-
Use
|
397
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
398
|
+
Use "0" for all intersections of the TLC.
|
399
399
|
min: 0
|
400
400
|
max: 255
|
401
401
|
status:
|
@@ -423,8 +423,8 @@ objects:
|
|
423
423
|
intersection:
|
424
424
|
type: integer_list
|
425
425
|
description: |-
|
426
|
-
Comma separated list of intersections which the status relates to, e.g.
|
427
|
-
Use
|
426
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
427
|
+
Use "0" for all intersections of the TLC.
|
428
428
|
min: 0
|
429
429
|
max: 255
|
430
430
|
status:
|
@@ -516,8 +516,8 @@ objects:
|
|
516
516
|
intersection:
|
517
517
|
type: integer_list
|
518
518
|
description: |-
|
519
|
-
Comma separated list of intersections which the status relates to, e.g.
|
520
|
-
Use
|
519
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
520
|
+
Use "0" for all intersections of the TLC.
|
521
521
|
min: 0
|
522
522
|
max: 255
|
523
523
|
controlmode:
|
@@ -631,7 +631,7 @@ objects:
|
|
631
631
|
Function legend:
|
632
632
|
0=no plan is selected by time table
|
633
633
|
1=set plan 1
|
634
|
-
|
634
|
+
...
|
635
635
|
16= set plan 16
|
636
636
|
|
637
637
|
hour and minute is using local time (not UTC)
|
@@ -693,13 +693,13 @@ objects:
|
|
693
693
|
description: |-
|
694
694
|
Coordinated control
|
695
695
|
This status is used when coordination between traffic light controllers is active. Coordination is described in detail in the corresponding section
|
696
|
-
Please note that all values in this status uses comma-separated lists - one value for each intersection, e.g.
|
696
|
+
Please note that all values in this status uses comma-separated lists - one value for each intersection, e.g. "1,2" and "centralized,off"
|
697
697
|
arguments:
|
698
698
|
intersection:
|
699
699
|
type: integer_list
|
700
700
|
description: |-
|
701
|
-
Comma separated list of intersections which the status relates to, e.g.
|
702
|
-
Use
|
701
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
702
|
+
Use "0" for all intersections of the TLC.
|
703
703
|
min: 0
|
704
704
|
max: 255
|
705
705
|
status:
|
@@ -724,11 +724,11 @@ objects:
|
|
724
724
|
This status can be used to get updates about priority requests. For example, you can use it to know when priority requests are activated or cancelled.
|
725
725
|
A list of priorities is returned, referred to by their request ids. The same request id can appear only once.
|
726
726
|
All priorities are included in the list (not only the ones that have changed state since the last update). This is done regardless of whether the status is send in respond to a status request, or due to a status subscription, and also regardless of whether a status subscription uses an update interval, or send-on-change, or both.
|
727
|
-
If you subscribe using an update interval, you
|
727
|
+
If you subscribe using an update interval, you're not guaranteed to get all intermediate states. To guarantee that, send-on-change must be used when subscribing.
|
728
728
|
To understand how this status relates to ETSI/J2735, please see the [wiki](https://github.com/rsmp-nordic/rsmp_sxl_traffic_lights/wiki/Signal-priority-and-ETSI-J2735).
|
729
729
|
All priorities are send on every status update, regardless of whether an interval, or sendOnChange (or both) is used.
|
730
730
|
When a priority reaches an end states (completed, timeout, rejected, cooldown or stale), it must be sent once on the next status update, then removed from the list.
|
731
|
-
A request always starts in the
|
731
|
+
A request always starts in the 'received' state. The following table shows the possible state transitions:
|
732
732
|
|
733
733
|
State | Possible next states
|
734
734
|
---------- | -------------------------------------
|
@@ -768,7 +768,7 @@ objects:
|
|
768
768
|
type: integer
|
769
769
|
description: |-
|
770
770
|
Estimated green extension provided by the priority, in seconds
|
771
|
-
Only used when state is
|
771
|
+
Only used when state is 'completed'.
|
772
772
|
optional: true
|
773
773
|
min: 0
|
774
774
|
max: 255
|
@@ -776,7 +776,7 @@ objects:
|
|
776
776
|
type: integer
|
777
777
|
description: |-
|
778
778
|
Estimated red reduction provided by the priority, in seconds
|
779
|
-
Only used when state is
|
779
|
+
Only used when state is 'completed'.
|
780
780
|
optional: true
|
781
781
|
min: 0
|
782
782
|
max: 255
|
@@ -956,7 +956,7 @@ objects:
|
|
956
956
|
Number of vehicles.
|
957
957
|
- Value expressed as an integer with a range of 0-65535.
|
958
958
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
959
|
-
- The value is set to
|
959
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
960
960
|
min: -1
|
961
961
|
max: 65535
|
962
962
|
S0206:
|
@@ -973,7 +973,7 @@ objects:
|
|
973
973
|
Average speed in km/h (integer).
|
974
974
|
- Value expressed as an integer with a range of 0-65535.
|
975
975
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
976
|
-
- The value is set to
|
976
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
977
977
|
min: -1
|
978
978
|
max: 65535
|
979
979
|
S0207:
|
@@ -990,7 +990,7 @@ objects:
|
|
990
990
|
Occupancy in percent (%) (0-100)
|
991
991
|
- Value expressed as an integer with a range of 0-100.
|
992
992
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
993
|
-
- The value is set to
|
993
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
994
994
|
min: -1
|
995
995
|
max: 100
|
996
996
|
S0208:
|
@@ -1007,7 +1007,7 @@ objects:
|
|
1007
1007
|
Number of cars.
|
1008
1008
|
- Value expressed as an integer with a range of 0-65535.
|
1009
1009
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1010
|
-
- The value is set to
|
1010
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1011
1011
|
min: -1
|
1012
1012
|
max: 65535
|
1013
1013
|
PS:
|
@@ -1016,7 +1016,7 @@ objects:
|
|
1016
1016
|
Number of cars with trailers.
|
1017
1017
|
- Value expressed as an integer with a range of 0-65535.
|
1018
1018
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1019
|
-
- The value is set to
|
1019
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1020
1020
|
min: -1
|
1021
1021
|
max: 65535
|
1022
1022
|
L:
|
@@ -1025,7 +1025,7 @@ objects:
|
|
1025
1025
|
Number of trucks.
|
1026
1026
|
- Value expressed as an integer with a range of 0-65535.
|
1027
1027
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1028
|
-
- The value is set to
|
1028
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1029
1029
|
min: -1
|
1030
1030
|
max: 65535
|
1031
1031
|
LS:
|
@@ -1034,7 +1034,7 @@ objects:
|
|
1034
1034
|
Number of trucks with trailers.
|
1035
1035
|
- Value expressed as an integer with a range of 0-65535.
|
1036
1036
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1037
|
-
- The value is set to
|
1037
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1038
1038
|
min: -1
|
1039
1039
|
max: 65535
|
1040
1040
|
B:
|
@@ -1043,7 +1043,7 @@ objects:
|
|
1043
1043
|
Number of buses.
|
1044
1044
|
- Value expressed as an integer with a range of 0-65535.
|
1045
1045
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1046
|
-
- The value is set to
|
1046
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1047
1047
|
min: -1
|
1048
1048
|
max: 65535
|
1049
1049
|
SP:
|
@@ -1052,7 +1052,7 @@ objects:
|
|
1052
1052
|
Number of trams.
|
1053
1053
|
- Value expressed as an integer with a range of 0-65535.
|
1054
1054
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1055
|
-
- The value is set to
|
1055
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1056
1056
|
min: -1
|
1057
1057
|
max: 65535
|
1058
1058
|
MC:
|
@@ -1061,7 +1061,7 @@ objects:
|
|
1061
1061
|
Number of motor cycles.
|
1062
1062
|
- Value expressed as an integer with a range of 0-65535.
|
1063
1063
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1064
|
-
- The value is set to
|
1064
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1065
1065
|
min: -1
|
1066
1066
|
max: 65535
|
1067
1067
|
C:
|
@@ -1070,7 +1070,7 @@ objects:
|
|
1070
1070
|
Number of bicycles.
|
1071
1071
|
- Value expressed as an integer with a range of 0-65535.
|
1072
1072
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1073
|
-
- The value is set to
|
1073
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1074
1074
|
min: -1
|
1075
1075
|
max: 65535
|
1076
1076
|
F:
|
@@ -1079,7 +1079,7 @@ objects:
|
|
1079
1079
|
Number of pedestrians.
|
1080
1080
|
- Value expressed as an integer with a range of 0-65535.
|
1081
1081
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1082
|
-
- The value is set to
|
1082
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1083
1083
|
min: -1
|
1084
1084
|
max: 65535
|
1085
1085
|
commands:
|
@@ -1248,7 +1248,7 @@ objects:
|
|
1248
1248
|
1=Order signal group to green
|
1249
1249
|
0=Order signal group to red
|
1250
1250
|
|
1251
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
1251
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
1252
1252
|
|
1253
1253
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
1254
1254
|
|
@@ -1276,39 +1276,39 @@ objects:
|
|
1276
1276
|
|
1277
1277
|
Requires security code 2.
|
1278
1278
|
|
1279
|
-
The parameter
|
1279
|
+
The parameter 'status' sets/unsets a block of 16 inputs at a time. It can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Format: [Offset];[Bits to set];[Bits to unset];...
|
1280
1280
|
|
1281
|
-
-
|
1282
|
-
-
|
1283
|
-
-
|
1281
|
+
- 'Offset' defines where the 16 inputs starts from
|
1282
|
+
- 'Bits to set' defines which bit(s) to set. '0' if unused
|
1283
|
+
- 'Bits to unset' defines which bit(s) to unset. '0' if unused
|
1284
1284
|
|
1285
1285
|
Example 1:
|
1286
|
-
|
1286
|
+
"3,4134,65" sets input 4,5,8,15 and unsets 3,9
|
1287
1287
|
- Input starts from no. 5
|
1288
|
-
-
|
1289
|
-
-
|
1288
|
+
- "4134" is 1 0000 0010 0110 in binary, but since input starts from 3, it is shifted 3 bits, e.g. 1000 0001 0011 0000 which are bits 4,5,8,15
|
1289
|
+
- "65" is 100 0001 in binary, but since input starts from 3, it is shifted 3 bits, e.g. 10 0000 1000 which are bits 3,9
|
1290
1290
|
|
1291
1291
|
Example 2:
|
1292
|
-
|
1292
|
+
"12,1,4" sets input 12 and unsets 14
|
1293
1293
|
- Input starts from no. 12
|
1294
|
-
-
|
1295
|
-
-
|
1294
|
+
- "1" is 1 in binary, but since input starts at 12 it is shifted 12 bits, e.g. 1 0000 0000 0000, which is bit 12
|
1295
|
+
- "4" is 100 in binary, but since input starts at 12 it is shifted 12 bits, e.g. 100 0000 0000 0000, which is bit 14
|
1296
1296
|
|
1297
|
-
And both these examples could be sent in the same message as:
|
1297
|
+
And both these examples could be sent in the same message as: "3,4143,65;12,1,4"
|
1298
1298
|
|
1299
1299
|
Such a message would set input 4,5,8,12,15 and unset input 3,9,14
|
1300
1300
|
|
1301
1301
|
Example 3:
|
1302
|
-
|
1302
|
+
"0,1,2" sets input 0 and unsets 1
|
1303
1303
|
- Input starts from 0
|
1304
|
-
-
|
1305
|
-
-
|
1304
|
+
- "1" is 1 in binary, which is bit 0
|
1305
|
+
- "2" is 10 in binary, which is bit 1
|
1306
1306
|
arguments:
|
1307
1307
|
status:
|
1308
1308
|
type: string
|
1309
1309
|
description: |-
|
1310
1310
|
Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon.
|
1311
|
-
Format: [Offset];[Bits to set];[Bits to unset]
|
1311
|
+
Format: [Offset];[Bits to set];[Bits to unset];...
|
1312
1312
|
securityCode:
|
1313
1313
|
type: string
|
1314
1314
|
description: Security code 2
|
@@ -1414,7 +1414,7 @@ objects:
|
|
1414
1414
|
Function legend:
|
1415
1415
|
0=no plan is selected by time table
|
1416
1416
|
1=set plan 1
|
1417
|
-
|
1417
|
+
...
|
1418
1418
|
16= set plan 16
|
1419
1419
|
|
1420
1420
|
hour and minute is using local time (not UTC)
|
@@ -1531,11 +1531,11 @@ objects:
|
|
1531
1531
|
|
1532
1532
|
The movement to prioritize can be referenced in a number of ways, depending on what is configured in the controller, and in the system that sends priority requests. Either:
|
1533
1533
|
|
1534
|
-
- Reference a signal group by setting
|
1535
|
-
- Reference an input by setting
|
1536
|
-
- Reference a connection by setting
|
1537
|
-
- Reference an intersection approach by setting
|
1538
|
-
- Reference an ingoing lane by setting
|
1534
|
+
- Reference a signal group by setting 'signalGroupId'. This method is simple, but will not allow you to have different priority mechanism for the same signal group, unless they can be distinguished by the vehicle type. For example, if you need to trigger different priorities depending on whether a bus goes straight or makes a turn for the same signal group, you need to use of the other referencing methods.
|
1535
|
+
- Reference an input by setting 'inputId'. This can be useful if you previously used inputs to activate priority. The input will not be activated, only the priority.
|
1536
|
+
- Reference a connection by setting 'connectionId'. A connection is a movement from a specific ingoing lane to a specific outgoing lane.
|
1537
|
+
- Reference an intersection approach by setting 'approachId'.
|
1538
|
+
- Reference an ingoing lane by setting 'laneInId', and optionally also reference an outgoing lane by setting 'laneOutId'.
|
1539
1539
|
|
1540
1540
|
Referencing attributes that are not used must be left out, rather than set to null or empty strings. This includes:
|
1541
1541
|
|
@@ -1548,17 +1548,17 @@ objects:
|
|
1548
1548
|
|
1549
1549
|
Referencing attributes are only used when initiating a request. When updating or cancelling the request, the request is identified by its requestId, and no referencing attributes are allowed.
|
1550
1550
|
|
1551
|
-
You initiate a priority request with type set to
|
1551
|
+
You initiate a priority request with type set to 'new'. You must provide a request id that uniquely identifies the request on the controller. It can be a randomly generated UUID (universally unique identifier), or it can be constructed by combining e.g. a vehicle id and some other identifier. When updating or cancelling a request, you must pass the same request id again.
|
1552
1552
|
|
1553
|
-
Providing ETA (estimated time of arrival) when initiating a request is optional, but can help the controller plan ahead in cases where you
|
1553
|
+
Providing ETA (estimated time of arrival) when initiating a request is optional, but can help the controller plan ahead in cases where you're able to send the request before the vehicle arrives at the intersection. You're allowed to initiate the request without an ETA and provide it in a later request update. But providing the ETA when initiating the request is recommended, since it will give the controller more time to plan ahead.
|
1554
1554
|
|
1555
1555
|
Like ETA, providing a vehicle type is optional, but can help the controller decide how to best handle the request.
|
1556
1556
|
|
1557
1557
|
The priority level provides a way to indicate the relative importance of the request compared to other requests. For example, emergency vehicles or delayed buses could be given a higher priority level.
|
1558
1558
|
|
1559
|
-
If the ETA changes before the priority is cancelled, or you want to change the priority level, you can send another request message with type set to
|
1559
|
+
If the ETA changes before the priority is cancelled, or you want to change the priority level, you can send another request message with type set to 'update'. The vehicle type cannot be changed.
|
1560
1560
|
|
1561
|
-
When you send a priority request, it will be processed to decide if it
|
1561
|
+
When you send a priority request, it will be processed to decide if it's possible to activate the requested priority.
|
1562
1562
|
|
1563
1563
|
If the request is accepted, the priority can either be activated immediately, or if another priority is currently active, it can be queued for later activation.
|
1564
1564
|
|
@@ -1566,9 +1566,9 @@ objects:
|
|
1566
1566
|
|
1567
1567
|
When a request is queued, it is expected to become activated later, but in case too long passes without activation, the controller is expected to time out the request.
|
1568
1568
|
|
1569
|
-
Once a priority is activated, you
|
1569
|
+
Once a priority is activated, you're excepted to cancel it as soon as there's no need for it anymore, typically when the vehicle has passed the intersection. You cancel a request by sending a request passing the existing request id setting the type to 'cancel'.
|
1570
1570
|
|
1571
|
-
If a request is never cancelled, the controller is expected to remove the priority at some point, but until then the priority might block requests in other direction which is why you should always cancel a priority when it
|
1571
|
+
If a request is never cancelled, the controller is expected to remove the priority at some point, but until then the priority might block requests in other direction which is why you should always cancel a priority when it's not needed anymore.
|
1572
1572
|
arguments:
|
1573
1573
|
requestId:
|
1574
1574
|
type: string
|
@@ -1913,7 +1913,7 @@ objects:
|
|
1913
1913
|
A0303:
|
1914
1914
|
description: |-
|
1915
1915
|
Serious detector error (hardware).
|
1916
|
-
Is a
|
1916
|
+
Is a "major fault" defined according to 3.8 i EN12675 which causes the controller to switch to a "failure mode" according to 3.6 in EN12675.
|
1917
1917
|
priority: 2
|
1918
1918
|
category: D
|
1919
1919
|
arguments:
|
@@ -1937,7 +1937,7 @@ objects:
|
|
1937
1937
|
description: |-
|
1938
1938
|
Serious detector error (logic error).
|
1939
1939
|
For instance; detector continuously on or off during an extended time.
|
1940
|
-
Is a
|
1940
|
+
Is a "major fault" defined according to 3.8 i EN12675 which causes the controller to switch to a "failure mode" according to 3.6 in EN12675
|
1941
1941
|
priority: 2
|
1942
1942
|
category: D
|
1943
1943
|
arguments:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Serious detector error (hardware).\nIs a
|
2
|
+
"description" : "Serious detector error (hardware).\nIs a \"major fault\" defined according to 3.8 i EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675.",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"description" : "Serious detector error (logic error).\nFor instance; detector continuously on or off during an extended time.\nIs a
|
2
|
+
"description" : "Serious detector error (logic error).\nFor instance; detector continuously on or off during an extended time.\nIs a \"major fault\" defined according to 3.8 i EN12675 which causes the controller to switch to a \"failure mode\" according to 3.6 in EN12675",
|
3
3
|
"allOf" : [
|
4
4
|
{
|
5
5
|
"properties" : {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|