Remove last reference to mtecs enabled param

This commit is contained in:
Lorenz Meier 2014-07-18 08:07:35 +02:00
parent 90a5ae1afd
commit 81f60329e4
1 changed files with 2 additions and 4 deletions

View File

@ -756,11 +756,9 @@ FixedwingPositionControl::control_position(const math::Vector<2> &current_positi
if (!_was_pos_control_mode) {
/* reset integrators */
if (_mTecs.getEnabled()) {
_mTecs.resetIntegrators();
_mTecs.resetDerivatives(_airspeed.true_airspeed_m_s);
}
}
_was_pos_control_mode = true;