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
04b5153b
Commit
04b5153b
authored
Feb 27, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new parameterUpdate signal
This signal passes the parameter type as well as param info
parent
2a4c779d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
UAS.cc
src/uas/UAS.cc
+1
-0
UASInterface.h
src/uas/UASInterface.h
+1
-0
No files found.
src/uas/UAS.cc
View file @
04b5153b
...
...
@@ -2414,6 +2414,7 @@ void UAS::processParamValueMsg(mavlink_message_t& msg, const QString& paramName,
parameters
.
value
(
compId
)
->
insert
(
paramName
,
paramValue
);
emit
parameterChanged
(
uasId
,
compId
,
paramName
,
paramValue
);
emit
parameterUpdate
(
uasId
,
compId
,
paramName
,
rawValue
.
param_type
,
paramValue
);
emit
parameterChanged
(
uasId
,
compId
,
rawValue
.
param_count
,
rawValue
.
param_index
,
paramName
,
paramValue
);
}
...
...
src/uas/UASInterface.h
View file @
04b5153b
...
...
@@ -507,6 +507,7 @@ signals:
void
autoModeChanged
(
bool
autoMode
);
void
parameterChanged
(
int
uas
,
int
component
,
QString
parameterName
,
QVariant
value
);
void
parameterChanged
(
int
uas
,
int
component
,
int
parameterCount
,
int
parameterId
,
QString
parameterName
,
QVariant
value
);
void
parameterUpdate
(
int
uas
,
int
component
,
QString
parameterName
,
int
type
,
QVariant
value
);
void
patternDetected
(
int
uasId
,
QString
patternPath
,
float
confidence
,
bool
detected
);
void
letterDetected
(
int
uasId
,
QString
letter
,
float
confidence
,
bool
detected
);
/**
...
...
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