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
3555ae74
Commit
3555ae74
authored
May 14, 2010
by
lm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final fixes for parameterinterface
parent
bc3e650c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
UAS.cc
src/uas/UAS.cc
+0
-1
ParameterInterface.cc
src/ui/ParameterInterface.cc
+2
-1
No files found.
src/uas/UAS.cc
View file @
3555ae74
...
...
@@ -543,7 +543,6 @@ void UAS::requestParameters()
mavlink_msg_param_request_list_pack
(
mavlink
->
getSystemId
(),
mavlink
->
getComponentId
(),
&
msg
,
this
->
getUASID
(),
0
);
// Send message twice to increase chance of reception
sendMessage
(
msg
);
sendMessage
(
msg
);
}
void
UAS
::
writeParameters
()
...
...
src/ui/ParameterInterface.cc
View file @
3555ae74
...
...
@@ -33,6 +33,7 @@ ParameterInterface::~ParameterInterface()
void
ParameterInterface
::
selectUAS
(
int
index
)
{
qDebug
()
<<
"SELECTING INDEX "
<<
index
<<
"SIZE:"
<<
m_ui
->
stackedWidget
->
count
();
m_ui
->
stackedWidget
->
setCurrentIndex
(
index
);
m_ui
->
sensorSettings
->
setCurrentIndex
(
index
);
curr
=
index
;
...
...
@@ -59,7 +60,7 @@ void ParameterInterface::addUAS(UASInterface* uas)
{
m_ui
->
sensorSettings
->
setCurrentWidget
(
sensor
);
m_ui
->
stackedWidget
->
setCurrentWidget
(
param
);
curr
=
uas
->
getUASID
()
;
curr
=
0
;
}
}
...
...
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