Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
2c9317b5
Commit
2c9317b5
authored
Jun 12, 2013
by
Michael Carpenter
Browse files
Changed radio calibration min/max to 800/2200 for APM connected RC units
parent
96d573bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/QGCVehicleConfig.cc
View file @
2c9317b5
...
...
@@ -1460,14 +1460,14 @@ void QGCVehicleConfig::updateView()
ui
->
throttleWidget
->
setValue
(
rcValue
[
2
]);
ui
->
yawWidget
->
setValue
(
rcValue
[
3
]);
ui
->
rollWidget
->
setMin
(
rcMin
[
0
]
);
ui
->
rollWidget
->
setMax
(
rcMax
[
0
]
);
ui
->
pitchWidget
->
setMin
(
rcMin
[
1
]
);
ui
->
pitchWidget
->
setMax
(
rcMax
[
1
]
);
ui
->
throttleWidget
->
setMin
(
rcMin
[
2
]
);
ui
->
throttleWidget
->
setMax
(
rcMax
[
2
]
);
ui
->
yawWidget
->
setMin
(
rcMin
[
3
]
);
ui
->
yawWidget
->
setMax
(
rcMax
[
3
]
);
ui
->
rollWidget
->
setMin
(
800
);
ui
->
rollWidget
->
setMax
(
2200
);
ui
->
pitchWidget
->
setMin
(
800
);
ui
->
pitchWidget
->
setMax
(
2200
);
ui
->
throttleWidget
->
setMin
(
800
);
ui
->
throttleWidget
->
setMax
(
2200
);
ui
->
yawWidget
->
setMin
(
800
);
ui
->
yawWidget
->
setMax
(
2200
);
}
ui
->
chanLabel
->
setText
(
QString
(
"%1/%2"
).
arg
(
rcValue
[
rcMapping
[
0
]]).
arg
(
rcRoll
,
5
,
'f'
,
2
,
QChar
(
' '
)));
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment