Definition at line 14 of file CameraSeerSense.h.
◆ init()
| virtual bool rtabmap::CameraSeerSense::init |
( |
const std::string & |
calibrationFolder = ".", |
|
|
const std::string & |
cameraName = "" |
|
) |
| |
|
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:
- Opening device connections or file streams
- Loading camera calibration parameters
- Configuring sensor settings
- Parameters
-
| calibrationFolder | Directory path where calibration files are located (default: current directory ".") |
| cameraName | Base name of the camera for loading calibration files (default: empty string) |
- Returns
- True if initialization was successful, false otherwise
- Note
- Must be called before calling takeData() or captureData()
Implements rtabmap::SensorCapture.
◆ isCalibrated()
| virtual bool rtabmap::CameraSeerSense::isCalibrated |
( |
| ) |
const |
|
virtual |
◆ getSerial()
| virtual std::string rtabmap::CameraSeerSense::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.
◆ odomProvided()
| virtual bool rtabmap::CameraSeerSense::odomProvided |
( |
| ) |
const |
|
virtual |
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.
- Returns
- True if the sensor provides odometry poses, false otherwise
- Note
- Default implementation returns false. Derived classes should override if they support pose estimation.
- See also
- getPose()
Reimplemented from rtabmap::SensorCapture.
◆ getPose()
| virtual bool rtabmap::CameraSeerSense::getPose |
( |
double |
stamp, |
|
|
Transform & |
pose, |
|
|
cv::Mat & |
covariance, |
|
|
double |
maxWaitTime = 0.0 |
|
) |
| |
|
virtual |
Gets the sensor's pose estimate at a specific timestamp.
Queries the sensor for its pose estimate at the given timestamp. This is typically used for sensors that provide visual-inertial odometry or other pose estimation capabilities.
- Parameters
-
| stamp | Timestamp in seconds for which to query the pose |
| [out] | pose | Output transform representing the sensor pose |
| [out] | covariance | Output covariance matrix (6x6) representing twist uncertainty |
| maxWaitTime | Maximum time in seconds to wait for pose data (default: 0.06) |
- Returns
- True if pose was successfully retrieved, false otherwise
- Note
- Default implementation returns false. Derived classes should override if they support pose estimation.
- See also
- odomProvided()
Reimplemented from rtabmap::SensorCapture.
◆ captureImage()
The documentation for this class was generated from the following file: