Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | List of all members
rs2::motion_stream_profile Class Reference

#include <rs_frame.hpp>

Inheritance diagram for rs2::motion_stream_profile:
rs2::stream_profile

Public Member Functions

 motion_stream_profile (const stream_profile &sp)
 
rs2_motion_device_intrinsic get_motion_intrinsics () const
 
- Public Member Functions inherited from rs2::stream_profile
 stream_profile ()
 
int stream_index () const
 
rs2_stream stream_type () const
 
rs2_format format () const
 
int fps () const
 
int unique_id () const
 
stream_profile clone (rs2_stream type, int index, rs2_format format) const
 
bool operator== (const stream_profile &rhs)
 
template<class T >
bool is () const
 
template<class T >
as () const
 
std::string stream_name () const
 
bool is_default () const
 
 operator bool () const
 
const rs2_stream_profileget () const
 
rs2_extrinsics get_extrinsics_to (const stream_profile &to) const
 
void register_extrinsics_to (const stream_profile &to, rs2_extrinsics extrinsics)
 
bool is_cloned ()
 
 stream_profile (const rs2_stream_profile *profile)
 
 operator const rs2_stream_profile * ()
 
 operator std::shared_ptr< rs2_stream_profile > ()
 

Additional Inherited Members

- Protected Attributes inherited from rs2::stream_profile
const rs2_stream_profile_profile
 
std::shared_ptr< rs2_stream_profile_clone
 
int _index = 0
 
int _uid = 0
 
int _framerate = 0
 
rs2_format _format = RS2_FORMAT_ANY
 
rs2_stream _type = RS2_STREAM_ANY
 
bool _default = false
 

Constructor & Destructor Documentation

◆ motion_stream_profile()

rs2::motion_stream_profile::motion_stream_profile ( const stream_profile sp)
inlineexplicit

Stream profile instance which contains IMU-specific intrinsics.

Parameters
[in]stream_profilesp - assign exisiting stream_profile to this instance.

Member Function Documentation

◆ get_motion_intrinsics()

rs2_motion_device_intrinsic rs2::motion_stream_profile::get_motion_intrinsics ( ) const
inline

Returns scale/bias/covariances of a the motion sensors

Returns
rs2_motion_device_intrtinsic - stream motion intrinsics

The documentation for this class was generated from the following file: