Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
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
Ardupilot
Commits
0c3f43b2
Commit
0c3f43b2
authored
10 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
AutoTest: reduce copter throttle when in stabilize
Simulated copter is flying too high and causing the land to timeout
parent
3fd38edc
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
+3
-3
3 additions, 3 deletions
Tools/autotest/arducopter.py
with
3 additions
and
3 deletions
Tools/autotest/arducopter.py
+
3
−
3
View file @
0c3f43b2
...
@@ -160,7 +160,7 @@ def fly_square(mavproxy, mav, side=50, timeout=120):
...
@@ -160,7 +160,7 @@ def fly_square(mavproxy, mav, side=50, timeout=120):
save_wp
(
mavproxy
,
mav
)
save_wp
(
mavproxy
,
mav
)
# switch back to stabilize mode
# switch back to stabilize mode
mavproxy
.
send
(
'
rc 3 14
0
0
\n
'
)
mavproxy
.
send
(
'
rc 3 14
3
0
\n
'
)
mavproxy
.
send
(
'
switch 6
\n
'
)
mavproxy
.
send
(
'
switch 6
\n
'
)
wait_mode
(
mav
,
'
STABILIZE
'
)
wait_mode
(
mav
,
'
STABILIZE
'
)
...
@@ -620,7 +620,7 @@ def fly_simple(mavproxy, mav, side=50, timeout=120):
...
@@ -620,7 +620,7 @@ def fly_simple(mavproxy, mav, side=50, timeout=120):
# switch to stabilize mode
# switch to stabilize mode
mavproxy
.
send
(
'
switch 6
\n
'
)
mavproxy
.
send
(
'
switch 6
\n
'
)
wait_mode
(
mav
,
'
STABILIZE
'
)
wait_mode
(
mav
,
'
STABILIZE
'
)
mavproxy
.
send
(
'
rc 3 14
0
0
\n
'
)
mavproxy
.
send
(
'
rc 3 14
3
0
\n
'
)
# fly south 50m
# fly south 50m
print
(
"
# Flying south %u meters
"
%
side
)
print
(
"
# Flying south %u meters
"
%
side
)
...
@@ -685,7 +685,7 @@ def fly_super_simple(mavproxy, mav, timeout=45):
...
@@ -685,7 +685,7 @@ def fly_super_simple(mavproxy, mav, timeout=45):
# switch to stabilize mode
# switch to stabilize mode
mavproxy
.
send
(
'
switch 6
\n
'
)
mavproxy
.
send
(
'
switch 6
\n
'
)
wait_mode
(
mav
,
'
STABILIZE
'
)
wait_mode
(
mav
,
'
STABILIZE
'
)
mavproxy
.
send
(
'
rc 3 14
0
0
\n
'
)
mavproxy
.
send
(
'
rc 3 14
3
0
\n
'
)
# start copter yawing slowly
# start copter yawing slowly
mavproxy
.
send
(
'
rc 4 1550
\n
'
)
mavproxy
.
send
(
'
rc 4 1550
\n
'
)
...
...
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