diff options
author | Roman Bapst <romanbapst@yahoo.de> | 2014-09-24 08:53:23 +0200 |
---|---|---|
committer | Roman Bapst <romanbapst@yahoo.de> | 2014-09-24 08:53:23 +0200 |
commit | cfe14d78c5a9d2f80ebc0282e4bc400dcba6a795 (patch) | |
tree | c05b59de03498679353739d020015eb5ed70cf98 | |
parent | 0553771f4fd6fbdba43669a8f17185ed61f96a51 (diff) | |
download | px4-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.h | 5 |
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 |