Added configuration files for sumo GUI settings #154
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Set Delay to 1000 ms per second to startup SUMO running at approximately real-time to avoid time sync issues with simulation and infrastructure
PR Details
Description
Due to this issue (usdot-fhwa-OPS/V2X-Hub#540) the current time synchronization between infrastructure (V2X-Hub) and CDASim is non-time regulating, meaning Infrastructure does not currently have a way of notifying CDASim when it is ready for time to advance in simulation. Due to this, is simulation is running faster than real time, Infrastructure can begin to fall behind. To avoid this, this PR adds a GUI settings file to the SUMO GUI, which is used to play/pause/step through the simulation. In this settings file, we can configure the delay, a sumo GUI feature that controls how long, if at all, between time steps SUMO will wait before inform proceeding to the next time. Since SUMO's integration with CDASim is time regulating, this delay feature allow a use to modify the maximum speed at which the simulation can run. The new settings file configures this value to be 1000ms per 1s (~ real-time) at startup to avoid the need for manual configuration at start up
Related Issue
Motivation and Context
Avoid (usdot-fhwa-OPS/V2X-Hub#540)
How Has This Been Tested?
XIL-Cloud deployment
Types of changes
Checklist:
CARMA Contributing Guide