forked from usdot-jpo-ode/jpo-conflictmonitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Test Signal Group Alignment Events
Ivan Yourshaw edited this page Jan 31, 2025
·
9 revisions
Signal Group Alignment Events can be configured to enable aggregation using the map.spat.message.assessment.aggregateSignalGroupAlignmentEvents configuration setting, or the ENABLE_AGGREGATE_SIGNAL_GROUP_ALIGNMENT_EVENTS environment variable. If aggregation is enabled, events will be delayed by up to the configured aggregation.interval, which is 60 seconds by default.
At the same intersection
- MAPs every 1000 ms with signal goups 2, 4, 6
- SPATs every 100 ms with signal groups 3, 5, 7
SignalGroupAlignment-unaligned.csv
If aggregation is enabled, events are output to:
topic.CmSignalGroupAlignmentNotificationAggregation
If aggregation is disabled, events are output to:
topic.CmSignalGroupAlignmentEvents
Several Signal Group Alignment Events
Several events similar to:
Topic: topic.CmSignalGroupAlignmentEvents
Key: {"rsuId":"10.11.81.12","intersectionId":12109,"region":-1}
Offset: 152
Timestamp: 1711511009489
Value:
{
"eventGeneratedAt":1711511009596,
"eventType":"SignalGroupAlignment",
"intersectionID":12109,
"roadRegulatorID":0,
"source":"{\"rsuId\":\"10.11.81.12\",\"intersectionId\":12109,\"region\":-1}",
"timestamp":1711511009482,
"spatSignalGroupIds":[3,5,7],
"mapSignalGroupIds":[null,2,4,6]
}
- Road Regulator ID property should be -1
- mapSignalGroupIds has extra "null" in array
At Same Intersection, with matching signal groups 2, 4, 6:
- MAP, send interval 1000 ms
- SPAT, send interval 100 ms
SignalGroupAlignment-aligned.csv
No Event
Topic: topic.CmSignalGroupAlignmentEvents
Key: {"rsuId":"10.11.81.12","intersectionId":12109,"region":-1}
Offset: 182
Timestamp: 1711511450554
Value:
{
"eventGeneratedAt":1711511450678,
"eventType":"SignalGroupAlignment",
"intersectionID":12109,
"roadRegulatorID":0,
"source":"{\"rsuId\":\"10.11.81.12\",\"intersectionId\":12109,\"region\":-1}",
"timestamp":1711511450538,
"spatSignalGroupIds":[2,4,6],
"mapSignalGroupIds":[null,2,4,6]
}
- Unexpected events
- Map signal group IDs array has extraneous null
- Road Regulator ID property should be -1