removed platform specific included, they are not needed

This commit is contained in:
Roman Bapst
2014-11-11 15:41:07 +01:00
parent 19bc137cf3
commit 284787e02c
3 changed files with 1 additions and 19 deletions
@@ -47,12 +47,6 @@
#include <mathlib/mathlib.h>
#include <systemlib/err.h>
#ifdef CONFIG_ARCH_ARM
#else
#include <cmath>
using namespace std;
#endif
ECL_PitchController::ECL_PitchController() :
_last_run(0),
_tc(0.1f),
@@ -81,7 +75,7 @@ float ECL_PitchController::control_attitude(float pitch_setpoint, float roll, fl
{
/* Do not calculate control signal with bad inputs */
if (!(isfinite(pitch_setpoint) && isfinite(roll) && isfinite(pitch) && isfinite(airspeed))) {
//perf_count(_nonfinite_input_perf);
perf_count(_nonfinite_input_perf);
warnx("not controlling pitch");
return _rate_setpoint;
}
@@ -47,12 +47,6 @@
#include <mathlib/mathlib.h>
#include <systemlib/err.h>
#ifdef CONFIG_ARCH_ARM
#else
#include <cmath>
using namespace std;
#endif
ECL_RollController::ECL_RollController() :
_last_run(0),
_tc(0.1f),
@@ -46,12 +46,6 @@
#include <mathlib/mathlib.h>
#include <systemlib/err.h>
#ifdef CONFIG_ARCH_ARM
#else
#include <cmath>
using namespace std;
#endif
ECL_YawController::ECL_YawController() :
_last_run(0),
_k_p(0.0f),