|
tools
|
#include <PlaybackThread_ParamsParser.h>
Classes | |
| struct | parser_version_type |
Public Attributes | |
| const std::string | m_device_classname = {"PlaybackThread"} |
| const std::string | m_device_name = {"PlaybackThread"} |
| bool | m_parser_is_strict = false |
| const parser_version_type | m_parser_version = {} |
| const std::string | m_file_defaultValue = {"test.txt"} |
| const std::string | m_timeIdx_defaultValue = {"0"} |
| const std::string | m_timeScale_defaultValue = {"1.0"} |
| const std::string | m_mask_defaultValue = {""} |
| std::string | m_file = {"test.txt"} |
| int | m_timeIdx = {0} |
| double | m_timeScale = {1.0} |
| std::vector< int > | m_mask = {} |
This class is the parameters parser for class PlaybackThread.
These are the used parameters:
| Group name | Parameter name | Type | Units | Default Value | Required | Description | Notes |
|---|---|---|---|---|---|---|---|
| - | file | string | - | test.txt | 0 | file name | - |
| - | timeIdx | int | - | 0 | 0 | index of timestamp | - |
| - | timeScale | double | - | 1.0 | 0 | time scaling of timestamp | - |
| - | mask | vector<int> | - | - | 1 | filter to apply to each item in a row | 1: process, 0: ignore |
The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):