ekf_helper.cpp: remove unused includes

This fixes a compile error with GCC 5.2.0 and cross-compilation:
/usr/arm-none-eabi/include/c++/5.2.0/arm-none-eabi/armv7e-m/fpu/bits/error_constants.h:122:27: error: 'ENOTSUP' was not declared in this scope
       not_supported =     ENOTSUP,

The problem was that the #include <iomanip> was taken from the host system,
which conflicts with includes from NuttX (NuttX has only basic C++ STL
support)
This commit is contained in:
Beat Küng
2016-07-15 12:50:11 +02:00
parent 2240eb6b4f
commit 73b8ac954d
-5
View File
@@ -40,11 +40,6 @@
*/
#include "ekf.h"
#ifdef __PX4_POSIX
#include <iostream>
#include <fstream>
#endif
#include <iomanip>
#include "mathlib.h"
// Reset the velocity states. If we have a recent and valid