AP_Soaring: remove definition of 'N' macro in favour of scoped variable

This commit is contained in:
Peter Barker 2019-06-27 13:22:56 +10:00 committed by Peter Barker
parent bd2516bc89
commit 61e261caf5

View File

@ -9,12 +9,12 @@ Extended Kalman Filter class by Sam Tabor, 2013.
#include <AP_Math/matrixN.h>
#define N 4
class ExtendedKalmanFilter {
public:
ExtendedKalmanFilter(void) {}
static constexpr const uint8_t N = 4;
VectorN<float,N> X;
MatrixN<float,N> P;
MatrixN<float,N> Q;