Config¶
Central configuration for the drone-swarm SDK.
All values have safe defaults so the SDK works out-of-the-box for
simulation. Override via :meth:from_yaml or :meth:from_dict.
from_dict(data)
classmethod
¶
Create a config from a plain dictionary.
Unknown keys are silently ignored so you can pass a superset (e.g. a full project config that also contains non-swarm keys).
from_yaml(path)
classmethod
¶
Load configuration from a YAML file.
Requires pyyaml to be installed (optional dependency).