Skip to content

Load multiple .xosc and change without restarting ATOS#682

Open
samuelthoren wants to merge 2 commits intodevfrom
feature/load_multiple_scenarios
Open

Load multiple .xosc and change without restarting ATOS#682
samuelthoren wants to merge 2 commits intodevfrom
feature/load_multiple_scenarios

Conversation

@samuelthoren
Copy link
Copy Markdown
Contributor

@samuelthoren samuelthoren commented May 4, 2026

With this PR we no longer have to shutdown ATOS for changing which scenario to run. We can now input a list of scenarios (.xosc-files) in params.yaml that we want to run during testing, and then change at runtime which scenario to send to the connected objects. This makes it quicker to run through a bunch of tests and we don't have to disconnect and reconnect the objects.

Changes:

  • Load a list of .xosc-files when pressing Init
  • Add drop-down menu in GUI for changing scenario
  • Change which scenario to run from the drop-down menu. This can only be done when in CONNECTED state, and sends the new scenario to the object automatically when changing the scenario in the drop-down menu.
image

samuelthoren and others added 2 commits May 4, 2026 16:28
…t restarting ATOS

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
@samuelthoren samuelthoren marked this pull request as ready for review May 5, 2026 13:54
@samuelthoren samuelthoren requested review from Robert108 and sepast May 5, 2026 13:55
@Robert108
Copy link
Copy Markdown
Collaborator

Great update!

  1. But wouldn't it be even better if you could set a path in the params.yaml and have ATOS list all available xosc files in that folder?

  2. It feels unintuitive that you have to connect to all objects before you can change the scenario. Would it be possible to have it open before init, up to and including connect? And then lock the change possibility after having pressed armed and being in the latter stages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants