Add functionality to CARLA Ambassador to, on initialization, attempt to connect to CARLA CDASim Adapter, with some retry limit. This avoids deployment timing issues that occasionally cause the CARLA Ambassador to drop Sensor Registrations if the CARLA CDA Sim Adapter is not up yet.
PR Details
Description
Add functionality to CARLA Ambassador to, on initialization, attempt to connect to CARLA CDASim Adapter, with some retry limit. This avoids deployment timing issues that occasionally cause the CARLA Ambassador to drop Sensor Registrations if the CARLA CDA Sim Adapter is not up yet.
NOTE This PR requires closing of (https://github.com/usdot-fhwa-stol/carla-sensor-lib/pull/2)
Related GitHub Issue
Related Jira Key
CDAR-667
Motivation and Context
Improve robustness of deployment by reattempting failing connection on startup, that could fail purely due to CDASim deployment timing issues.
How Has This Been Tested?
Sim Computer
Types of changes
Checklist: