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
527f05dd
Commit
527f05dd
authored
11 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Copter: remove unused init_rate_controllers
parent
4537e0aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ArduCopter/heli.pde
+0
-9
0 additions, 9 deletions
ArduCopter/heli.pde
ArduCopter/system.pde
+0
-5
0 additions, 5 deletions
ArduCopter/system.pde
with
0 additions
and
14 deletions
ArduCopter/heli.pde
+
0
−
9
View file @
527f05dd
...
...
@@ -59,15 +59,6 @@ static void check_dynamic_flight(void)
}
}
// init_rate_controllers - set-up filters for rate controller inputs
void
init_rate_controllers
()
{
// initalise low pass filters on rate controller inputs
// 1st parameter is time_step, 2nd parameter is time_constant
// rate_roll_filter.set_cutoff_frequency(0.01f, 0.1f);
// rate_pitch_filter.set_cutoff_frequency(0.01f, 0.1f);
}
// heli_integrated_swash_controller - convert desired roll and pitch rate to roll and pitch swash angles
// should be called at 100hz
// output placed directly into g.rc_1.servo_out and g.rc_2.servo_out
...
...
This diff is collapsed.
Click to expand it.
ArduCopter/system.pde
+
0
−
5
View file @
527f05dd
...
...
@@ -234,11 +234,6 @@ static void init_ardupilot()
init_sonar
();
#endif
#if FRAME_CONFIG == HELI_FRAME
// initialise controller filters
init_rate_controllers
();
#endif // HELI_FRAME
// initialize commands
// -------------------
init_commands
();
...
...
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