This component gets data from a stereo camera of Realsense. UUID: 0e9c544f-64af-41d8-96d2-58b5e2f816a0
More...
#include <SolARStereoCameraRealSense.h>
|
FrameworkReturnCode | start () override |
| Start the connection to the device for sensors data streaming. More...
|
|
FrameworkReturnCode | stop () override |
| Stop the connection to the device. More...
|
|
FrameworkReturnCode | getData (std::vector< SRef< datastructure::Image > > &images, std::vector< datastructure::Transform3Df > &poses, std::chrono::system_clock::time_point ×tamp) override |
| Retrieve a set of images and their associated poses from the sensors as well as timestamp. More...
|
|
const SolAR::datastructure::CameraRigParameters & | getCameraParameters () const override |
| Get parameters of a camera rig. More...
|
|
org::bcom::xpcf::XPCFErrorCode | onConfigured () override |
|
void | unloadComponent () override final |
|
This component gets data from a stereo camera of Realsense. UUID: 0e9c544f-64af-41d8-96d2-58b5e2f816a0
◆ getCameraParameters()
const SolAR::datastructure::CameraRigParameters & SolAR::MODULES::REALSENSE::SolARStereoCameraRealsense::getCameraParameters |
( |
| ) |
const |
|
override |
Get parameters of a camera rig.
- Returns
- the camera rig parameters
◆ getData()
FrameworkReturnCode SolAR::MODULES::REALSENSE::SolARStereoCameraRealsense::getData |
( |
std::vector< SRef< datastructure::Image > > & |
images, |
|
|
std::vector< datastructure::Transform3Df > & |
poses, |
|
|
std::chrono::system_clock::time_point & |
timestamp |
|
) |
| |
|
override |
Retrieve a set of images and their associated poses from the sensors as well as timestamp.
- Parameters
-
[out] | images | the captured images. |
[out] | poses | the associated poses. |
[out] | timestamp | the timestamp. |
- Returns
- FrameworkReturnCode to track successful or failing event.
◆ start()
FrameworkReturnCode SolAR::MODULES::REALSENSE::SolARStereoCameraRealsense::start |
( |
| ) |
|
|
override |
Start the connection to the device for sensors data streaming.
- Returns
- FrameworkReturnCode::SUCCESS if successful, eiher FrameworkReturnCode::_ERROR.
◆ stop()
FrameworkReturnCode SolAR::MODULES::REALSENSE::SolARStereoCameraRealsense::stop |
( |
| ) |
|
|
override |
Stop the connection to the device.
- Returns
- FrameworkReturnCode::SUCCESS if successful, eiher FrameworkReturnCode::_ERROR.
The documentation for this class was generated from the following file: