AP_Soaring: remove definition of 'N' macro in favour of scoped variable
This commit is contained in:
parent
bd2516bc89
commit
61e261caf5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user