Class motion_frame

Inheritance Relationships

Base Type

Class Documentation

class motion_frame : public rs2::frame

Public Functions

inline motion_frame(const frame &f)

Extends the frame class with additional motion related attributes and functions

Parameters:

frame[in] - existing frame instance

inline rs2_vector get_motion_data() const

Retrieve the motion data from IMU sensor

Returns:

rs2_vector - 3D vector in Euclidean coordinate space.