merge fixes

This commit is contained in:
Julian Oes 2014-05-07 23:53:27 +02:00
parent 26f5e550c4
commit 68352cb923
1 changed files with 1 additions and 1 deletions

View File

@ -1029,7 +1029,7 @@ FixedwingEstimator::task_main()
float initVelNED[3]; float initVelNED[3];
if (!_gps_initialized && _gps.fix_type > 2 && _gps.eph_m < _parameters.pos_stddev_threshold && _gps.epv_m < _parameters.pos_stddev_threshold) { if (!_gps_initialized && _gps.fix_type > 2 && _gps.eph < _parameters.pos_stddev_threshold && _gps.epv < _parameters.pos_stddev_threshold) {
initVelNED[0] = _gps.vel_n_m_s; initVelNED[0] = _gps.vel_n_m_s;
initVelNED[1] = _gps.vel_e_m_s; initVelNED[1] = _gps.vel_e_m_s;