| 72 | } |
| 73 | |
| 74 | std::vector<kitti_sequence::frame> kitti_sequence::get_frames() const |
| 75 | { |
| 76 | std::vector<frame> frames; |
| 77 | assert(timestamps_.size() == left_img_file_paths_.size()); |
| 78 | assert(timestamps_.size() == right_img_file_paths_.size()); |
| 79 | assert(left_img_file_paths_.size() == right_img_file_paths_.size()); |
| 80 | for (unsigned int i = 0; i < timestamps_.size(); ++i) |
| 81 | { |
| 82 | frames.emplace_back(frame{left_img_file_paths_.at(i), right_img_file_paths_.at(i), timestamps_.at(i)}); |
| 83 | } |
| 84 | return frames; |
| 85 | } |
no test coverage detected