RobotsIO
Loading...
Searching...
No Matches
DatasetDataStreamDelayed.h
1/*
2 * Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT)
3 *
4 * This software may be modified and distributed under the terms of the
5 * BSD 3-Clause license. See the accompanying LICENSE file for details.
6 */
7
8#ifndef ROBOTSIO_DATASETDATASTREAMDELAYED_H
9#define ROBOTSIO_DATASETDATASTREAMDELAYED_H
10
11#include <RobotsIO/Utils/DatasetDataStream.h>
12
13namespace RobotsIO {
14 namespace Utils {
15 class DatasetDataStreamDelayed;
16 }
17}
18
19
21{
22public:
23 DatasetDataStreamDelayed(const double& fps, const double& simulated_fps, const bool simulate_inference_time, const std::string& file_path, const std::size_t& skip_rows, const std::size_t& skip_cols, const std::size_t& expected_cols, const int rx_time_index = NoTimeIndex, const int tx_time_index = NoTimeIndex);
24
26
27 virtual Eigen::VectorXd data() override;
28
29 bool freeze() override;
30
31private:
32 const int delay_;
33
34 const bool simulate_inference_time_;
35
36 const std::string log_name_ = "DatasetDataStreamDelayed";
37};
38
39#endif /* ROBOTSIO_DATASETDATASTREAMDELAYED_H */