8#ifndef __READER_TUM_HPP
9#define __READER_TUM_HPP
43 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
46 static constexpr float tum_inverse_scale_ = 1.0f / 5000.0f;
52 static constexpr double max_match_timestamp_dist_ = 0.02;
54 static constexpr double max_interp_timestamp_dist_ = 10.0 * max_match_timestamp_dist_;
56 std::vector<std::string> depth_filenames_;
58 std::vector<std::string> rgb_filenames_;
60 std::vector<Eigen::Isometry3f, Eigen::aligned_allocator<Eigen::Isometry3f>>
Base abstract class for dataset readers.
Definition reader_base.hpp:79
Reader for the TUM RGBD dataset.
Definition reader_tum.hpp:18
TUMReader(const Config &c)
Construct a TUMReader from a Config.
void restart()
Restart reading from the beginning.
std::string name() const
The name of the reader.
ReaderStatus nextPose(Eigen::Isometry3f &T_WB)
Obtain the nextPose from the TUM RGBD dataset format.
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14
ReaderStatus
The result of trying to read a depth/RGB image or a pose.
Definition reader_base.hpp:45
Definition reader_base.hpp:81