#include <CameraVideo.h>
|
| CameraVideo (int usbDevice=0, bool rectifyImages=false, float imageRate=0, const Transform &localTransform=Transform::getIdentity()) |
|
| CameraVideo (const std::string &filePath, bool rectifyImages=false, float imageRate=0, const Transform &localTransform=Transform::getIdentity()) |
|
const std::string & | getFilePath () const |
|
virtual std::string | getSerial () const |
|
int | getUsbDevice () const |
|
virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
|
virtual bool | isCalibrated () const |
|
void | setResolution (int width, int height) |
|
virtual | ~CameraVideo () |
|
float | getImageRate () const |
|
const Transform & | getLocalTransform () const |
|
virtual bool | getPose (double stamp, Transform &pose, cv::Mat &covariance) |
|
bool | initFromFile (const std::string &calibrationPath) |
|
virtual bool | odomProvided () const |
|
void | resetTimer () |
|
void | setImageRate (float imageRate) |
|
void | setLocalTransform (const Transform &localTransform) |
|
SensorData | takeImage (CameraInfo *info=0) |
|
virtual | ~Camera () |
|
Definition at line 38 of file CameraVideo.h.
◆ Source
Enumerator |
---|
kVideoFile | |
kUsbDevice | |
Definition at line 42 of file CameraVideo.h.
◆ CameraVideo() [1/2]
◆ CameraVideo() [2/2]
◆ ~CameraVideo()
rtabmap::CameraVideo::~CameraVideo |
( |
| ) |
|
|
virtual |
◆ captureImage()
◆ getFilePath()
const std::string& rtabmap::CameraVideo::getFilePath |
( |
| ) |
const |
|
inline |
◆ getSerial()
◆ getUsbDevice()
int rtabmap::CameraVideo::getUsbDevice |
( |
| ) |
const |
|
inline |
◆ init()
bool rtabmap::CameraVideo::init |
( |
const std::string & |
calibrationFolder = "." , |
|
|
const std::string & |
cameraName = "" |
|
) |
| |
|
virtual |
◆ isCalibrated()
bool rtabmap::CameraVideo::isCalibrated |
( |
| ) |
const |
|
virtual |
◆ setResolution()
void rtabmap::CameraVideo::setResolution |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Set wanted usb resolution, should be set before initialization. 0 means default resolution. It won't be applied if a valid camera calibration has been loaded, thus resolution from calibration is used.
Definition at line 66 of file CameraVideo.h.
◆ _capture
cv::VideoCapture rtabmap::CameraVideo::_capture |
|
private |
◆ _filePath
◆ _guid
◆ _height
int rtabmap::CameraVideo::_height |
|
private |
◆ _model
◆ _rectifyImages
bool rtabmap::CameraVideo::_rectifyImages |
|
private |
◆ _src
Source rtabmap::CameraVideo::_src |
|
private |
◆ _usbDevice
int rtabmap::CameraVideo::_usbDevice |
|
private |
◆ _width
int rtabmap::CameraVideo::_width |
|
private |
The documentation for this class was generated from the following files: