Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Baitboat
Commits
de192607
Commit
de192607
authored
13 years ago
by
Jason Short
Browse files
Options
Downloads
Patches
Plain Diff
Switched to Mission 2
parent
fe9705ad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tools/autotest/arducopter.py
+4
-4
4 additions, 4 deletions
Tools/autotest/arducopter.py
with
4 additions
and
4 deletions
Tools/autotest/arducopter.py
+
4
−
4
View file @
de192607
...
...
@@ -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
,
"
mission
1
.txt
"
)):
if
not
upload_mission_from_file
(
mavproxy
,
mav
,
os
.
path
.
join
(
testdir
,
"
mission
2
.txt
"
)):
failed
=
True
# this grabs our mission count
print
(
"
# store mission1 locally
"
)
if
not
load_mission_from_file
(
mavproxy
,
mav
,
os
.
path
.
join
(
testdir
,
"
mission
1
.txt
"
)):
if
not
load_mission_from_file
(
mavproxy
,
mav
,
os
.
path
.
join
(
testdir
,
"
mission
2
.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 mission
1
OK
"
)
print
(
"
Flew mission
2
OK
"
)
print
(
"
# Land
"
)
if
not
land
(
mavproxy
,
mav
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment