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
data/schemas/tlc/1.2.1/sxl.yaml
CHANGED
@@ -120,7 +120,7 @@ objects:
|
|
120
120
|
type: integer
|
121
121
|
description: |-
|
122
122
|
Cycle counter.
|
123
|
-
Used for handling of coordination between TLC
|
123
|
+
Used for handling of coordination between TLC's.
|
124
124
|
Is counted from 0 until it reaches the cycle time (See S0028).
|
125
125
|
|
126
126
|
c = (b + o) mod t
|
@@ -138,8 +138,8 @@ objects:
|
|
138
138
|
type: integer
|
139
139
|
description: |-
|
140
140
|
Base cycle counter.
|
141
|
-
Used for handling of coordination between TLC
|
142
|
-
Synchronized between all TLC
|
141
|
+
Used for handling of coordination between TLC's.
|
142
|
+
Synchronized between all TLC's in an active coordination.
|
143
143
|
See the coordination section for more information.
|
144
144
|
min: 0
|
145
145
|
max: 999
|
@@ -252,8 +252,8 @@ objects:
|
|
252
252
|
intersection:
|
253
253
|
type: integer_list
|
254
254
|
description: |-
|
255
|
-
Comma separated list of intersections which the status relates to, e.g.
|
256
|
-
Use
|
255
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
256
|
+
Use "0" for all intersections of the TLC.
|
257
257
|
min: 0
|
258
258
|
max: 255
|
259
259
|
status:
|
@@ -281,8 +281,8 @@ objects:
|
|
281
281
|
intersection:
|
282
282
|
type: integer_list
|
283
283
|
description: |-
|
284
|
-
Comma separated list of intersections which the status relates to, e.g.
|
285
|
-
Use
|
284
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
285
|
+
Use "0" for all intersections of the TLC.
|
286
286
|
min: 0
|
287
287
|
max: 255
|
288
288
|
status:
|
@@ -310,8 +310,8 @@ objects:
|
|
310
310
|
intersection:
|
311
311
|
type: integer_list
|
312
312
|
description: |-
|
313
|
-
Comma separated list of intersections which the status relates to, e.g.
|
314
|
-
Use
|
313
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
314
|
+
Use "0" for all intersections of the TLC.
|
315
315
|
min: 0
|
316
316
|
max: 255
|
317
317
|
status:
|
@@ -339,8 +339,8 @@ objects:
|
|
339
339
|
intersection:
|
340
340
|
type: integer_list
|
341
341
|
description: |-
|
342
|
-
Comma separated list of intersections which the status relates to, e.g.
|
343
|
-
Use
|
342
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
343
|
+
Use "0" for all intersections of the TLC.
|
344
344
|
min: 0
|
345
345
|
max: 255
|
346
346
|
status:
|
@@ -369,8 +369,8 @@ objects:
|
|
369
369
|
intersection:
|
370
370
|
type: integer_list
|
371
371
|
description: |-
|
372
|
-
Comma separated list of intersections which the status relates to, e.g.
|
373
|
-
Use
|
372
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
373
|
+
Use "0" for all intersections of the TLC.
|
374
374
|
min: 0
|
375
375
|
max: 255
|
376
376
|
status:
|
@@ -398,8 +398,8 @@ objects:
|
|
398
398
|
intersection:
|
399
399
|
type: integer_list
|
400
400
|
description: |-
|
401
|
-
Comma separated list of intersections which the status relates to, e.g.
|
402
|
-
Use
|
401
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
402
|
+
Use "0" for all intersections of the TLC.
|
403
403
|
min: 0
|
404
404
|
max: 255
|
405
405
|
status:
|
@@ -427,8 +427,8 @@ objects:
|
|
427
427
|
intersection:
|
428
428
|
type: integer_list
|
429
429
|
description: |-
|
430
|
-
Comma separated list of intersections which the status relates to, e.g.
|
431
|
-
Use
|
430
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
431
|
+
Use "0" for all intersections of the TLC.
|
432
432
|
min: 0
|
433
433
|
max: 255
|
434
434
|
status:
|
@@ -520,8 +520,8 @@ objects:
|
|
520
520
|
intersection:
|
521
521
|
type: integer_list
|
522
522
|
description: |-
|
523
|
-
Comma separated list of intersections which the status relates to, e.g.
|
524
|
-
Use
|
523
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
524
|
+
Use "0" for all intersections of the TLC.
|
525
525
|
min: 0
|
526
526
|
max: 255
|
527
527
|
controlmode:
|
@@ -530,7 +530,7 @@ objects:
|
|
530
530
|
startup: The controller starts up, performs a power on self test and performs each :term:`start-up interval`
|
531
531
|
control: Normal 3-light control
|
532
532
|
standby: The controller is in dark or yellow flash mode (either according to programming or manually set)
|
533
|
-
failure: The controller has a
|
533
|
+
failure: The controller has a "major fault" defined according to 3.8 i EN12675. The controller is in dark or yellow flash mode
|
534
534
|
test: Mode used for various tests, e.g. signal lights
|
535
535
|
S0021:
|
536
536
|
description: |-
|
@@ -641,7 +641,7 @@ objects:
|
|
641
641
|
Function legend:
|
642
642
|
0=no plan is selected by time table
|
643
643
|
1=set plan 1
|
644
|
-
|
644
|
+
...
|
645
645
|
16= set plan 16
|
646
646
|
|
647
647
|
hour and minute is using local time (not UTC)
|
@@ -715,13 +715,13 @@ objects:
|
|
715
715
|
description: |-
|
716
716
|
Coordinated control
|
717
717
|
This status is used when coordination between traffic light controllers is active. Coordination is described in detail in the corresponding section
|
718
|
-
Please note that all values in this status uses comma-separated lists - one value for each intersection, e.g.
|
718
|
+
Please note that all values in this status uses comma-separated lists - one value for each intersection, e.g. "1,2" and "centralized,off"
|
719
719
|
arguments:
|
720
720
|
intersection:
|
721
721
|
type: integer_list
|
722
722
|
description: |-
|
723
|
-
Comma separated list of intersections which the status relates to, e.g.
|
724
|
-
Use
|
723
|
+
Comma separated list of intersections which the status relates to, e.g. "1,2".
|
724
|
+
Use "0" for all intersections of the TLC.
|
725
725
|
min: 0
|
726
726
|
max: 255
|
727
727
|
status:
|
@@ -746,11 +746,11 @@ objects:
|
|
746
746
|
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.
|
747
747
|
A list of priorities is returned, referred to by their request ids. The same request id can appear only once.
|
748
748
|
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.
|
749
|
-
If you subscribe using an update interval, you
|
749
|
+
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.
|
750
750
|
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).
|
751
751
|
All priorities are send on every status update, regardless of whether an interval, or sendOnChange (or both) is used.
|
752
752
|
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.
|
753
|
-
A request always starts in the
|
753
|
+
A request always starts in the 'received' state. The following table shows the possible state transitions:
|
754
754
|
|
755
755
|
State | Possible next states
|
756
756
|
---------- | -------------------------------------
|
@@ -790,7 +790,7 @@ objects:
|
|
790
790
|
type: integer
|
791
791
|
description: |-
|
792
792
|
Estimated green extension provided by the priority, in seconds
|
793
|
-
Only used when state is
|
793
|
+
Only used when state is 'completed'.
|
794
794
|
optional: true
|
795
795
|
min: 0
|
796
796
|
max: 255
|
@@ -798,7 +798,7 @@ objects:
|
|
798
798
|
type: integer
|
799
799
|
description: |-
|
800
800
|
Estimated red reduction provided by the priority, in seconds
|
801
|
-
Only used when state is
|
801
|
+
Only used when state is 'completed'.
|
802
802
|
optional: true
|
803
803
|
min: 0
|
804
804
|
max: 255
|
@@ -978,7 +978,7 @@ objects:
|
|
978
978
|
Number of vehicles.
|
979
979
|
- Value expressed as an integer with a range of 0-65535.
|
980
980
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
981
|
-
- The value is set to
|
981
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
982
982
|
min: -1
|
983
983
|
max: 65535
|
984
984
|
S0206:
|
@@ -995,7 +995,7 @@ objects:
|
|
995
995
|
Average speed in km/h (integer).
|
996
996
|
- Value expressed as an integer with a range of 0-65535.
|
997
997
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
998
|
-
- The value is set to
|
998
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
999
999
|
min: -1
|
1000
1000
|
max: 65535
|
1001
1001
|
S0207:
|
@@ -1012,7 +1012,7 @@ objects:
|
|
1012
1012
|
Occupancy in percent (%) (0-100)
|
1013
1013
|
- Value expressed as an integer with a range of 0-100.
|
1014
1014
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1015
|
-
- The value is set to
|
1015
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1016
1016
|
min: -1
|
1017
1017
|
max: 100
|
1018
1018
|
S0208:
|
@@ -1029,7 +1029,7 @@ objects:
|
|
1029
1029
|
Number of cars.
|
1030
1030
|
- Value expressed as an integer with a range of 0-65535.
|
1031
1031
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1032
|
-
- The value is set to
|
1032
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1033
1033
|
min: -1
|
1034
1034
|
max: 65535
|
1035
1035
|
PS:
|
@@ -1038,7 +1038,7 @@ objects:
|
|
1038
1038
|
Number of cars with trailers.
|
1039
1039
|
- Value expressed as an integer with a range of 0-65535.
|
1040
1040
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1041
|
-
- The value is set to
|
1041
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1042
1042
|
min: -1
|
1043
1043
|
max: 65535
|
1044
1044
|
L:
|
@@ -1047,7 +1047,7 @@ objects:
|
|
1047
1047
|
Number of trucks.
|
1048
1048
|
- Value expressed as an integer with a range of 0-65535.
|
1049
1049
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1050
|
-
- The value is set to
|
1050
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1051
1051
|
min: -1
|
1052
1052
|
max: 65535
|
1053
1053
|
LS:
|
@@ -1056,7 +1056,7 @@ objects:
|
|
1056
1056
|
Number of trucks with trailers.
|
1057
1057
|
- Value expressed as an integer with a range of 0-65535.
|
1058
1058
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1059
|
-
- The value is set to
|
1059
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1060
1060
|
min: -1
|
1061
1061
|
max: 65535
|
1062
1062
|
B:
|
@@ -1065,7 +1065,7 @@ objects:
|
|
1065
1065
|
Number of buses.
|
1066
1066
|
- Value expressed as an integer with a range of 0-65535.
|
1067
1067
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1068
|
-
- The value is set to
|
1068
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1069
1069
|
min: -1
|
1070
1070
|
max: 65535
|
1071
1071
|
SP:
|
@@ -1074,7 +1074,7 @@ objects:
|
|
1074
1074
|
Number of trams.
|
1075
1075
|
- Value expressed as an integer with a range of 0-65535.
|
1076
1076
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1077
|
-
- The value is set to
|
1077
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1078
1078
|
min: -1
|
1079
1079
|
max: 65535
|
1080
1080
|
MC:
|
@@ -1083,7 +1083,7 @@ objects:
|
|
1083
1083
|
Number of motor cycles.
|
1084
1084
|
- Value expressed as an integer with a range of 0-65535.
|
1085
1085
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1086
|
-
- The value is set to
|
1086
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1087
1087
|
min: -1
|
1088
1088
|
max: 65535
|
1089
1089
|
C:
|
@@ -1092,7 +1092,7 @@ objects:
|
|
1092
1092
|
Number of bicycles.
|
1093
1093
|
- Value expressed as an integer with a range of 0-65535.
|
1094
1094
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1095
|
-
- The value is set to
|
1095
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1096
1096
|
min: -1
|
1097
1097
|
max: 65535
|
1098
1098
|
F:
|
@@ -1101,7 +1101,7 @@ objects:
|
|
1101
1101
|
Number of pedestrians.
|
1102
1102
|
- Value expressed as an integer with a range of 0-65535.
|
1103
1103
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1104
|
-
- The value is set to
|
1104
|
+
- The value is set to "-1" if no data could be measured (e.g. detector fault)
|
1105
1105
|
min: -1
|
1106
1106
|
max: 65535
|
1107
1107
|
commands:
|
@@ -1275,7 +1275,7 @@ objects:
|
|
1275
1275
|
1=Order signal group to green
|
1276
1276
|
0=Order signal group to red
|
1277
1277
|
|
1278
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
1278
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
1279
1279
|
|
1280
1280
|
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.
|
1281
1281
|
|
@@ -1303,39 +1303,39 @@ objects:
|
|
1303
1303
|
|
1304
1304
|
Requires security code 2.
|
1305
1305
|
|
1306
|
-
The parameter
|
1306
|
+
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];...
|
1307
1307
|
|
1308
|
-
-
|
1309
|
-
-
|
1310
|
-
-
|
1308
|
+
- 'Offset' defines where the 16 inputs starts from
|
1309
|
+
- 'Bits to set' defines which bit(s) to set. '0' if unused
|
1310
|
+
- 'Bits to unset' defines which bit(s) to unset. '0' if unused
|
1311
1311
|
|
1312
1312
|
Example 1:
|
1313
|
-
|
1313
|
+
"3,4134,65" sets input 4,5,8,15 and unsets 3,9
|
1314
1314
|
- Input starts from no. 5
|
1315
|
-
-
|
1316
|
-
-
|
1315
|
+
- "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
|
1316
|
+
- "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
|
1317
1317
|
|
1318
1318
|
Example 2:
|
1319
|
-
|
1319
|
+
"12,1,4" sets input 12 and unsets 14
|
1320
1320
|
- Input starts from no. 12
|
1321
|
-
-
|
1322
|
-
-
|
1321
|
+
- "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
|
1322
|
+
- "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
|
1323
1323
|
|
1324
|
-
And both these examples could be sent in the same message as:
|
1324
|
+
And both these examples could be sent in the same message as: "3,4143,65;12,1,4"
|
1325
1325
|
|
1326
1326
|
Such a message would set input 4,5,8,12,15 and unset input 3,9,14
|
1327
1327
|
|
1328
1328
|
Example 3:
|
1329
|
-
|
1329
|
+
"0,1,2" sets input 0 and unsets 1
|
1330
1330
|
- Input starts from 0
|
1331
|
-
-
|
1332
|
-
-
|
1331
|
+
- "1" is 1 in binary, which is bit 0
|
1332
|
+
- "2" is 10 in binary, which is bit 1
|
1333
1333
|
arguments:
|
1334
1334
|
status:
|
1335
1335
|
type: string
|
1336
1336
|
description: |-
|
1337
1337
|
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.
|
1338
|
-
Format: [Offset];[Bits to set];[Bits to unset]
|
1338
|
+
Format: [Offset];[Bits to set];[Bits to unset];...
|
1339
1339
|
securityCode:
|
1340
1340
|
type: string
|
1341
1341
|
description: Security code 2
|
@@ -1441,7 +1441,7 @@ objects:
|
|
1441
1441
|
Function legend:
|
1442
1442
|
0=no plan is selected by time table
|
1443
1443
|
1=set plan 1
|
1444
|
-
|
1444
|
+
...
|
1445
1445
|
16= set plan 16
|
1446
1446
|
|
1447
1447
|
hour and minute is using local time (not UTC)
|
@@ -1558,11 +1558,11 @@ objects:
|
|
1558
1558
|
|
1559
1559
|
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:
|
1560
1560
|
|
1561
|
-
- Reference a signal group by setting
|
1562
|
-
- Reference an input by setting
|
1563
|
-
- Reference a connection by setting
|
1564
|
-
- Reference an intersection approach by setting
|
1565
|
-
- Reference an ingoing lane by setting
|
1561
|
+
- 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.
|
1562
|
+
- 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.
|
1563
|
+
- Reference a connection by setting 'connectionId'. A connection is a movement from a specific ingoing lane to a specific outgoing lane.
|
1564
|
+
- Reference an intersection approach by setting 'approachId'.
|
1565
|
+
- Reference an ingoing lane by setting 'laneInId', and optionally also reference an outgoing lane by setting 'laneOutId'.
|
1566
1566
|
|
1567
1567
|
Referencing attributes that are not used must be left out, rather than set to null or empty strings. This includes:
|
1568
1568
|
|
@@ -1575,17 +1575,17 @@ objects:
|
|
1575
1575
|
|
1576
1576
|
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.
|
1577
1577
|
|
1578
|
-
You initiate a priority request with type set to
|
1578
|
+
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.
|
1579
1579
|
|
1580
|
-
Providing ETA (estimated time of arrival) when initiating a request is optional, but can help the controller plan ahead in cases where you
|
1580
|
+
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.
|
1581
1581
|
|
1582
1582
|
Like ETA, providing a vehicle type is optional, but can help the controller decide how to best handle the request.
|
1583
1583
|
|
1584
1584
|
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.
|
1585
1585
|
|
1586
|
-
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
|
1586
|
+
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.
|
1587
1587
|
|
1588
|
-
When you send a priority request, it will be processed to decide if it
|
1588
|
+
When you send a priority request, it will be processed to decide if it's possible to activate the requested priority.
|
1589
1589
|
|
1590
1590
|
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.
|
1591
1591
|
|
@@ -1593,9 +1593,9 @@ objects:
|
|
1593
1593
|
|
1594
1594
|
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.
|
1595
1595
|
|
1596
|
-
Once a priority is activated, you
|
1596
|
+
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'.
|
1597
1597
|
|
1598
|
-
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
|
1598
|
+
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.
|
1599
1599
|
arguments:
|
1600
1600
|
requestId:
|
1601
1601
|
type: string
|
@@ -1940,7 +1940,7 @@ objects:
|
|
1940
1940
|
A0303:
|
1941
1941
|
description: |-
|
1942
1942
|
Serious detector error (hardware).
|
1943
|
-
Is a
|
1943
|
+
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.
|
1944
1944
|
priority: 2
|
1945
1945
|
category: D
|
1946
1946
|
arguments:
|
@@ -1964,7 +1964,7 @@ objects:
|
|
1964
1964
|
description: |-
|
1965
1965
|
Serious detector error (logic error).
|
1966
1966
|
For instance; detector continuously on or off during an extended time.
|
1967
|
-
Is a
|
1967
|
+
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
|
1968
1968
|
priority: 2
|
1969
1969
|
category: D
|
1970
1970
|
arguments:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsmp_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Tin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_schemer
|
@@ -129,9 +129,11 @@ files:
|
|
129
129
|
- schemas/core/3.1.2/status_update.json
|
130
130
|
- schemas/core/3.1.2/version.json
|
131
131
|
- schemas/core/3.1.2/watchdog.json
|
132
|
+
- schemas/core/3.1.3/aggregated_status.json
|
132
133
|
- schemas/core/3.1.3/rsmp.json
|
133
134
|
- schemas/core/3.1.3/status_response.json
|
134
135
|
- schemas/core/3.1.3/status_update.json
|
136
|
+
- schemas/core/3.1.4/alarm.json
|
135
137
|
- schemas/core/3.1.4/rsmp.json
|
136
138
|
- schemas/core/3.1.5/aggregated_status_request.json
|
137
139
|
- schemas/core/3.1.5/alarm.json
|
@@ -975,7 +977,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
975
977
|
- !ruby/object:Gem::Version
|
976
978
|
version: '0'
|
977
979
|
requirements: []
|
978
|
-
rubygems_version: 3.
|
980
|
+
rubygems_version: 3.4.10
|
979
981
|
signing_key:
|
980
982
|
specification_version: 4
|
981
983
|
summary: Validate RSMP message against RSMP JSON Schema.
|