usdot-fhwa-stol / carma-streets

CARMA Streets is a component of CARMA ecosystem, which enables such a coordination among different transportation users. This component provides an interface for CDA participants to interact with the road infrastructure. Doxygen Source Code Documentation: https://usdot-fhwa-stol.github.io/documentation/carma-streets/
10 stars 10 forks source link

Add vehicle ped call logs #341

Closed paulbourelly999 closed 1 year ago

paulbourelly999 commented 1 year ago

PR Details

Description

Aims to add functionality to the TSC Service to periodically log vehicle and pedestrian call information in easily processable format for the Intersection Safety Challenge (ISC) data collection. Adds a logger to log pedestrian and vehicle information in the following csv format:

Timestamp (ms), Vehicle Calls (Signal Group ID), Pedestrian Calls (Signal Group ID)
1691773848024, [], []
1691773848860, [], []
1691773849872, [], []
1691773850890, [], []
1691773851908, [], []
1691773852925, [1], [1]
1691773853936, [1], [1]
1691773854954, [1], [1]
1691773855968, [1], [1]
1691773856981, [1, 2], [1, 2]
1691773857998, [1, 2], [1, 2]
1691773859019, [1, 2], [1, 2]
1691773860035, [1, 2], [1, 2]
1691773861049, [1, 2], [1, 2]
1691773862065, [1, 2], [1, 2]
1691773863080, [1, 2], [1, 2]
1691773864093, [1, 2, 6], [1, 2, 6]

Related GitHub Issue

Related Jira Key

CS-46

Motivation and Context

Log vehicle and pedestrian call information in easily processable format for the Intersection Safety Challenge (ISC) data collection

How Has This Been Tested?

Unit tested and Integration tested with virtual signal controller.

Types of changes

Checklist:

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

55.1% 55.1% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint