Solar
Public Member Functions | List of all members
SolAR::MODULES::REALSENSE::SolARStereoCameraRealsense Class Reference

This component gets data from a stereo camera of Realsense. UUID: 0e9c544f-64af-41d8-96d2-58b5e2f816a0 More...

#include <SolARStereoCameraRealSense.h>

Inheritance diagram for SolAR::MODULES::REALSENSE::SolARStereoCameraRealsense:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::REALSENSE::SolARStereoCameraRealsense:
Collaboration graph
[legend]

Public Member Functions

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 &timestamp) 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
 

Detailed Description

This component gets data from a stereo camera of Realsense. UUID: 0e9c544f-64af-41d8-96d2-58b5e2f816a0

Member Function Documentation

◆ 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]imagesthe captured images.
[out]posesthe associated poses.
[out]timestampthe 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: