Skip to content
Snippets Groups Projects
Commit de192607 authored by Jason Short's avatar Jason Short
Browse files

Switched to Mission 2

parent fe9705ad
No related branches found
No related tags found
No related merge requests found
......@@ -326,19 +326,19 @@ def fly_ArduCopter(viewerip=None):
failed = True
print("# Upload mission1")
if not upload_mission_from_file(mavproxy, mav, os.path.join(testdir, "mission1.txt")):
if not upload_mission_from_file(mavproxy, mav, os.path.join(testdir, "mission2.txt")):
failed = True
# this grabs our mission count
print("# store mission1 locally")
if not load_mission_from_file(mavproxy, mav, os.path.join(testdir, "mission1.txt")):
if not load_mission_from_file(mavproxy, mav, os.path.join(testdir, "mission2.txt")):
failed = True
print("# Fly mission 1")
print("# Fly mission 2")
if not fly_mission(mavproxy, mav,height_accuracy = 0.5, target_altitude=10):
failed = True
else:
print("Flew mission1 OK")
print("Flew mission2 OK")
print("# Land")
if not land(mavproxy, mav):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment