#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 |
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=Transform::getIdentity()) | |
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::CameraRGBDImages, rtabmap::CameraRealSense2, rtabmap::CameraRealSense, rtabmap::CameraK4W2, rtabmap::CameraFreenect2, rtabmap::CameraFreenect, rtabmap::CameraStereoVideo, rtabmap::CameraVideo, rtabmap::CameraOpenNI2, rtabmap::CameraStereoImages, rtabmap::CameraOpenNICV, rtabmap::CameraStereoZed, rtabmap::CameraImages, rtabmap::CameraOpenni, rtabmap::CameraTango, rtabmap::CameraStereoFlyCapture2, rtabmap::DBReader, and rtabmap::CameraStereoDC1394.
|
inline |
|
pure virtual |
Implemented in rtabmap::CameraRGBDImages, rtabmap::CameraRealSense2, rtabmap::CameraRealSense, rtabmap::CameraK4W2, rtabmap::CameraFreenect2, rtabmap::CameraFreenect, rtabmap::CameraStereoVideo, rtabmap::CameraVideo, rtabmap::CameraOpenNI2, rtabmap::CameraStereoImages, rtabmap::CameraOpenNICV, rtabmap::CameraStereoZed, rtabmap::CameraOpenni, rtabmap::CameraStereoFlyCapture2, rtabmap::CameraTango, rtabmap::DBReader, rtabmap::CameraStereoDC1394, and rtabmap::CameraImages.
|
pure virtual |
Implemented in rtabmap::CameraRGBDImages, rtabmap::CameraRealSense2, rtabmap::CameraRealSense, rtabmap::CameraK4W2, rtabmap::CameraFreenect2, rtabmap::CameraFreenect, rtabmap::CameraStereoVideo, rtabmap::CameraVideo, rtabmap::CameraOpenNI2, rtabmap::CameraStereoImages, rtabmap::CameraOpenNICV, rtabmap::CameraStereoZed, rtabmap::CameraOpenni, rtabmap::CameraStereoFlyCapture2, rtabmap::CameraTango, rtabmap::CameraStereoDC1394, rtabmap::DBReader, and rtabmap::CameraImages.
|
pure virtual |
Implemented in rtabmap::CameraRGBDImages, rtabmap::CameraRealSense2, rtabmap::CameraRealSense, rtabmap::CameraK4W2, rtabmap::CameraFreenect2, rtabmap::CameraFreenect, rtabmap::CameraStereoVideo, rtabmap::CameraVideo, rtabmap::CameraOpenNI2, rtabmap::CameraStereoImages, rtabmap::CameraOpenNICV, rtabmap::CameraStereoZed, rtabmap::CameraOpenni, rtabmap::CameraStereoFlyCapture2, rtabmap::CameraTango, rtabmap::DBReader, rtabmap::CameraStereoDC1394, and rtabmap::CameraImages.
|
inlinevirtual |
Reimplemented in rtabmap::CameraRealSense, rtabmap::CameraStereoZed, rtabmap::DBReader, and rtabmap::CameraImages.
void rtabmap::Camera::resetTimer | ( | ) |
Definition at line 62 of file Camera.cpp.
|
inline |
|
inline |
SensorData rtabmap::Camera::takeImage | ( | CameraInfo * | info = 0 | ) |
Definition at line 67 of file Camera.cpp.