loosen RTL criterion (wind affected)
This commit is contained in:
parent
b198042e2c
commit
7e30aa51c9
@ -68,8 +68,8 @@ def fly_RTL(mavproxy, mav):
|
|||||||
print("Flying home in RTL")
|
print("Flying home in RTL")
|
||||||
mavproxy.send('switch 2\n')
|
mavproxy.send('switch 2\n')
|
||||||
wait_mode(mav, 'RTL')
|
wait_mode(mav, 'RTL')
|
||||||
wait_location(mav, homeloc, accuracy=80,
|
wait_location(mav, homeloc, accuracy=90,
|
||||||
target_altitude=100, height_accuracy=10)
|
target_altitude=100, height_accuracy=20)
|
||||||
print("RTL Complete")
|
print("RTL Complete")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user