usdot-fhwa-stol / cdasim

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

Fix/simulation frozen issue #128

Closed chengyuan0124 closed 1 year ago

chengyuan0124 commented 1 year ago

PR Details

Description

This PR fixes the simulation freezing issue that occurs when NS3 and infrastructure ambassador are enabled and running in the MOSAIC scenario Tiergarten. The solution involved testing a simple Python script that sends a fake infrastructure registration JSON message to the infrastructure message receiver. The test confirmed that the infrastructure ambassador successfully registered RSU and DSRC to NS3 and stored the new registration in the infrastructureInstanceManager.

This screenshot is the log retrieving from MOSAIC-infrastructure ambassador:

Screenshot from 2023-04-20 03-53-16

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

Checklist:

kjrush commented 1 year ago

Also, took a look at the sonar scanner report. We can ignore the security issue they're talking about entirely, it's not an issue since it's not an actual-literal-real IP address, just a string representing an address within our simulated communications network.

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 9 Code Smells

63.6% 63.6% Coverage
7.1% 7.1% Duplication