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
e34702f5
Commit
e34702f5
authored
11 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Copter: bug fix for descent during loiter_turns
parent
3b982bc9
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ArduCopter/navigation.pde
+1
-0
1 addition, 0 deletions
ArduCopter/navigation.pde
with
1 addition
and
0 deletions
ArduCopter/navigation.pde
+
1
−
0
View file @
e34702f5
...
...
@@ -287,6 +287,7 @@ update_circle(float dt)
// calculate target position
circle_target
.
x
=
circle_center
.
x
+
cir_radius
*
cosf
(
-
circle_angle
);
circle_target
.
y
=
circle_center
.
y
-
cir_radius
*
sinf
(
-
circle_angle
);
circle_target
.
z
=
wp_nav
.
get_desired_alt
();
// re-use loiter position controller
wp_nav
.
set_loiter_target
(
circle_target
);
...
...
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