mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 15:03:33 +08:00
ekf2: move IMU down sampler to imu_down_sampler/
This commit is contained in:
@@ -122,11 +122,12 @@ list(APPEND EKF_SRCS
|
|||||||
EKF/ekf_helper.cpp
|
EKF/ekf_helper.cpp
|
||||||
EKF/estimator_interface.cpp
|
EKF/estimator_interface.cpp
|
||||||
EKF/height_control.cpp
|
EKF/height_control.cpp
|
||||||
EKF/imu_down_sampler.cpp
|
|
||||||
EKF/velocity_fusion.cpp
|
EKF/velocity_fusion.cpp
|
||||||
EKF/position_fusion.cpp
|
EKF/position_fusion.cpp
|
||||||
EKF/yaw_fusion.cpp
|
EKF/yaw_fusion.cpp
|
||||||
|
|
||||||
|
EKF/imu_down_sampler/imu_down_sampler.cpp
|
||||||
|
|
||||||
EKF/aid_sources/fake_height_control.cpp
|
EKF/aid_sources/fake_height_control.cpp
|
||||||
EKF/aid_sources/fake_pos_control.cpp
|
EKF/aid_sources/fake_pos_control.cpp
|
||||||
EKF/aid_sources/ZeroGyroUpdate.cpp
|
EKF/aid_sources/ZeroGyroUpdate.cpp
|
||||||
|
|||||||
@@ -43,11 +43,12 @@ list(APPEND EKF_SRCS
|
|||||||
ekf_helper.cpp
|
ekf_helper.cpp
|
||||||
estimator_interface.cpp
|
estimator_interface.cpp
|
||||||
height_control.cpp
|
height_control.cpp
|
||||||
imu_down_sampler.cpp
|
|
||||||
velocity_fusion.cpp
|
velocity_fusion.cpp
|
||||||
position_fusion.cpp
|
position_fusion.cpp
|
||||||
yaw_fusion.cpp
|
yaw_fusion.cpp
|
||||||
|
|
||||||
|
imu_down_sampler/imu_down_sampler.cpp
|
||||||
|
|
||||||
aid_sources/fake_height_control.cpp
|
aid_sources/fake_height_control.cpp
|
||||||
aid_sources/fake_pos_control.cpp
|
aid_sources/fake_pos_control.cpp
|
||||||
aid_sources/ZeroGyroUpdate.cpp
|
aid_sources/ZeroGyroUpdate.cpp
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "RingBuffer.h"
|
#include "RingBuffer.h"
|
||||||
#include "imu_down_sampler.hpp"
|
#include "imu_down_sampler/imu_down_sampler.hpp"
|
||||||
#include "output_predictor/output_predictor.h"
|
#include "output_predictor/output_predictor.h"
|
||||||
|
|
||||||
#if defined(CONFIG_EKF2_RANGE_FINDER)
|
#if defined(CONFIG_EKF2_RANGE_FINDER)
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#include "imu_down_sampler.hpp"
|
#include "imu_down_sampler/imu_down_sampler.hpp"
|
||||||
|
|
||||||
#include <lib/mathlib/mathlib.h>
|
#include <lib/mathlib/mathlib.h>
|
||||||
|
|
||||||
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
#include <mathlib/mathlib.h>
|
#include <mathlib/mathlib.h>
|
||||||
#include <matrix/math.hpp>
|
#include <matrix/math.hpp>
|
||||||
|
|
||||||
#include "common.h"
|
#include "../common.h"
|
||||||
|
|
||||||
using namespace estimator;
|
using namespace estimator;
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "EKF/ekf.h"
|
#include "EKF/ekf.h"
|
||||||
#include "EKF/imu_down_sampler.hpp"
|
#include "EKF/imu_down_sampler/imu_down_sampler.hpp"
|
||||||
|
|
||||||
class EkfImuSamplingTest : public ::testing::TestWithParam<std::tuple<float, float, Vector3f, Vector3f>>
|
class EkfImuSamplingTest : public ::testing::TestWithParam<std::tuple<float, float, Vector3f, Vector3f>>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user