I have a general camera config yaml, where the only thing that usually changes between specific cameras is the IP address. Some fields (in the following example fps
) remain the same.
Can I do something like this in Hydra/OmegaConf?
any_camera.yaml
any_camera:
stream_url: ???
fps: 25
all_cameras.yaml
all_cameras:
cam1:
@{any_camera}
stream_url: rtsp://10.0.0.1
cam2:
@{any_camera}
stream_url: rtsp://10.0.0.2