RobotsIO
|
Public Member Functions | |
virtual bool | status () const |
virtual bool | reset () |
virtual std::pair< bool, Eigen::MatrixXd > | deprojection_matrix () const |
virtual std::pair< bool, RobotsIO::Camera::CameraParameters > | parameters () const |
virtual std::pair< bool, Eigen::MatrixXf > | depth (const bool &blocking)=0 |
virtual std::pair< bool, Eigen::MatrixXd > | point_cloud (const bool &blocking, const double &maximum_depth=std::numeric_limits< double >::infinity(), const bool &use_root_frame=false, const bool &enable_colors=false) |
virtual std::pair< bool, Eigen::Transform< double, 3, Eigen::Affine > > | pose (const bool &blocking)=0 |
virtual std::pair< bool, cv::Mat > | rgb (const bool &blocking)=0 |
virtual std::pair< bool, double > | time_stamp_rgb () const |
virtual std::pair< bool, double > | time_stamp_depth () const |
virtual std::pair< bool, Eigen::VectorXd > | auxiliary_data (const bool &blocking) |
virtual std::size_t | auxiliary_data_size () const |
virtual std::int32_t | frame_index () const |
virtual bool | is_offline () const |
virtual bool | set_frame_index (const std::int32_t &index) |
virtual bool | step_frame () |
virtual bool | log_frame (const bool &log_depth=false) |
virtual bool | start_log (const std::string &path) |
virtual bool | stop_log () |
Public Member Functions inherited from RobotsIO::Utils::ProbeContainer | |
bool | is_probe (const std::string &name) const |
RobotsIO::Utils::Probe & | get_probe (const std::string &name) const |
void | set_probe (const std::string &name, std::unique_ptr< RobotsIO::Utils::Probe > probe) |
Protected Member Functions | |
virtual bool | initialize () |
virtual bool | evaluate_deprojection_matrix () |
Camera (const std::string &data_path, const std::size_t &width, const std::size_t &height, const double &fx, const double &cx, const double &fy, const double &cy) | |
virtual std::pair< bool, Eigen::MatrixXf > | depth_offline () |
virtual std::pair< bool, Eigen::Transform< double, 3, Eigen::Affine > > | pose_offline () |
virtual std::pair< bool, cv::Mat > | rgb_offline () |
virtual std::pair< bool, double > | time_stamp_rgb_offline () const |
virtual std::pair< bool, double > | time_stamp_depth_offline () const |
virtual std::pair< bool, Eigen::VectorXd > | auxiliary_data_offline () |
std::string | compose_index (const std::size_t &index) |
virtual std::pair< bool, Eigen::MatrixXd > | load_data () |
Protected Attributes | |
bool | status_ = true |
RobotsIO::Camera::CameraParameters | parameters_ |
Eigen::MatrixXd | deprojection_matrix_ |
bool | deprojection_matrix_initialized_ = false |
RobotsIO::Camera::DatasetParameters | dataset_parameters_ |
const bool | offline_mode_ = false |
Eigen::MatrixXd | data_ |
std::int32_t | frame_index_ = -1 |
std::size_t | rgb_offset_ = 0 |
std::size_t | depth_offset_ = 0 |
std::size_t | number_frames_ |
std::ofstream | log_ |
std::string | log_path_ |
std::int32_t | log_index_ = 0 |
const std::string | log_name_ = "Camera" |
Protected Attributes inherited from RobotsIO::Utils::ProbeContainer | |
std::unordered_map< std::string, std::unique_ptr< RobotsIO::Utils::Probe > > | probes_ |
const std::string | log_name_ = "ProbeContainer" |
Camera::Camera | ( | ) |
Definition at line 28 of file Camera.cpp.
|
virtual |
Definition at line 32 of file Camera.cpp.
|
protected |
Constructor for offline playback.
Definition at line 353 of file Camera.cpp.
|
virtual |
Auxiliary data.
Reimplemented in RobotsIO::Camera::iCubCamera.
Definition at line 178 of file Camera.cpp.
|
protectedvirtual |
Auxiliary data for offline playback.
Definition at line 519 of file Camera.cpp.
|
virtual |
Definition at line 184 of file Camera.cpp.
|
protected |
Definition at line 539 of file Camera.cpp.
|
virtual |
Camera parameters.
Reimplemented in RobotsIO::Camera::iCubCameraDepth.
Definition at line 53 of file Camera.cpp.
|
pure virtual |
RGB-D and pose.
Implemented in RobotsIO::Camera::DatasetCamera, RobotsIO::Camera::iCubCamera, RobotsIO::Camera::iCubCameraDepth, and RobotsIO::Camera::YarpCamera.
|
protectedvirtual |
RGB-D and pose for offline playback.
Definition at line 392 of file Camera.cpp.
|
protectedvirtual |
Camera parameters.
Definition at line 339 of file Camera.cpp.
|
virtual |
Offline playback.
Definition at line 190 of file Camera.cpp.
|
protectedvirtual |
Definition at line 319 of file Camera.cpp.
|
virtual |
Definition at line 199 of file Camera.cpp.
|
protectedvirtual |
Definition at line 547 of file Camera.cpp.
|
virtual |
Logging.
Definition at line 241 of file Camera.cpp.
|
virtual |
Definition at line 62 of file Camera.cpp.
|
virtual |
Definition at line 71 of file Camera.cpp.
|
pure virtual |
Implemented in RobotsIO::Camera::iCubCameraRelative, and RobotsIO::Camera::YarpCamera.
|
protectedvirtual |
Definition at line 441 of file Camera.cpp.
|
virtual |
Definition at line 42 of file Camera.cpp.
|
protectedvirtual |
Definition at line 469 of file Camera.cpp.
|
virtual |
Definition at line 205 of file Camera.cpp.
|
virtual |
Definition at line 297 of file Camera.cpp.
|
virtual |
Definition at line 36 of file Camera.cpp.
|
virtual |
Reimplemented in RobotsIO::Camera::iCubCameraRelative.
Definition at line 216 of file Camera.cpp.
|
virtual |
Definition at line 311 of file Camera.cpp.
|
virtual |
Definition at line 172 of file Camera.cpp.
|
protectedvirtual |
Definition at line 506 of file Camera.cpp.
|
virtual |
Definition at line 166 of file Camera.cpp.
|
protectedvirtual |
Definition at line 493 of file Camera.cpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |