#include <CameraVideo.h>
|
| CameraVideo (const std::string &filePath, bool rectifyImages=false, float imageRate=0, const Transform &localTransform=Transform::getIdentity()) |
|
| CameraVideo (int usbDevice=0, 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 |
|
bool | initFromFile (const std::string &calibrationPath) |
|
bool | isInterIMUPublishing () const |
|
void | setImageRate (float imageRate) |
|
void | setInterIMUPublishing (bool enabled, IMUFilter *filter=0) |
|
SensorData | takeImage (SensorCaptureInfo *info=0) |
|
virtual | ~Camera () |
|
float | getFrameRate () const |
|
const Transform & | getLocalTransform () const |
|
virtual bool | getPose (double stamp, Transform &pose, cv::Mat &covariance, double maxWaitTime=0.06) |
|
virtual bool | odomProvided () const |
|
void | resetTimer () |
|
void | setFrameRate (float frameRate) |
|
void | setLocalTransform (const Transform &localTransform) |
|
SensorData | takeData (SensorCaptureInfo *info=0) |
|
virtual | ~SensorCapture () |
|
Definition at line 36 of file CameraVideo.h.
◆ Source
Enumerator |
---|
kVideoFile | |
kUsbDevice | |
Definition at line 40 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 64 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: