|
|
| CameraOpenNI2 (const std::string &deviceId="", Type type=kTypeColorDepth, float imageRate=0, const Transform &localTransform=Transform::getIdentity()) |
| |
| virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
| | Initializes the sensor.
|
| |
| virtual bool | isCalibrated () const |
| |
| virtual std::string | getSerial () const |
| | Returns the sensor's serial number or unique identifier.
|
| |
|
bool | setAutoWhiteBalance (bool enabled) |
| |
|
bool | setAutoExposure (bool enabled) |
| |
|
bool | setExposure (int value) |
| |
|
bool | setGain (int value) |
| |
|
bool | setMirroring (bool enabled) |
| |
|
void | setOpenNI2StampsAndIDsUsed (bool used) |
| |
|
void | setIRDepthShift (int horizontal, int vertical) |
| |
|
void | setDepthDecimation (int decimation) |
| |
| SensorData | takeImage (SensorCaptureInfo *info=0) |
| |
| float | getImageRate () const |
| |
| void | setImageRate (float imageRate) |
| |
|
void | setInterIMUPublishing (bool enabled, IMUFilter *filter=0, bool baseFrameConversion=false) |
| |
| bool | isInterIMUPublishing () const |
| |
|
bool | initFromFile (const std::string &calibrationPath) |
| |
|
virtual | ~SensorCapture () |
| | Virtual destructor.
|
| |
| SensorData | takeData (SensorCaptureInfo *info=0) |
| | Captures sensor data with frame rate control.
|
| |
| virtual bool | odomProvided () const |
| | Checks if the sensor provides odometry poses.
|
| |
| virtual bool | getPose (double stamp, Transform &pose, cv::Mat &covariance, double maxWaitTime=0.06) |
| | Gets the sensor's pose estimate at a specific timestamp.
|
| |
| float | getFrameRate () const |
| | Returns the target frame rate.
|
| |
| const Transform & | getLocalTransform () const |
| | Returns the local transform from base frame to sensor frame.
|
| |
| void | setFrameRate (float frameRate) |
| | Sets the target frame rate.
|
| |
| void | setLocalTransform (const Transform &localTransform) |
| | Sets the local transform from base frame to sensor frame.
|
| |
| void | resetTimer () |
| | Resets the frame rate timer.
|
| |
Definition at line 42 of file CameraOpenNI2.h.
| virtual std::string rtabmap::CameraOpenNI2::getSerial |
( |
| ) |
const |
|
virtual |
Returns the sensor's serial number or unique identifier.
Pure virtual method that must be implemented by derived classes to return a unique identifier for the sensor (e.g., device serial number, file path, or other identifier).
- Returns
- String identifier for the sensor
Implements rtabmap::SensorCapture.