#include <CameraRealSense2.h>
|
| | CameraRealSense2 (const std::string &deviceId="", float imageRate=0, const Transform &localTransform=Transform::getIdentity()) |
| |
| virtual bool | getPose (double stamp, Transform &pose, cv::Mat &covariance, double maxWaitTime=0.06) |
| |
| 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 | setDepthResolution (int width, int height, int fps=30) |
| |
| void | setDualMode (bool enabled, const Transform &extrinsics) |
| |
| void | setEmitterEnabled (bool enabled) |
| |
| void | setGlobalTimeSync (bool enabled) |
| |
| void | setImagesRectified (bool enabled) |
| |
| void | setIRFormat (bool enabled, bool useDepthInsteadOfRightImage) |
| |
| void | setJsonConfig (const std::string &json) |
| |
| void | setOdomProvided (bool enabled, bool imageStreamsDisabled=false, bool onlyLeftStream=false) |
| |
| void | setResolution (int width, int height, int fps=30) |
| |
| virtual | ~CameraRealSense2 () |
| |
| 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 |
| |
| void | resetTimer () |
| |
| void | setFrameRate (float frameRate) |
| |
| void | setLocalTransform (const Transform &localTransform) |
| |
| SensorData | takeData (SensorCaptureInfo *info=0) |
| |
| virtual | ~SensorCapture () |
| |
Definition at line 54 of file CameraRealSense2.h.
◆ CameraRealSense2()
◆ ~CameraRealSense2()
| rtabmap::CameraRealSense2::~CameraRealSense2 |
( |
| ) |
|
|
virtual |
◆ available()
| bool rtabmap::CameraRealSense2::available |
( |
| ) |
|
|
static |
◆ captureImage()
◆ getPose()
| bool rtabmap::CameraRealSense2::getPose |
( |
double |
stamp, |
|
|
Transform & |
pose, |
|
|
cv::Mat & |
covariance, |
|
|
double |
maxWaitTime = 0.06 |
|
) |
| |
|
virtual |
◆ getSerial()
| std::string rtabmap::CameraRealSense2::getSerial |
( |
| ) |
const |
|
virtual |
◆ init()
| bool rtabmap::CameraRealSense2::init |
( |
const std::string & |
calibrationFolder = ".", |
|
|
const std::string & |
cameraName = "" |
|
) |
| |
|
virtual |
◆ isCalibrated()
| bool rtabmap::CameraRealSense2::isCalibrated |
( |
| ) |
const |
|
virtual |
◆ odomProvided()
| bool rtabmap::CameraRealSense2::odomProvided |
( |
| ) |
const |
|
virtual |
◆ setDepthResolution()
| void rtabmap::CameraRealSense2::setDepthResolution |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
fps = 30 |
|
) |
| |
◆ setDualMode()
| void rtabmap::CameraRealSense2::setDualMode |
( |
bool |
enabled, |
|
|
const Transform & |
extrinsics |
|
) |
| |
Dual mode (D400+T265 or L500+T265)
- Parameters
-
| enabled | enable dual mode |
| extrinsics | the extrinsics between T265 pose frame (middle of the camera) to D400/L500 main camera (without optical rotation). |
Definition at line 1206 of file CameraRealSense2.cpp.
◆ setEmitterEnabled()
| void rtabmap::CameraRealSense2::setEmitterEnabled |
( |
bool |
enabled | ) |
|
◆ setGlobalTimeSync()
| void rtabmap::CameraRealSense2::setGlobalTimeSync |
( |
bool |
enabled | ) |
|
◆ setImagesRectified()
| void rtabmap::CameraRealSense2::setImagesRectified |
( |
bool |
enabled | ) |
|
◆ setIRFormat()
| void rtabmap::CameraRealSense2::setIRFormat |
( |
bool |
enabled, |
|
|
bool |
useDepthInsteadOfRightImage |
|
) |
| |
◆ setJsonConfig()
| void rtabmap::CameraRealSense2::setJsonConfig |
( |
const std::string & |
json | ) |
|
◆ setOdomProvided()
| void rtabmap::CameraRealSense2::setOdomProvided |
( |
bool |
enabled, |
|
|
bool |
imageStreamsDisabled = false, |
|
|
bool |
onlyLeftStream = false |
|
) |
| |
◆ setResolution()
| void rtabmap::CameraRealSense2::setResolution |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
fps = 30 |
|
) |
| |
The documentation for this class was generated from the following files: