|
RTAB-Map 0.25.2
Real-Time Appearance-Based Mapping
|
#include <CameraEinstar.h>


Public Member Functions | |
| CameraEinstar (const std::string &calibrationPath="", const std::string &replayDir="", float imageRate=0.0f, 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. | |
| void | setDepthRange (float minDepthMm, float maxDepthMm) |
| void | setMatchingScale (double scale) |
| void | setStretches (const std::vector< double > &stretches) |
| void | setLighting (int projectorLuminance, int textureLuminance, int laserPercent, int irGain) |
| void | setExposure (bool autoExposure, int irExposureUs, double aeTarget) |
Public Member Functions inherited from rtabmap::Camera | |
| 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) |
Public Member Functions inherited from rtabmap::SensorCapture | |
| 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. | |
Protected Member Functions | |
| virtual SensorData | captureImage (SensorCaptureInfo *info=0) |
Protected Member Functions inherited from rtabmap::Camera | |
| Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity()) | |
| void | postInterIMU (const IMU &imu, double stamp) |
Protected Member Functions inherited from rtabmap::SensorCapture | |
| SensorCapture (float frameRate=0, const Transform &localTransform=Transform::getIdentity()) | |
| Protected constructor. | |
| int | getNextSeqID () |
| Gets the next sequence ID. | |
SHINING 3D Einstar handheld scanner, through the open-source libeinstar userspace driver.
Produces RGB-D frames: depth is computed from the IR stereo pair (the projected speckle moves with the scanner, so it is used for depth only) and registered into the undistorted colour image, which drives odometry.
Calibration comes from the scanner itself when calibrationPath is empty, otherwise from an EXStar project camera model (*.data_cm), EXStar's calibration cache directory (TexCCF.txt, LeftCCF.txt, RightCCF.txt) or a custom-info dump from einstar-probe. A replay directory of libeinstar captures (frame_<id>_cam<n>.pgm) can be used instead of a live device.
Definition at line 64 of file CameraEinstar.h.
|
virtual |
Initializes the sensor.
Pure virtual method that must be implemented by derived classes to initialize the sensor hardware or data source. This typically involves:
| calibrationFolder | Directory path where calibration files are located (default: current directory ".") |
| cameraName | Base name of the camera for loading calibration files (default: empty string) |
Implements rtabmap::SensorCapture.
|
virtual |
Implements rtabmap::Camera.
|
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).
Implements rtabmap::SensorCapture.
|
protectedvirtual |
Implements rtabmap::Camera.