diff --git a/rosys/analysis/timelapse_recorder.py b/rosys/analysis/timelapse_recorder.py index a5d353bd..dc6d0fbf 100644 --- a/rosys/analysis/timelapse_recorder.py +++ b/rosys/analysis/timelapse_recorder.py @@ -44,6 +44,9 @@ def __init__(self, *, width: int = 800, height: int = 600, capture_rate: float = :param height: height of the images to capture (default: 600) :param capture_rate: images per second to capture (default: 1.0) """ + STORAGE_PATH.mkdir(parents=True, exist_ok=True) + VIDEO_PATH.mkdir(parents=True, exist_ok=True) + self.log = logging.getLogger('rosys.timelapse_recorder') self.width = width self.height = height