This commit is contained in:
tumbili
2015-08-23 14:06:25 +02:00
committed by Lorenz Meier
parent 47aedba691
commit 3ccb35f338
6 changed files with 13 additions and 14 deletions
+2 -3
View File
@@ -620,9 +620,8 @@ void TECS::update_pitch_throttle(const math::Matrix<3,3> &rotMat, float pitch, f
_tecs_state.energy_error_integ = _integ6_state;
_tecs_state.energy_distribution_error_integ = _integ7_state;
_tecs_state.throttle_sp = _throttle_dem;
_tecs_state.pitch_sp = _pitch_dem;
_tecs_state.throttle_integ = _integ6_state;
_tecs_state.pitch_integ = _integ7_state;
_update_pitch_throttle_last_usec = now;
+2 -2
View File
@@ -155,8 +155,8 @@ public:
float total_energy_rate_error;
float energy_distribution_error;
float energy_distribution_rate_error;
float throttle_sp;
float pitch_sp;
float throttle_integ;
float pitch_integ;
enum ECL_TECS_MODE mode;
};