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
c28d4e9a
Commit
c28d4e9a
authored
12 years ago
by
rmackay9
Browse files
Options
Downloads
Patches
Plain Diff
AP_Motors: remove stray debug message re set-up of throttle curve
parent
4825d16c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/AP_Motors/AP_Motors.cpp
+0
-3
0 additions, 3 deletions
libraries/AP_Motors/AP_Motors.cpp
with
0 additions
and
3 deletions
libraries/AP_Motors/AP_Motors.cpp
+
0
−
3
View file @
c28d4e9a
...
...
@@ -78,9 +78,6 @@ bool AP_Motors::setup_throttle_curve()
int16_t
max_thrust_pwm
=
min_pwm
+
(
float
)(
max_pwm
-
min_pwm
)
*
((
float
)
_throttle_curve_max
/
100.0
);
bool
retval
=
true
;
Serial
.
printf_P
(
PSTR
(
"AP_Motors: setup_throttle_curve"
));
Serial
.
printf_P
(
PSTR
(
"mid:%d
\t
max:%d
\n
"
),(
int
)
mid_thrust_pwm
,(
int
)
max_thrust_pwm
);
// some basic checks that the curve is valid
if
(
mid_thrust_pwm
>=
(
min_pwm
+
_min_throttle
)
&&
mid_thrust_pwm
<=
max_pwm
&&
max_thrust_pwm
>=
mid_thrust_pwm
&&
max_thrust_pwm
<=
max_pwm
)
{
// clear curve
...
...
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