NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
flight_imu_unittest.cc File Reference
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include <limits.h>
#include <platform.h>
#include "build_config.h"
#include "debug.h"
#include "common/axis.h"
#include "common/maths.h"
#include "config/config.h"
#include "drivers/sensor.h"
#include "drivers/accgyro.h"
#include "drivers/compass.h"
#include "sensors/gyro.h"
#include "sensors/compass.h"
#include "sensors/acceleration.h"
#include "sensors/barometer.h"
#include "rx/rx.h"
#include "flight/mixer.h"
#include "flight/anglerate.h"
#include "unittest_macros.h"
#include "gtest/gtest.h"
Include dependency graph for flight_imu_unittest.cc:

Data Structures

class  FlightImuTest
 

Macros

#define BARO
 

Functions

void input_imu_accel (struct imu *self, int16_t x, int16_t y, int16_t z)
 
 TEST_F (FlightImuTest, TestImuLevel)
 
 TEST_F (FlightImuTest, TestEulerAngleCalculation)
 

Macro Definition Documentation

#define BARO

Function Documentation

void input_imu_accel ( struct imu self,
int16_t  x,
int16_t  y,
int16_t  z 
)

Here is the call graph for this function:

TEST_F ( FlightImuTest  ,
TestImuLevel   
)

Here is the call graph for this function:

TEST_F ( FlightImuTest  ,
TestEulerAngleCalculation   
)

Here is the call graph for this function: