Skip to content

Test Stop Line Passage Events

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

CmStopLinePassageEvents

Inputs

At the same intersection:

  • MAPs - every 1000 ms
  • SPATs - every 100 ms
    • ProtectedClearance [2,6]
    • StopAndRemain [4]
  • BSMs - every 100 ms travelling straight through intersection on a connected path

Test Script

Script: ConnectionOfTravel-connected.csv

BSM Data: Connected

Output Topic

topic.CmStopLinePassageEvent

Expected Output

One event with state "protected clearance"

Actual Output

Intermittently produced:

Topic: topic.CmStopLinePassageEvent
Key: {"rsuId":"10.11.81.12","intersectionId":12109,"region":0}
Offset: 1
Timestamp: 1711564897080
Value: 
{
  "eventGeneratedAt":1711564897126,
  "eventType":"StopLinePassage",
  "intersectionID":12109,
  "roadRegulatorID":-1,
  "source":"{ rsuId='10.11.81.12', intersectionId='12109', region='0'}",
  "timestamp":1711564880881,
  "ingressLane":2,
  "egressLane":14,
  "connectionID":2,
  "eventState":"PROTECTED_CLEARANCE",
  "vehicleID":"185C4E4E",
  "latitude":39.58789455203992,
  "longitude":-105.09074479990207,
  "heading":351.1,
  "speed":22.39,
  "signalGroup":2,
  "key":"-1_12109_185C4E4E"
}

Comments

Region in key and source should be -1