EKF: remove dependecies and allow ekf to be built as standalone shared lib

This commit is contained in:
bugobliterator
2016-02-17 17:33:18 -08:00
parent de02aebafd
commit 263c48d089
13 changed files with 1218 additions and 12 deletions
+2 -2
View File
@@ -44,7 +44,7 @@
#include <inttypes.h>
#include <math.h>
#include "estimator_interface.h"
#include <mathlib/mathlib.h>
#include "mathlib.h"
EstimatorInterface::EstimatorInterface()
@@ -216,7 +216,7 @@ bool EstimatorInterface::initialise_interface(uint64_t timestamp)
_airspeed_buffer.allocate(OBS_BUFFER_LENGTH) &&
_flow_buffer.allocate(OBS_BUFFER_LENGTH) &&
_output_buffer.allocate(IMU_BUFFER_LENGTH))) {
PX4_WARN("Estimator Buffer Allocation failed!");
printf("Estimator Buffer Allocation failed!");
unallocate_buffers();
return false;
}