mirror of https://github.com/ArduPilot/ardupilot
updated airpressure test
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1601 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
30102d28e4
commit
6d6eb8d7bb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue