Skip to content

Test Stop Line Passage Events

Ivan Yourshaw edited this page Mar 25, 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: -1_410D9F6A
Offset: 0
Timestamp: 1675376771383
Value: 
{
    "eventGeneratedAt":1675376771482,
    "eventType":"SignalState",
    "timestamp":1675376758684,
    "roadRegulatorID":-1,
    "ingressLane":2,
    "egressLane":14,
    "connectionID":1,
    "eventState":"PROTECTED_CLEARANCE",
    "vehicleID":"410D9F6A",
    "latitude":-105.09074479990207,
    "longitude":-105.09074479990207,
    "heading":351.1,
    "speed":22.39,
    "signalGroup":2
}

Comments

  • Intermittent result, sometimes no event is produced.
  • Latitude is incorrect.
  • What is "ConnectionID"?
  • Event could be geojson