From 6d6eb8d7bbd541d8d828faa3d5d4d543799458a3 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Sun, 6 Feb 2011 18:50:16 +0000 Subject: [PATCH] updated airpressure test git-svn-id: https://arducopter.googlecode.com/svn/trunk@1601 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/test.pde | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ArduCopterMega/test.pde b/ArduCopterMega/test.pde index 1b88cd62a2..7616f43121 100644 --- a/ArduCopterMega/test.pde +++ b/ArduCopterMega/test.pde @@ -763,7 +763,14 @@ test_pressure(uint8_t argc, const Menu::arg *argv) read_trim_switch(); read_barometer(); - //Serial.printf_P(PSTR("Alt: %dm, Raw: %d\n"), pressure_altitude / 100, abs_pressure); // Someone needs to fix the formatting here for long integers + Serial.printf_P(PSTR("AP: %ld,\tAlt: %ld, \tnext_alt: %ld \terror: %ld, \tcruise: %d, \t out:%d\n"), + abs_pressure, + current_loc.alt, + next_WP.alt, + altitude_error, + throttle_cruise, + rc_3.servo_out); + /* Serial.print("Altitude: "); Serial.print((int)current_loc.alt,DEC);