Functions | Variables
unit-tests-live-zr300.cpp File Reference
#include "catch/catch.hpp"
#include "librealsense/rs.hpp"
#include "unit-tests-live-ds-common.h"
#include <climits>
#include <sstream>
#include <numeric>
Include dependency graph for unit-tests-live-zr300.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("ZR300 devices support all required options","[live] [DS-device]")
 
 TEST_CASE ("ZR300 Motion Module Data Streaming Validation","[live] [DS-device]")
 
 TEST_CASE ("ZR300 correctly recognizes invalid options","[live] [DS-device]")
 
 TEST_CASE ("Test ZR300 streaming mode combinations","[live] [ZR300] [one-camera]")
 

Variables

static std::vector< rs::motion_dataaccel_frames = {}
 
static std::vector< rs::timestamp_datadepth_timestamp_events = {}
 
static std::vector< rs::timestamp_datafisheye_timestamp_events = {}
 
static std::vector< rs::motion_datagyro_frames = {}
 
auto motion_handler
 
auto timestamp_handler
 

Function Documentation

TEST_CASE ( "ZR300 devices support all required options"  ,
" "  [live][DS-device] 
)

Definition at line 50 of file unit-tests-live-zr300.cpp.

TEST_CASE ( "ZR300 Motion Module Data Streaming Validation"  ,
" "  [live][DS-device] 
)

Definition at line 131 of file unit-tests-live-zr300.cpp.

TEST_CASE ( "ZR300 correctly recognizes invalid options"  ,
" "  [live][DS-device] 
)

Definition at line 285 of file unit-tests-live-zr300.cpp.

TEST_CASE ( "Test ZR300 streaming mode combinations"  ,
" "  [live][ZR300][one-camera] 
)

Definition at line 314 of file unit-tests-live-zr300.cpp.

Variable Documentation

std::vector<rs::motion_data> accel_frames = {}
static

Definition at line 19 of file unit-tests-live-zr300.cpp.

std::vector<rs::timestamp_data> depth_timestamp_events = {}
static

Definition at line 22 of file unit-tests-live-zr300.cpp.

std::vector<rs::timestamp_data> fisheye_timestamp_events = {}
static

Definition at line 21 of file unit-tests-live-zr300.cpp.

std::vector<rs::motion_data> gyro_frames = {}
static

Definition at line 20 of file unit-tests-live-zr300.cpp.

auto motion_handler
Initial value:
= [](rs::motion_data entry)
{
if (rs_event_source::RS_EVENT_IMU_ACCEL == entry.timestamp_data.source_id)
{
accel_frames.push_back(entry);
}
if (rs_event_source::RS_EVENT_IMU_GYRO == entry.timestamp_data.source_id)
{
gyro_frames.push_back(entry);
}
}
static std::vector< rs::motion_data > gyro_frames
Motion data from gyroscope and accelerometer from the microcontroller.
Definition: rs.hpp:295
static std::vector< rs::motion_data > accel_frames

Definition at line 24 of file unit-tests-live-zr300.cpp.

auto timestamp_handler
Initial value:
= [](rs::timestamp_data entry)
{
{
fisheye_timestamp_events.push_back(entry);
}
{
depth_timestamp_events.push_back(entry);
}
}
static std::vector< rs::timestamp_data > fisheye_timestamp_events
static std::vector< rs::timestamp_data > depth_timestamp_events
Timestamp data from the motion microcontroller.
Definition: rs.hpp:288

Definition at line 38 of file unit-tests-live-zr300.cpp.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:18