mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 01:48:29 -04:00
loosen RTL criterion (wind affected)
This commit is contained in:
parent
8847ee518d
commit
d68abb99a8
@ -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