pycasx.scenario.ai_scenario

Module to generate the AI Scenario XML string.

Module Contents

Functions

create_ai_scenario_xml(cfg, _uuid, flightplans)

Create the scenario file.

pycasx.scenario.ai_scenario.create_ai_scenario_xml(cfg, _uuid, flightplans)

Create the scenario file.

Parameters:
  • cfg (ScenarioConfig) – The scenario configuration

  • _uuid (uuid.UUID) – The UUID of the scenario

  • flightplans (list[Path]) – The flightplan files of the intruders

Returns:

The XML file as a string

Return type:

str