Load Configs
SUMMARY
load_configs() loads a YAML config file (robot/camera/board/sampler parameters) into a dict, unrelated to the calibration core, provided as a convenience for scripting collection runs.
SUPPORTED TARGETS
Target-independent. It parses YAML into a dict and never touches a target or an image, board parameters in the file are yours to pass on to whichever target you construct.
UNITS
No conversion is applied, values come back exactly as written in the YAML file. Axon's own APIs expect lengths in meters and angles in degrees, so author the file accordingly.
The Skill
python
config = io.load_configs(config_path)| Skill | Returns | Description |
|---|---|---|
load_configs(config_path) | dict | Loads a YAML config file (robot/camera/board/sampler parameters) into a dict. |
| Parameter | Type | Description |
|---|---|---|
config_path | str | Path | Path to the YAML config file. |
The Code
python
from telekinesis.axon import io
config = io.load_configs(config_path)