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
38a60df1
Commit
38a60df1
authored
13 years ago
by
Jason Short
Browse files
Options
Downloads
Patches
Plain Diff
ACM: Rate_d filter for PID loop of Loiter.
parent
2ac29eff
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
ArduCopter/ArduCopter.pde
+6
-0
6 additions, 0 deletions
ArduCopter/ArduCopter.pde
with
6 additions
and
0 deletions
ArduCopter/ArduCopter.pde
+
6
−
0
View file @
38a60df1
...
...
@@ -341,6 +341,9 @@ static const char* flight_mode_strings[] = {
static
int16_t
x_actual_speed
;
static
int16_t
y_actual_speed
;
static
int16_t
x_rate_d
;
static
int16_t
y_rate_d
;
// The difference between the desired rate of travel and the actual rate of travel
// updated after GPS read - 5-10hz
static
int16_t
x_rate_error
;
...
...
@@ -523,6 +526,9 @@ int32_t pitch_axis;
AverageFilterInt32_Size3
roll_rate_d_filter
;
// filtered acceleration
AverageFilterInt32_Size3
pitch_rate_d_filter
;
// filtered pitch acceleration
AverageFilterInt16_Size3
lat_rate_d_filter
;
// for filtering D term
AverageFilterInt16_Size3
lon_rate_d_filter
;
// for filtering D term
// Barometer filter
AverageFilterInt32_Size5
baro_filter
;
// filtered pitch acceleration
...
...
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