8#ifndef ROBOTSIO_ICUBCAMERARELATIVE_H
9#define ROBOTSIO_ICUBCAMERARELATIVE_H
11#include <RobotsIO/Camera/iCubCamera.h>
15 class iCubCameraRelative;
24 iCubCameraRelative(
const std::string& robot_name,
const std::string& port_prefix,
const bool& use_calibration =
false,
const std::string& calibration_path =
"");
26 iCubCameraRelative(
const std::string& data_path_left,
const std::string& data_path_right,
const std::size_t& width,
const std::size_t& height,
const double& fx_l,
const double& cx_l,
const double& fy_l,
const double& cy_l,
const double& fx_r,
const double& cx_r,
const double& fy_r,
const double& cy_r,
const bool& load_encoders_data,
const bool& use_calibration =
false,
const std::string& calibration_path =
"");
30 virtual bool status()
const override;
36 std::pair<bool, Eigen::Transform<double, 3, Eigen::Affine>>
pose(
const bool& blocking)
override;
44 bool set_frame_index(
const std::int32_t& index)
override;
55 const std::string log_name_ =
"iCubCameraRelative";
60 std::unique_ptr<RobotsIO::Camera::iCubCamera> left_camera_;
bool step_frame() override
std::pair< bool, Eigen::Transform< double, 3, Eigen::Affine > > pose(const bool &blocking) override