Skip to content

Test Stop Line Stop Events

Ivan Yourshaw edited this page Mar 27, 2024 · 4 revisions

Stop Line Stop Events

Inputs

At the same RSU/intersection ID:

  • MAP every 1000 ms
  • SPATs ~every 100 ms,
    • ProtectedClearance [2,6]
    • StopAndRemain [4]
  • BSMs every 100 ms approach the stop line for signal group 4 and stop there for several seconds.

Test Script

ApproachAndStopAtLine.csv

Output Topic

topic.CmStopLineStopEvent

Expected Output

One Signal Stop Event including the signal state 'Stop And Remain', within 30 seconds

Actual Output

Topic: topic.CmStopLineStopEvent
Key: {"rsuId":"10.11.81.12","intersectionId":12109,"region":0}
Offset: 0
Timestamp: 1711565237112
Value: 
{
  "eventGeneratedAt":1711565237150,
  "eventType":"StopLineStop",
  "intersectionID":12109,
  "roadRegulatorID":-1,
  "source":"{ rsuId='10.11.81.12', intersectionId='12109', region='0'}",
  "ingressLane":9,
  "egressLane":-1,
  "connectionID":-1,
  "initialEventState":"STOP_AND_REMAIN",
  "initialTimestamp":1711565215702,
  "finalEventState":"STOP_AND_REMAIN",
  "finalTimestamp":1711565223960,
  "vehicleID":"83E593F0",
  "latitude":39.588026067255335,
  "longitude":-105.09115391358961,
  "heading":85.1,
  "signalGroup":4,
  "timeStoppedDuringRed":8.247,
  "timeStoppedDuringYellow":0.0,
  "timeStoppedDuringGreen":0.0,
  "key":"-1_12109_83E593F0"
}

Comments

Region in key and source should be -1