#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) |
|
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 | publishInterIMU (bool enabled) |
|
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 |
|
const Transform & | getLocalTransform () const |
|
bool | initFromFile (const std::string &calibrationPath) |
|
void | resetTimer () |
|
void | setImageRate (float imageRate) |
|
void | setLocalTransform (const Transform &localTransform) |
|
SensorData | takeImage (CameraInfo *info=0) |
|
virtual | ~Camera () |
|
Definition at line 56 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 |
|
) |
| |
|
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 |
◆ publishInterIMU()
void rtabmap::CameraRealSense2::publishInterIMU |
( |
bool |
enabled | ) |
|
◆ 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 1212 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: