diff options
author | Mark Whitehorn <kd0aij@gmail.com> | 2015-01-12 17:23:30 -0700 |
---|---|---|
committer | Mark Whitehorn <kd0aij@gmail.com> | 2015-01-13 09:06:00 -0700 |
commit | dba0a5a90fd9fb87ba5a0083b0a009e8ac74b0ea (patch) | |
tree | ce23d95e62a6b1df8070c597aa066e6ee494e01e | |
parent | ea57dec24b14d94ec82f04b67bc31775b1f4a9cf (diff) | |
download | px4-firmware-dba0a5a90fd9fb87ba5a0083b0a009e8ac74b0ea.tar.gz px4-firmware-dba0a5a90fd9fb87ba5a0083b0a009e8ac74b0ea.tar.bz2 px4-firmware-dba0a5a90fd9fb87ba5a0083b0a009e8ac74b0ea.zip |
comment out debug warnx
-rw-r--r-- | src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp index 1770a75e5..8acf09977 100644 --- a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp +++ b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp @@ -1201,17 +1201,17 @@ FixedwingEstimator::task_main() // maintain heavily filtered values for both baro and gps altitude // Assume the filtered output should be identical for both sensors _baro_gps_offset = _baro_alt_filt - _gps_alt_filt; - if (hrt_elapsed_time(&_last_debug_print) >= 5e6) { - _last_debug_print = hrt_absolute_time(); - perf_print_counter(_perf_baro); - perf_reset(_perf_baro); - warnx("gpsoff: %5.1f, baro_alt_filt: %6.1f, gps_alt_filt: %6.1f, gpos.alt: %5.1f, lpos.z: %6.1f", - (double)_baro_gps_offset, - (double)_baro_alt_filt, - (double)_gps_alt_filt, - (double)_global_pos.alt, - (double)_local_pos.z); - } +// if (hrt_elapsed_time(&_last_debug_print) >= 5e6) { +// _last_debug_print = hrt_absolute_time(); +// perf_print_counter(_perf_baro); +// perf_reset(_perf_baro); +// warnx("gpsoff: %5.1f, baro_alt_filt: %6.1f, gps_alt_filt: %6.1f, gpos.alt: %5.1f, lpos.z: %6.1f", +// (double)_baro_gps_offset, +// (double)_baro_alt_filt, +// (double)_gps_alt_filt, +// (double)_global_pos.alt, +// (double)_local_pos.z); +// } /* Initialize the filter first */ if (!_gps_initialized && _gps.fix_type > 2 && _gps.eph < _parameters.pos_stddev_threshold && _gps.epv < _parameters.pos_stddev_threshold) { |