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
722a4d01
"git@ssh.gitrepo.de:d.eisold/enigma.git" did not exist on "0347d07b9f33f6d024b7112dfe6bd9e9426ea92c"
Commit
722a4d01
authored
13 years ago
by
Jason Short
Browse files
Options
Downloads
Patches
Plain Diff
ACM: Attitude.pde - consolidated wind I term resets
parent
e42c64f9
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ArduCopter/Attitude.pde
+5
-5
5 additions, 5 deletions
ArduCopter/Attitude.pde
with
5 additions
and
5 deletions
ArduCopter/Attitude.pde
+
5
−
5
View file @
722a4d01
...
...
@@ -255,7 +255,6 @@ static void reset_I_all(void)
{
reset_rate_I
();
reset_stability_I
();
reset_nav_I
();
reset_wind_I
();
reset_throttle_I
();
reset_optflow_I
();
...
...
@@ -282,13 +281,14 @@ static void reset_optflow_I(void)
static
void
reset_wind_I
(
void
)
{
// Wind Compensation
// this i is not currently being used, but we reset it anyway
// because someone may modify it and not realize it, causing a bug
g
.
pi_loiter_lat
.
reset_I
();
g
.
pi_loiter_lon
.
reset_I
();
}
static
void
reset_nav_I
(
void
)
{
// Rate control for WP navigation
g
.
pid_loiter_rate_lat
.
reset_I
();
g
.
pid_loiter_rate_lon
.
reset_I
();
g
.
pid_nav_lat
.
reset_I
();
g
.
pid_nav_lon
.
reset_I
();
}
...
...
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