Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
43f4c370
Commit
43f4c370
authored
Jun 23, 2014
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make RC config more robust
parent
6e8454d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
QGCPX4VehicleConfig.cc
src/ui/QGCPX4VehicleConfig.cc
+2
-4
No files found.
src/ui/QGCPX4VehicleConfig.cc
View file @
43f4c370
...
...
@@ -660,14 +660,12 @@ void QGCPX4VehicleConfig::stopCalibrationRC()
mav
->
endRadioControlCalibration
();
if
(
QMessageBox
::
Cancel
==
msgBoxResult
)
{
QMessageBox
::
information
(
0
,
"Aborting Calibration"
,
"Aborted writing configuration."
);
return
;
//don't commit these values
}
else
{
QMessageBox
::
information
(
0
,
"Uploading the RC Calibration"
,
"The configuration will now be uploaded and permanently stored."
);
writeCalibrationRC
();
}
// Read calibration back to update widget states and validate
paramMgr
->
requestParameterList
();
}
void
QGCPX4VehicleConfig
::
loadQgcConfig
(
bool
primary
)
...
...
@@ -1338,7 +1336,7 @@ void QGCPX4VehicleConfig::writeCalibrationRC()
paramMgr
->
setPendingParam
(
0
,
"RC_MAP_AUX2"
,
(
int32_t
)(
rcMapping
[
10
]
+
1
));
//let the param mgr manage sending all the pending RC_foo updates and persisting after
paramMgr
->
sendPendingParameters
(
true
);
paramMgr
->
sendPendingParameters
(
true
,
true
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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