Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDAR-756: Carla Ambassador correct detection timestamp (#197)
<!-- Thanks for the contribution, this is awesome. --> # 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 <!--- Describe your changes in detail --> ## Related GitHub Issue <!--- This project only accepts pull requests related to open GitHub issues or Jira Keys --> <!--- If suggesting a new feature or change, please discuss it in an issue first --> <!--- If fixing a bug, there should be an issue describing it with steps to reproduce --> <!--- Please DO NOT name partially fixed issues, instead open an issue specific to this fix --> <!--- Please link to the issue here: --> ## Related Jira Key CDAR-756 <!-- e.g. CAR-123 --> ## Motivation and Context Gives detection data a simulation time step that should be accurate to sim time. <!--- Why is this change required? What problem does it solve? --> ## How Has This Been Tested? CDASim deployment <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [x] Defect fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that cause existing functionality to change) ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [ ] I have added any new packages to the sonar-scanner.properties file - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have read the [**CONTRIBUTING**](https://github.com/usdot-fhwa-stol/carma-platform/blob/develop/Contributing.md) document. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed.
- Loading branch information