#include <CameraRGBD.h>
Public Types | |
enum | RGBSource { kColor, kInfrared, kFishEye } |
Public Member Functions | |
CameraRealSense (int deviceId=0, int presetRGB=0, int presetDepth=0, bool computeOdometry=false, float imageRate=0, 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 |
void | setDepthScaledToRGBSize (bool enabled) |
void | setRGBSource (RGBSource source) |
virtual | ~CameraRealSense () |
Static Public Member Functions | |
static bool | available () |
Protected Member Functions | |
virtual SensorData | captureImage (CameraInfo *info=0) |
Definition at line 377 of file CameraRGBD.h.
Definition at line 382 of file CameraRGBD.h.
rtabmap::CameraRealSense::CameraRealSense | ( | int | deviceId = 0 , |
int | presetRGB = 0 , |
||
int | presetDepth = 0 , |
||
bool | computeOdometry = false , |
||
float | imageRate = 0 , |
||
const Transform & | localTransform = Transform::getIdentity() |
||
) |
Definition at line 2604 of file CameraRGBD.cpp.
rtabmap::CameraRealSense::~CameraRealSense | ( | ) | [virtual] |
Definition at line 2628 of file CameraRGBD.cpp.
bool rtabmap::CameraRealSense::available | ( | ) | [static] |
Definition at line 2595 of file CameraRGBD.cpp.
SensorData rtabmap::CameraRealSense::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 3407 of file CameraRGBD.cpp.
std::string rtabmap::CameraRealSense::getSerial | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 3373 of file CameraRGBD.cpp.
bool rtabmap::CameraRealSense::init | ( | const std::string & | calibrationFolder = "." , |
const std::string & | cameraName = "" |
||
) | [virtual] |
Implements rtabmap::Camera.
Definition at line 2805 of file CameraRGBD.cpp.
bool rtabmap::CameraRealSense::isCalibrated | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 3368 of file CameraRGBD.cpp.
bool rtabmap::CameraRealSense::odomProvided | ( | ) | const [virtual] |
Reimplemented from rtabmap::Camera.
Definition at line 3388 of file CameraRGBD.cpp.
void rtabmap::CameraRealSense::setDepthScaledToRGBSize | ( | bool | enabled | ) |
Definition at line 2693 of file CameraRGBD.cpp.
void rtabmap::CameraRealSense::setRGBSource | ( | RGBSource | source | ) |
Definition at line 2698 of file CameraRGBD.cpp.