esp32_BNO08x 1.2
C++ BNO08x IMU driver component for esp-idf.
Loading...
Searching...
No Matches
SingleReportTests.cpp File Reference
#include "unity.h"
#include "../include/BNO08xTestHelper.hpp"
Include dependency graph for SingleReportTests.cpp:

Functions

 TEST_CASE ("BNO08x Driver Creation for [SingleReportEnableDisable] Tests", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable Incorrect Report", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Rotation Vector", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Game Rotation Vector", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable ARVR Stabilized Rotation Vector", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable ARVR Stabilized Game Rotation Vector", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Gyro Integrated Rotation Vector", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Uncalibrated Gyro", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Calibrated Gyro", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Accelerometer", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Linear Accelerometer", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Gravity", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Magnetometer", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Step Counter", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Stability Classifier", "[SingleReportEnableDisable]")
 
 TEST_CASE ("Enable/Disable Activity Classifier", "[SingleReportEnableDisable]")
 
 TEST_CASE ("BNO08x Driver Cleanup for [SingleReportEnableDisable] Tests", "[SingleReportEnableDisable]")
 

Variables

static const constexpr uint8_t RX_REPORT_TRIAL_CNT = 5
 
static const constexpr uint32_t REPORT_PERIOD = 100000UL
 

Function Documentation

◆ TEST_CASE() [1/17]

TEST_CASE ( "BNO08x Driver Cleanup for Tests" [SingleReportEnableDisable],
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [2/17]

TEST_CASE ( "BNO08x Driver Creation for Tests" [SingleReportEnableDisable],
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [3/17]

TEST_CASE ( "Enable Incorrect Report" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [4/17]

TEST_CASE ( "Enable/Disable Accelerometer" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [5/17]

TEST_CASE ( "Enable/Disable Activity Classifier" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [6/17]

TEST_CASE ( "Enable/Disable ARVR Stabilized Game Rotation Vector" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [7/17]

TEST_CASE ( "Enable/Disable ARVR Stabilized Rotation Vector" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [8/17]

TEST_CASE ( "Enable/Disable Calibrated Gyro" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [9/17]

TEST_CASE ( "Enable/Disable Game Rotation Vector" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [10/17]

TEST_CASE ( "Enable/Disable Gravity" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [11/17]

TEST_CASE ( "Enable/Disable Gyro Integrated Rotation Vector" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [12/17]

TEST_CASE ( "Enable/Disable Linear Accelerometer" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [13/17]

TEST_CASE ( "Enable/Disable Magnetometer" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [14/17]

TEST_CASE ( "Enable/Disable Rotation Vector" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [15/17]

TEST_CASE ( "Enable/Disable Stability Classifier" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [16/17]

TEST_CASE ( "Enable/Disable Step Counter" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

◆ TEST_CASE() [17/17]

TEST_CASE ( "Enable/Disable Uncalibrated Gyro" ,
"" [SingleReportEnableDisable] )
Here is the call graph for this function:

Variable Documentation

◆ REPORT_PERIOD

const constexpr uint32_t REPORT_PERIOD = 100000UL
staticconstexpr

◆ RX_REPORT_TRIAL_CNT

const constexpr uint8_t RX_REPORT_TRIAL_CNT = 5
staticconstexpr