suboptimumg.yaml#
- suboptimumg.yaml.load_car_from_yaml(yaml_path)[source]#
Loads a vehicle configuration from a YAML file and returns a Car instance.
- Parameters:
yaml_path (str) – The file path to the YAML configuration file.
- Return type:
- suboptimumg.yaml.load_competition_from_dicts(car_config, comp_config)[source]#
Create a Competition object from configuration dictionaries.
- Parameters:
car_config (dict) – The vehicle configuration dictionary.
comp_config (dict) – The competition configuration dictionary.
- Return type:
- suboptimumg.yaml.load_competition_from_yaml(car_yaml_path, comp_yaml_path)[source]#
Create a Competition object from YAML configuration files.
- Parameters:
car_yaml_path (str) – The file path to the vehicle configuration YAML file.
comp_yaml_path (str) – The file path to the competition configuration YAML file.
- Return type: