#include <CameraStereo.h>
Public Member Functions | |
CameraStereoZed (int deviceId, int resolution=2, int quality=1, int sensingMode=1, int confidenceThr=100, bool computeOdometry=false, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity()) | |
CameraStereoZed (const std::string &svoFilePath, int quality=1, int sensingMode=1, int confidenceThr=100, bool computeOdometry=false, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity()) | |
virtual std::string | getSerial () const |
virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
virtual bool | isCalibrated () const |
virtual bool | odomProvided () const |
virtual | ~CameraStereoZed () |
Static Public Member Functions | |
static bool | available () |
Protected Member Functions | |
virtual SensorData | captureImage (CameraInfo *info=0) |
Private Attributes | |
bool | computeOdometry_ |
int | confidenceThr_ |
bool | lost_ |
int | quality_ |
int | resolution_ |
int | sensingMode_ |
CameraVideo::Source | src_ |
StereoCameraModel | stereoModel_ |
std::string | svoFilePath_ |
int | usbDevice_ |
sl::zed::Camera * | zed_ |
Definition at line 108 of file CameraStereo.h.
rtabmap::CameraStereoZed::CameraStereoZed | ( | int | deviceId, |
int | resolution = 2 , |
||
int | quality = 1 , |
||
int | sensingMode = 1 , |
||
int | confidenceThr = 100 , |
||
bool | computeOdometry = false , |
||
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 750 of file CameraStereo.cpp.
rtabmap::CameraStereoZed::CameraStereoZed | ( | const std::string & | svoFilePath, |
int | quality = 1 , |
||
int | sensingMode = 1 , |
||
int | confidenceThr = 100 , |
||
bool | computeOdometry = false , |
||
float | imageRate = 0.0f , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 779 of file CameraStereo.cpp.
rtabmap::CameraStereoZed::~CameraStereoZed | ( | ) | [virtual] |
Definition at line 807 of file CameraStereo.cpp.
bool rtabmap::CameraStereoZed::available | ( | ) | [static] |
Definition at line 741 of file CameraStereo.cpp.
SensorData rtabmap::CameraStereoZed::captureImage | ( | CameraInfo * | info = 0 | ) | [protected, virtual] |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 909 of file CameraStereo.cpp.
std::string rtabmap::CameraStereoZed::getSerial | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 898 of file CameraStereo.cpp.
bool rtabmap::CameraStereoZed::init | ( | const std::string & | calibrationFolder = "." , |
const std::string & | cameraName = "" |
||
) | [virtual] |
Implements rtabmap::Camera.
Definition at line 817 of file CameraStereo.cpp.
bool rtabmap::CameraStereoZed::isCalibrated | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 893 of file CameraStereo.cpp.
virtual bool rtabmap::CameraStereoZed::odomProvided | ( | ) | const [inline, virtual] |
Reimplemented from rtabmap::Camera.
Definition at line 137 of file CameraStereo.h.
bool rtabmap::CameraStereoZed::computeOdometry_ [private] |
Definition at line 152 of file CameraStereo.h.
int rtabmap::CameraStereoZed::confidenceThr_ [private] |
Definition at line 151 of file CameraStereo.h.
bool rtabmap::CameraStereoZed::lost_ [private] |
Definition at line 153 of file CameraStereo.h.
int rtabmap::CameraStereoZed::quality_ [private] |
Definition at line 149 of file CameraStereo.h.
int rtabmap::CameraStereoZed::resolution_ [private] |
Definition at line 148 of file CameraStereo.h.
int rtabmap::CameraStereoZed::sensingMode_ [private] |
Definition at line 150 of file CameraStereo.h.
Definition at line 145 of file CameraStereo.h.
Definition at line 144 of file CameraStereo.h.
std::string rtabmap::CameraStereoZed::svoFilePath_ [private] |
Definition at line 147 of file CameraStereo.h.
int rtabmap::CameraStereoZed::usbDevice_ [private] |
Definition at line 146 of file CameraStereo.h.
sl::zed::Camera* rtabmap::CameraStereoZed::zed_ [private] |
Definition at line 143 of file CameraStereo.h.