removed estimator stuff from infrared. estimator_update_state_infrared not called from UpdateIRValue anymore

This commit is contained in:
Felix Ruess
2011-08-23 21:05:28 +02:00
parent 3b8d8c2faf
commit a8734e8a3d
@@ -27,7 +27,6 @@
#include "std.h"
#include "generated/airframe.h"
#include "estimator.h"
/*
* Sensor installation
@@ -140,7 +139,6 @@ extern struct Infrared infrared;
infrared.roll = infrared.lateral_correction * IR_RollOfIrs(infrared.value.ir1, infrared.value.ir2); \
infrared.pitch = infrared.longitudinal_correction * IR_PitchOfIrs(infrared.value.ir1, infrared.value.ir2); \
infrared.top = infrared.vertical_correction * IR_TopOfIr(infrared.value.ir3); \
estimator_update_state_infrared(); \
}
// initialization of the infrared structure