#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 () |
Public Member Functions inherited from rtabmap::Camera | |
float | getImageRate () const |
const Transform & | getLocalTransform () const |
void | resetTimer () |
void | setImageRate (float imageRate) |
void | setLocalTransform (const Transform &localTransform) |
SensorData | takeImage (CameraInfo *info=0) |
virtual | ~Camera () |
Static Public Member Functions | |
static bool | available () |
Protected Member Functions | |
virtual SensorData | captureImage (CameraInfo *info=0) |
Protected Member Functions inherited from rtabmap::Camera | |
Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity()) | |
int | getNextSeqID () |
Definition at line 377 of file CameraRGBD.h.
Enumerator | |
---|---|
kColor | |
kInfrared | |
kFishEye |
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.
|
virtual |
Definition at line 2628 of file CameraRGBD.cpp.
|
static |
Definition at line 2595 of file CameraRGBD.cpp.
|
protectedvirtual |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 3407 of file CameraRGBD.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 3373 of file CameraRGBD.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 2805 of file CameraRGBD.cpp.
|
virtual |
Implements rtabmap::Camera.
Definition at line 3368 of file CameraRGBD.cpp.
|
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.