diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-11 18:42:46 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-11 18:42:46 +0200 |
commit | 7ec8fe8d61ea56b632d8b02bae5d847a3f031771 (patch) | |
tree | e97d0056d241f4ee2cd2b550906700d702f7e796 /src/modules/ekf_att_pos_estimator | |
parent | d3a9aaed5de6c8952d7034253100aafb9ae4b968 (diff) | |
download | px4-firmware-7ec8fe8d61ea56b632d8b02bae5d847a3f031771.tar.gz px4-firmware-7ec8fe8d61ea56b632d8b02bae5d847a3f031771.tar.bz2 px4-firmware-7ec8fe8d61ea56b632d8b02bae5d847a3f031771.zip |
Experimental init delay
Diffstat (limited to 'src/modules/ekf_att_pos_estimator')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp index ba8a58f65..d96ae5637 100644 --- a/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp +++ b/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp @@ -1021,7 +1021,7 @@ FixedwingEstimator::task_main() * PART TWO: EXECUTE THE FILTER **/ - if (_baro_init && _gyro_valid && _accel_valid && _mag_valid) { + if (hrt_absolute_time() > 2 * 1000 * 1000 && _baro_init && _gyro_valid && _accel_valid && _mag_valid) { float initVelNED[3]; |