| 181 | } |
| 182 | |
| 183 | void writeCSVHeaders(map<string, shared_ptr<std::ofstream>>& files, // NOLINT |
| 184 | const map<string, map<string, string>>& sensor_info) { // NOLINT |
| 185 | for (auto iterator : sensor_info) { |
| 186 | if (iterator.second[SENSOR_TYPE].compare(CAMERA) == 0) |
| 187 | writeCameraHeader(files[iterator.first]); |
| 188 | else if (iterator.second[SENSOR_TYPE].compare(IMU) == 0) |
| 189 | writeImuHeader(files[iterator.first]); |
| 190 | else if (iterator.second[SENSOR_TYPE].compare(VICON) == 0) |
| 191 | writeViconHeader(files[iterator.first]); |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | map<string, shared_ptr<std::ofstream>> openFileStreams(const string folder_path, |
| 196 | map<string, map<string, string>>& sensor_info) { // NOLINT |
no test coverage detected