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
c5396510
Unverified
Commit
c5396510
authored
Oct 29, 2018
by
Don Gagne
Committed by
GitHub
Oct 29, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6963 from DonLakeFlyer/ParamMultiComp
Fix multi-component parameter loading
parents
44fb64fb
f8e005fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
ChangeLog.md
ChangeLog.md
+1
-0
ParameterManager.cc
src/FactSystem/ParameterManager.cc
+5
-5
No files found.
ChangeLog.md
View file @
c5396510
...
...
@@ -9,6 +9,7 @@ Note: This file only contains high level features or important fixes.
*
Orbit: Turn off for PX4 since still not supported
*
Structure Scan: Fix loading of structure scan height
*
ArduPilot: Fix location of planned home position when not connected to vehicle. Issue #6840.
*
Fix loading of parameters from multiple components. Would report download complete too early, thus missing all default component params.
### 3.4.4 - Stable
*
Stable desktop versions now inform user at boot if newer version is available.
...
...
src/FactSystem/ParameterManager.cc
View file @
c5396510
...
...
@@ -347,12 +347,12 @@ void ParameterManager::_parameterUpdate(int vehicleId, int componentId, QString
// Add meta data to default component. We need to do this before we setup the group map since group
// map requires meta data.
_addMetaDataToDefaultComponent
();
}
// When we are getting the very last component param index, reset the group maps to update for the
// new params. By handling this here, we can pick up components which finish up later than the default
// component param set.
_setupCategoryMap
();
// When we are getting the very last component param index, reset the group maps to update for the
// new params. By handling this here, we can pick up components which finish up later than the default
// component param set.
_setupCategoryMap
();
}
}
// Update param cache. The param cache is only used on PX4 Firmware since ArduPilot and Solo have volatile params
...
...
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