From fdc0ef00b34a89cc857cfb255893fc95ebd95962 Mon Sep 17 00:00:00 2001 From: Roman Date: Thu, 4 Feb 2016 23:06:27 +0100 Subject: [PATCH] fix TECS logging --- src/lib/external_lgpl/tecs/tecs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/external_lgpl/tecs/tecs.cpp b/src/lib/external_lgpl/tecs/tecs.cpp index cca01e6a3a..9fc847e440 100644 --- a/src/lib/external_lgpl/tecs/tecs.cpp +++ b/src/lib/external_lgpl/tecs/tecs.cpp @@ -621,7 +621,7 @@ void TECS::update_pitch_throttle(const math::Matrix<3,3> &rotMat, float pitch, f _tecs_state.total_energy_error = _STE_error; _tecs_state.energy_distribution_error = _SEB_error; _tecs_state.total_energy_rate_error = _STEdot_error; - _tecs_state.energy_distribution_error = _SEBdot_error; + _tecs_state.energy_distribution_rate_error = _SEBdot_error; _tecs_state.energy_error_integ = _integ6_state; _tecs_state.energy_distribution_error_integ = _integ7_state;