robokudo.annotators.file_writer¶
Classes¶
This module provides methods to store sensor data into the local filesystem. |
Module Contents¶
- class robokudo.annotators.file_writer.FileWriter(name='FileWriter', descriptor=Descriptor())¶
-
Bases:
robokudo.annotators.core.BaseAnnotator
This module provides methods to store sensor data into the local filesystem. This way you can work on recorded data without having to use bag files. It is intended to be used with robokudo.io.file_reader_interface
- class Descriptor¶
-
Bases:
robokudo.annotators.core.BaseAnnotator.Descriptor
- parameters¶
- initialized = False¶
- target_dir_path¶
- generate_full_file_path_(cas_view: str, file_extension: str)¶
-
Generate the full filename and path where data should be stored.
- Parameters:
-
cas_view – One of the definitions from CASView.X
file_extension – .jpg, .png, etc.
- Returns:
-
A string with the full path according to our naming scheme.
- update()¶
-
Called every time the behavior is ticked.