loosen RTL criterion (wind affected)

This commit is contained in:
Andrew Tridgell 2011-12-13 20:05:39 +11:00
parent 8847ee518d
commit d68abb99a8
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ def fly_RTL(mavproxy, mav):
print("Flying home in RTL")
mavproxy.send('switch 2\n')
wait_mode(mav, 'RTL')
wait_location(mav, homeloc, accuracy=80,
target_altitude=100, height_accuracy=10)
wait_location(mav, homeloc, accuracy=90,
target_altitude=100, height_accuracy=20)
print("RTL Complete")
return True