usdot-fhwa-stol / cdasim

CDASim is an open-source simulation system supporting the development and testing of Cooperative Driving Automation applications.
37 stars 13 forks source link

Add Sensor/Detector Registration to Infrastructure Ambassador #152

Closed paulbourelly999 closed 1 year ago

paulbourelly999 commented 1 year ago

PR Details

Description

Added additional information to the Infrastructure Registration Message including :

Added functionality to process new registration message, trigger sensors/detectors registration interactions to prompt creation of sensors/detectors. Added functionality to process incoming Detected Object interactions from sensors and forward them via the new interactions port to registered infrastructure instances based on the sensor that reports the detection.

Related Issue

211

Motivation and Context

New functionality will be used to create sensor in CARLA and retrieve detection information for the VRU use case

How Has This Been Tested?

Unit tested and Integration testing with XIL Cloud setup Only tested that CDASim properly processes Infrastructure registration and still forwards time sync messages. Further testing for detection interaction processing is advised once CARLA Ambassador work completes.

Types of changes

Checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

73.5% 73.5% Coverage
1.1% 1.1% Duplication

warning The version of Java (11.0.19) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Read more here