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_data
accel_frames = {}
static std::vector
< rs::timestamp_data
depth_timestamp_events = {}
static std::vector
< rs::timestamp_data
fisheye_timestamp_events = {}
static std::vector
< rs::motion_data
gyro_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.

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);
    }
}

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

Initial value:
 [](rs::timestamp_data entry)
{
    if (rs_event_source::RS_EVENT_IMU_MOTION_CAM == entry.source_id)
    {
        fisheye_timestamp_events.push_back(entry);
    }
    if (rs_event_source::RS_EVENT_IMU_DEPTH_CAM == entry.source_id)
    {
        depth_timestamp_events.push_back(entry);
    }
}

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



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:40