aboutsummaryrefslogtreecommitdiff
path: root/apps/px4
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-11-10 16:51:38 +0100
committerLorenz Meier <lm@inf.ethz.ch>2012-11-10 16:51:38 +0100
commitf08e99311f154879933321c5ac6873ec47a590a8 (patch)
tree576ee5c39747f0105ed021e9cc5b1de7034e6887 /apps/px4
parente99a684fd8e574c51779adc8b5b062ad680c570f (diff)
downloadpx4-firmware-f08e99311f154879933321c5ac6873ec47a590a8.tar.gz
px4-firmware-f08e99311f154879933321c5ac6873ec47a590a8.tar.bz2
px4-firmware-f08e99311f154879933321c5ac6873ec47a590a8.zip
Better printing of baro test values
Diffstat (limited to 'apps/px4')
-rw-r--r--apps/px4/tests/test_sensors.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/px4/tests/test_sensors.c b/apps/px4/tests/test_sensors.c
index ad7c74064..dc1f39046 100644
--- a/apps/px4/tests/test_sensors.c
+++ b/apps/px4/tests/test_sensors.c
@@ -130,7 +130,7 @@ accel(int argc, char *argv[])
return ERROR;
} else {
- printf("\tACCEL values: acc: x:%8.4f\ty:%8.4f\tz:%8.4f\n", (double)buf.x, (double)buf.y, (double)buf.z);
+ printf("\tACCEL accel: x:%8.4f\ty:%8.4f\tz:%8.4f m/s^2\n", (double)buf.x, (double)buf.y, (double)buf.z);
}
// /* wait at least 10ms, sensor should have data after no more than 2ms */
@@ -182,7 +182,7 @@ gyro(int argc, char *argv[])
return ERROR;
} else {
- printf("\tGYRO values: rates: x:%8.4f\ty:%8.4f\tz:%8.4f\n", (double)buf.x, (double)buf.y, (double)buf.z);
+ printf("\tGYRO rates: x:%8.4f\ty:%8.4f\tz:%8.4f rad/s\n", (double)buf.x, (double)buf.y, (double)buf.z);
}
/* Let user know everything is ok */
@@ -219,7 +219,7 @@ mag(int argc, char *argv[])
return ERROR;
} else {
- printf("\tMAG values: mag. field: x:%8.4f\ty:%8.4f\tz:%8.4f\n", (double)buf.x, (double)buf.y, (double)buf.z);
+ printf("\tMAG values: x:%8.4f\ty:%8.4f\tz:%8.4f\n", (double)buf.x, (double)buf.y, (double)buf.z);
}
/* Let user know everything is ok */
@@ -256,7 +256,7 @@ baro(int argc, char *argv[])
return ERROR;
} else {
- printf("\tBARO values: pressure: %8.4f mbar\taltitude: %8.4f m\ttemperature: %8.4f deg Celsius\n", (double)buf.pressure, (double)buf.altitude, (double)buf.temperature);
+ printf("\tBARO pressure: %8.4f mbar\talt: %8.4f m\ttemp: %8.4f deg C\n", (double)buf.pressure, (double)buf.altitude, (double)buf.temperature);
}
/* Let user know everything is ok */