Added more detail

This commit is contained in:
Jason Short 2011-12-22 20:34:06 -08:00
parent c9b2d1c3c2
commit 5038fcecd8
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def wait_altitude(mav, alt_min, alt_max, timeout=30):
m = mav.recv_match(type='VFR_HUD', blocking=True)
climb_rate = m.alt - previous_alt
previous_alt = m.alt
print("Wait Altitude %u, alt:%u, rate: %u" % (m.alt, alt_min , climb_rate))
print("Wait Altitude: Cur:%u, min_alt:%u, climb_rate: %u" % (m.alt, alt_min , climb_rate))
if abs(climb_rate) > 0:
tstart = time.time();
if m.alt >= alt_min and m.alt <= alt_max: