NinjaFlight
|
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>
#include "debug.h"
#include <platform.h>
#include "build_config.h"
#include "common/axis.h"
#include "common/maths.h"
#include "common/filter.h"
#include "config/gimbal.h"
#include "drivers/sensor.h"
#include "drivers/accgyro.h"
#include "drivers/pwm_mapping.h"
#include "drivers/gyro_sync.h"
#include "sensors/acceleration.h"
#include "rx/rx.h"
#include "flight/anglerate.h"
#include "flight/mixer.h"
#include "config/config.h"
#include "unittest_macros.h"
#include "gtest/gtest.h"
Data Structures | |
class | MixerBasicTest |
Macros | |
#define | TEST_RC_MID 1500 |
#define | TEST_MIN_COMMAND 1000 |
#define | TEST_SERVO_MID 1500 |
Functions | |
void | resetRX () |
TEST (FlightAxisUnittest, TestAxisIndices) | |
TEST (MixerPresets, TestPresets) | |
TEST_F (MixerBasicTest, TestMixerArmed) | |
TEST_F (MixerBasicTest, Test3dThrottleRange) | |
TEST_F (MixerBasicTest, TestMotorPassthroughWhenDisarmed) | |
TEST_F (MixerBasicTest, TestForwardAuxChannelsToServosWithNoServos) | |
TEST_F (MixerBasicTest, TestMixerExtremes) | |
TEST_F (MixerBasicTest, TestMixerUnusedMotorsAtMin) | |
TEST_F (MixerBasicTest, TestMixerModeQuadX) | |
TEST_F (MixerBasicTest, TestMixerModeAirplane) | |
TEST_F (MixerBasicTest, TestQuadMotors) | |
TEST_F (MixerBasicTest, TestInvalidConfig) | |
TEST_F (MixerBasicTest, TestAllModesTested) | |
Variables | |
struct mixer | default_mixer |
#define TEST_MIN_COMMAND 1000 |
#define TEST_RC_MID 1500 |
#define TEST_SERVO_MID 1500 |
void resetRX | ( | ) |
TEST | ( | FlightAxisUnittest | , |
TestAxisIndices | |||
) |
TEST | ( | MixerPresets | , |
TestPresets | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestMixerArmed | |||
) |
TEST_F | ( | MixerBasicTest | , |
Test3dThrottleRange | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestMotorPassthroughWhenDisarmed | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestForwardAuxChannelsToServosWithNoServos | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestMixerExtremes | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestMixerUnusedMotorsAtMin | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestMixerModeQuadX | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestMixerModeAirplane | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestQuadMotors | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestInvalidConfig | |||
) |
TEST_F | ( | MixerBasicTest | , |
TestAllModesTested | |||
) |
struct mixer default_mixer |