|
RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
|


Public Member Functions | |
| CameraImages (const std::string &path, 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. | |
| virtual bool | odomProvided () const |
| Checks if the sensor provides odometry poses. | |
| std::string | getPath () const |
| unsigned int | imagesCount () const |
| std::vector< std::string > | filenames () const |
| bool | isImagesRectified () const |
| int | getBayerMode () const |
| const CameraModel & | cameraModel () const |
| void | setPath (const std::string &dir) |
| virtual void | setStartIndex (int index) |
| virtual void | setMaxFrames (int value) |
| void | setDirRefreshed (bool enabled) |
| void | setImagesRectified (bool enabled) |
| void | setBayerMode (int mode) |
| void | setTimestamps (bool fileNamesAreStamps, const std::string &filePath="", bool syncImageRateWithStamps=true) |
| void | setConfigForEachFrame (bool value) |
| bool | isConfigForEachFrame () const |
| void | setMultiCameraCalibration (bool enabled) |
| void | setScanPath (const std::string &dir, int maxScanPts=0, const Transform &localTransform=Transform::getIdentity()) |
| void | setDepthFromScan (bool enabled, int fillHoles=1, bool fillHolesFromBorder=false) |
| void | setOdometryPath (const std::string &filePath, int format=0) |
| void | setGroundTruthPath (const std::string &filePath, int format=0, const Transform &localTransform=Transform::getIdentity()) |
| void | setMaxPoseTimeDiff (double diff) |
| double | getMaxPoseTimeDiff () const |
| void | setDepth (bool isDepth, float depthScaleFactor=1.0f) |
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 | 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) |
| const std::string & | lastImageFileName () const |
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. | |
Protected Attributes | |
| std::string | _calibrationFolder |
| bool | _multiCameraCalib |
| int | _multiCameraCount |
Definition at line 39 of file CameraImages.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.
Reimplemented in rtabmap::CameraRGBDImages, and rtabmap::CameraStereoImages.
|
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.
Reimplemented in rtabmap::CameraStereoImages.
|
inlinevirtual |
Checks if the sensor provides odometry poses.
Some sensors (e.g., visual-inertial cameras) can provide pose estimates directly. This method indicates whether the sensor supports pose queries.
Reimplemented from rtabmap::SensorCapture.
Definition at line 53 of file CameraImages.h.
|
inline |
Definition at line 54 of file CameraImages.h.
|
inline |
Definition at line 57 of file CameraImages.h.
|
inline |
Definition at line 58 of file CameraImages.h.
|
inline |
Definition at line 59 of file CameraImages.h.
|
inline |
Definition at line 61 of file CameraImages.h.
|
inlinevirtual |
Definition at line 62 of file CameraImages.h.
|
inlinevirtual |
Definition at line 63 of file CameraImages.h.
|
inline |
Definition at line 64 of file CameraImages.h.
|
inline |
Definition at line 65 of file CameraImages.h.
|
inline |
Definition at line 66 of file CameraImages.h.
|
inline |
Definition at line 68 of file CameraImages.h.
|
inline |
Definition at line 75 of file CameraImages.h.
|
inline |
Definition at line 79 of file CameraImages.h.
|
inline |
Definition at line 97 of file CameraImages.h.
|
inline |
Definition at line 102 of file CameraImages.h.
|
inline |
Definition at line 112 of file CameraImages.h.
|
inline |
Definition at line 120 of file CameraImages.h.
|
inline |
Definition at line 127 of file CameraImages.h.
|
inline |
Definition at line 134 of file CameraImages.h.
|
inline |
Definition at line 135 of file CameraImages.h.
|
inline |
Definition at line 137 of file CameraImages.h.
|
protectedvirtual |
Implements rtabmap::Camera.
|
inlineprotected |
Definition at line 149 of file CameraImages.h.
|
protected |
Definition at line 153 of file CameraImages.h.
|
protected |
Definition at line 159 of file CameraImages.h.
|
protected |
Definition at line 160 of file CameraImages.h.