duyminh1998 / pycmo

Command Modern Operations Learning Environment
Other
49 stars 23 forks source link

Scenario ended popup fires repeatedly #44

Closed duyminh1998 closed 9 months ago

duyminh1998 commented 9 months ago

Describe the bug The "Scenario End" message can appear repeatedly when a scenario is run on turbo mode and the observation export event trigger is set to a low duration.

To Reproduce Steps to reproduce the behavior:

  1. Load the floridistan scenario.
  2. Change the speed to double turbo mode and the time trigger for the Export observation every seconds trigger to 5 seconds.
  3. Run the scripts/floridistan/restart_demo.py demo and see the error during iteration 25.

Expected behavior The Scenario End message should not popup repeatedly, or we should be able to catch this and address it as needed.