|
|
|
@ -29,12 +29,12 @@
@@ -29,12 +29,12 @@
|
|
|
|
|
|
|
|
|
|
#include <AP_Common/Location.h> |
|
|
|
|
#include <AP_Math/AP_Math.h> |
|
|
|
|
#include "AP_NavEKF2.h" |
|
|
|
|
#include <stdio.h> |
|
|
|
|
#include <AP_Math/vectorN.h> |
|
|
|
|
#include <AP_NavEKF/AP_NavEKF_core_common.h> |
|
|
|
|
#include <AP_NavEKF2/AP_NavEKF2_Buffer.h> |
|
|
|
|
#include <AP_InertialSensor/AP_InertialSensor.h> |
|
|
|
|
#include <GCS_MAVLink/GCS_MAVLink.h> |
|
|
|
|
|
|
|
|
|
#include "AP_NavEKF/EKFGSF_yaw.h" |
|
|
|
|
|
|
|
|
|
// GPS pre-flight check bit locations
|
|
|
|
@ -72,7 +72,7 @@ class NavEKF2_core : public NavEKF_core_common
@@ -72,7 +72,7 @@ class NavEKF2_core : public NavEKF_core_common
|
|
|
|
|
{ |
|
|
|
|
public: |
|
|
|
|
// Constructor
|
|
|
|
|
NavEKF2_core(NavEKF2 *_frontend); |
|
|
|
|
NavEKF2_core(class NavEKF2 *_frontend); |
|
|
|
|
|
|
|
|
|
// setup this core backend
|
|
|
|
|
bool setup_core(uint8_t _imu_index, uint8_t _core_index); |
|
|
|
@ -363,7 +363,7 @@ private:
@@ -363,7 +363,7 @@ private:
|
|
|
|
|
EKFGSF_yaw *yawEstimator; |
|
|
|
|
|
|
|
|
|
// Reference to the global EKF frontend for parameters
|
|
|
|
|
NavEKF2 *frontend; |
|
|
|
|
class NavEKF2 *frontend; |
|
|
|
|
uint8_t imu_index; // preferred IMU index
|
|
|
|
|
uint8_t gyro_index_active; // active gyro index (in case preferred fails)
|
|
|
|
|
uint8_t accel_index_active; // active accel index (in case preferred fails)
|
|
|
|
|