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

CDAR-756: Carla Ambassador correct detection timestamp #197

Closed paulbourelly999 closed 7 months ago

paulbourelly999 commented 7 months ago

PR Details

Description

This PR updates incoming CARLA detections, which have Carla time stamps, to have cdasim time stamps since all components in this system use cdasim time. This fix is necessary because prior to establishing connection to cdasim, carla spins for some time, creating a random static time offset between carla game-time and cda sim simulation time.

NOTE: This PR also includes necessary fixes to use java 17 for sonar scanner CI process

Related GitHub Issue

Related Jira Key

CDAR-756

Motivation and Context

Gives detection data a simulation time step that should be accurate to sim time.

How Has This Been Tested?

CDASim deployment

Types of changes

Checklist:

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud