diff options
author | Julian Oes <joes@student.ethz.ch> | 2012-09-25 16:39:15 +0200 |
---|---|---|
committer | Julian Oes <joes@student.ethz.ch> | 2012-09-25 16:39:15 +0200 |
commit | 5c00ca343fabce95273d15b13da4460935134fd3 (patch) | |
tree | de18e823c518a45247591222fb300f06ffc5d261 /apps/commander | |
parent | 6b0ed71ae02a56692a80e47bd11baa7e14d9284e (diff) | |
download | px4-firmware-5c00ca343fabce95273d15b13da4460935134fd3.tar.gz px4-firmware-5c00ca343fabce95273d15b13da4460935134fd3.tar.bz2 px4-firmware-5c00ca343fabce95273d15b13da4460935134fd3.zip |
forgot to remove printfs of magnetometer calibration
Diffstat (limited to 'apps/commander')
-rw-r--r-- | apps/commander/commander.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/commander/commander.c b/apps/commander/commander.c index 4c20a2f71..3ac01ee1b 100644 --- a/apps/commander/commander.c +++ b/apps/commander/commander.c @@ -384,20 +384,20 @@ void do_mag_calibration(int status_pub, struct vehicle_status_s *status) * offset = (max + min) / 2.0f */ - printf("max 0: %f\n",mag_max[0]); - printf("max 1: %f\n",mag_max[1]); - printf("max 2: %f\n",mag_max[2]); - printf("min 0: %f\n",mag_min[0]); - printf("min 1: %f\n",mag_min[1]); - printf("min 2: %f\n",mag_min[2]); +// printf("max 0: %f\n",mag_max[0]); +// printf("max 1: %f\n",mag_max[1]); +// printf("max 2: %f\n",mag_max[2]); +// printf("min 0: %f\n",mag_min[0]); +// printf("min 1: %f\n",mag_min[1]); +// printf("min 2: %f\n",mag_min[2]); mag_offset[0] = (mag_max[0] + mag_min[0]) / 2.0f; mag_offset[1] = (mag_max[1] + mag_min[1]) / 2.0f; mag_offset[2] = (mag_max[2] + mag_min[2]) / 2.0f; - printf("mag off 0: %f\n",mag_offset[0]); - printf("mag off 1: %f\n",mag_offset[1]); - printf("mag off 2: %f\n",mag_offset[2]); +// printf("mag off 0: %f\n",mag_offset[0]); +// printf("mag off 1: %f\n",mag_offset[1]); +// printf("mag off 2: %f\n",mag_offset[2]); /* announce and set new offset */ |