aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Bapst <romanbapst@yahoo.de>2014-09-24 08:53:23 +0200
committerRoman Bapst <romanbapst@yahoo.de>2014-09-24 08:53:23 +0200
commitcfe14d78c5a9d2f80ebc0282e4bc400dcba6a795 (patch)
treec05b59de03498679353739d020015eb5ed70cf98
parent0553771f4fd6fbdba43669a8f17185ed61f96a51 (diff)
downloadpx4-firmware-cfe14d78c5a9d2f80ebc0282e4bc400dcba6a795.tar.gz
px4-firmware-cfe14d78c5a9d2f80ebc0282e4bc400dcba6a795.tar.bz2
px4-firmware-cfe14d78c5a9d2f80ebc0282e4bc400dcba6a795.zip
Adapted for sharded library use with ROS. Problems to solve: error library from PX4 does not work yet. math functions such as isfinite need to be shared as well. performance library needs to be shared as well (commented for now)
-rw-r--r--src/lib/ecl/attitude_fw/ecl_pitch_controller.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ecl/attitude_fw/ecl_pitch_controller.h b/src/lib/ecl/attitude_fw/ecl_pitch_controller.h
index 39b9f9d03..973e15d98 100644
--- a/src/lib/ecl/attitude_fw/ecl_pitch_controller.h
+++ b/src/lib/ecl/attitude_fw/ecl_pitch_controller.h
@@ -51,8 +51,9 @@
#include <stdbool.h>
#include <stdint.h>
+#ifdef CONFIG_ARM_ARCH
#include <systemlib/perf_counter.h>
-
+#endif
class __EXPORT ECL_PitchController //XXX: create controller superclass
{
public:
@@ -129,7 +130,7 @@ private:
float _rate_error;
float _rate_setpoint;
float _bodyrate_setpoint;
- perf_counter_t _nonfinite_input_perf;
+ //perf_counter_t _nonfinite_input_perf;
};
#endif // ECL_PITCH_CONTROLLER_H