#include <Camera.h>
|
| 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 bool | isCalibrated () const =0 |
| |
|
virtual | ~SensorCapture () |
| | Virtual destructor.
|
| |
| SensorData | takeData (SensorCaptureInfo *info=0) |
| | Captures sensor data with frame rate control.
|
| |
| virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="")=0 |
| | Initializes the sensor.
|
| |
| virtual std::string | getSerial () const =0 |
| | Returns the sensor's serial number or unique identifier.
|
| |
| 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.
|
| |
Class Camera
Definition at line 43 of file Camera.h.
◆ Camera()
Constructor
- Parameters
-
| imageRate | the frame rate (Hz), 0 for fast as the camera can |
| localTransform | the transform from base frame to camera frame (without optical rotation) |
◆ takeImage()
◆ getImageRate()
| float rtabmap::Camera::getImageRate |
( |
| ) |
const |
|
inline |
◆ setImageRate()
| void rtabmap::Camera::setImageRate |
( |
float |
imageRate | ) |
|
|
inline |
◆ isInterIMUPublishing()
| bool rtabmap::Camera::isInterIMUPublishing |
( |
| ) |
const |
|
inline |
◆ captureImage()
The documentation for this class was generated from the following file: