#include <rs_frame.hpp>
◆ motion_frame()
rs2::motion_frame::motion_frame |
( |
const frame & |
f | ) |
|
|
inline |
Extends the frame class with additional motion related attributes and functions
- Parameters
-
[in] | frame | - existing frame instance |
◆ get_combined_motion_data()
Retrieve the combined motion data for frames with RS2_FORMAT_COMBINED_MOTION and RS2_STREAM_MOTION. For RS2_FORMAT_MOTION_XYZ32F and RS2_STREAM_GYRO or RS2_STREAM_ACCEL, use get_motion_data().
- Returns
- rs2_combined_motion - including linear acceleration and angular velocity.
◆ get_motion_data()
rs2_vector rs2::motion_frame::get_motion_data |
( |
| ) |
const |
|
inline |
Retrieve the motion data for frames with RS2_FORMAT_MOTION_XYZ32F, RS2_STREAM_GYRO or RS2_STREAM_ACCEL. For RS2_STREAM_MOTION and RS2_FORMAT_COMBINED_MOTION, use get_combined_motion_data().
- Returns
- rs2_vector - 3D vector in Euclidean coordinate space.
The documentation for this class was generated from the following file:
- C:/jenkins_sys_rsbuild/workspace/LRS_doxygen_pipeline/source/include/librealsense2/hpp/rs_frame.hpp