#include <Camera.h>
Public Member Functions | |
float | getImageRate () const |
const Transform & | getLocalTransform () const |
virtual std::string | getSerial () const =0 |
virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="")=0 |
bool | initFromFile (const std::string &calibrationPath) |
virtual bool | isCalibrated () const =0 |
virtual bool | odomProvided () const |
void | resetTimer () |
void | setImageRate (float imageRate) |
void | setLocalTransform (const Transform &localTransform) |
SensorData | takeImage (CameraInfo *info=0) |
virtual | ~Camera () |
Protected Member Functions | |
Camera (float imageRate=0, const Transform &localTransform=CameraModel::opticalRotation()) | |
virtual SensorData | captureImage (CameraInfo *info=0)=0 |
int | getNextSeqID () |
Private Attributes | |
UTimer * | _frameRateTimer |
float | _imageRate |
Transform | _localTransform |
int | _seq |
cv::Size | _targetImageSize |
|
virtual |
Definition at line 55 of file Camera.cpp.
|
protected |
Constructor
imageRate | : image/second , 0 for fast as the camera can |
Definition at line 46 of file Camera.cpp.
|
protectedpure virtual |
returned rgb and depth images should be already rectified if calibration was loaded
Implemented in rtabmap::CameraImages, rtabmap::CameraMobile, rtabmap::CameraRealSense2, rtabmap::CameraOpenni, rtabmap::CameraStereoZed, rtabmap::CameraARCore, rtabmap::CameraFreenect2, rtabmap::CameraRealSense, rtabmap::CameraK4W2, rtabmap::DBReader, rtabmap::CameraStereoVideo, rtabmap::CameraOpenNI2, rtabmap::CameraMyntEye, rtabmap::CameraVideo, rtabmap::CameraK4A, rtabmap::CameraStereoImages, rtabmap::CameraStereoTara, rtabmap::CameraTango, rtabmap::CameraFreenect, rtabmap::CameraStereoFlyCapture2, rtabmap::CameraAREngine, rtabmap::CameraOpenNICV, rtabmap::CameraRGBDImages, and rtabmap::CameraStereoDC1394.
|
inline |
|
pure virtual |
Implemented in rtabmap::CameraOpenni, rtabmap::CameraMobile, rtabmap::CameraFreenect2, rtabmap::CameraStereoZed, rtabmap::CameraARCore, rtabmap::CameraK4W2, rtabmap::CameraRealSense, rtabmap::CameraStereoVideo, rtabmap::DBReader, rtabmap::CameraRealSense2, rtabmap::CameraK4A, rtabmap::CameraOpenNI2, rtabmap::CameraStereoImages, rtabmap::CameraStereoTara, rtabmap::CameraFreenect, rtabmap::CameraMyntEye, rtabmap::CameraVideo, rtabmap::CameraStereoFlyCapture2, rtabmap::CameraImages, rtabmap::CameraAREngine, rtabmap::CameraTango, rtabmap::CameraOpenNICV, and rtabmap::CameraStereoDC1394.
|
pure virtual |
Implemented in rtabmap::CameraOpenni, rtabmap::CameraMobile, rtabmap::CameraFreenect2, rtabmap::CameraStereoZed, rtabmap::CameraARCore, rtabmap::CameraK4W2, rtabmap::CameraRealSense, rtabmap::CameraStereoVideo, rtabmap::CameraRealSense2, rtabmap::DBReader, rtabmap::CameraK4A, rtabmap::CameraOpenNI2, rtabmap::CameraStereoImages, rtabmap::CameraStereoTara, rtabmap::CameraFreenect, rtabmap::CameraMyntEye, rtabmap::CameraVideo, rtabmap::CameraStereoFlyCapture2, rtabmap::CameraImages, rtabmap::CameraAREngine, rtabmap::CameraTango, rtabmap::CameraOpenNICV, rtabmap::CameraStereoDC1394, and rtabmap::CameraRGBDImages.
bool rtabmap::Camera::initFromFile | ( | const std::string & | calibrationPath | ) |
Definition at line 67 of file Camera.cpp.
|
pure virtual |
Implemented in rtabmap::CameraMobile, rtabmap::CameraOpenni, rtabmap::CameraFreenect2, rtabmap::CameraStereoZed, rtabmap::CameraK4W2, rtabmap::CameraRealSense, rtabmap::CameraStereoVideo, rtabmap::DBReader, rtabmap::CameraRealSense2, rtabmap::CameraK4A, rtabmap::CameraOpenNI2, rtabmap::CameraStereoImages, rtabmap::CameraStereoTara, rtabmap::CameraFreenect, rtabmap::CameraMyntEye, rtabmap::CameraVideo, rtabmap::CameraStereoFlyCapture2, rtabmap::CameraImages, rtabmap::CameraOpenNICV, and rtabmap::CameraStereoDC1394.
|
inlinevirtual |
void rtabmap::Camera::resetTimer | ( | ) |
Definition at line 62 of file Camera.cpp.
|
inline |
|
inline |
SensorData rtabmap::Camera::takeImage | ( | CameraInfo * | info = 0 | ) |
Definition at line 72 of file Camera.cpp.