aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Oes <joes@student.ethz.ch>2012-09-25 16:39:15 +0200
committerJulian Oes <joes@student.ethz.ch>2012-09-25 16:39:15 +0200
commit5c00ca343fabce95273d15b13da4460935134fd3 (patch)
treede18e823c518a45247591222fb300f06ffc5d261
parent6b0ed71ae02a56692a80e47bd11baa7e14d9284e (diff)
downloadpx4-firmware-5c00ca343fabce95273d15b13da4460935134fd3.tar.gz
px4-firmware-5c00ca343fabce95273d15b13da4460935134fd3.tar.bz2
px4-firmware-5c00ca343fabce95273d15b13da4460935134fd3.zip
forgot to remove printfs of magnetometer calibration
-rw-r--r--apps/commander/commander.c18
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 */