Skip to content

SIM RFC: AI Selector Backend #3557

@Andrewyx

Description

@Andrewyx

Description of the task

To display the available AI binaries in thunderscope, we need to scan the appropiate folder to return the names (since we need the paths to the various executables). We also need to create a callback function in response to a selection in #3556 such that the selected AIs are stored in a TOML file under /opt/tbotspython/external_ai which is created by #3555. See #3537 for references to TOML.

Note

See #3553 for class diagram

See the corresponding RFC

Acceptance criteria

  • TOML File is named /opt/tbotspython/external_ai/ai_config.toml
  • Fields blue_path_to_binary
  • Fields yellow_path_to_binary
  • Callback from UI dropdown should set the above fields accordingly
  • Make it so that thunderscope_main.py, when the two full systems are being created, it reads from the the toml file and pass in different path to binary to the full system constructor. (~line 430)

Blocked By

Blocked by #3556 which implements the UI side of this. This PR should integrate in the UI functionality.

Metadata

Metadata

Assignees

Labels

Difficulty - 7Well-defined tasks that require some understanding about the relevant system and toolsThunderscope

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions