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
f6bf41e1
Commit
f6bf41e1
authored
Feb 24, 2013
by
Bryant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for uint8s to the parameter widget.
parent
4dd1e6b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
12 deletions
+11
-12
UAS.cc
src/uas/UAS.cc
+10
-0
UASWaypointManager.h
src/uas/UASWaypointManager.h
+1
-1
QGCParamWidget.cc
src/ui/QGCParamWidget.cc
+0
-11
No files found.
src/uas/UAS.cc
View file @
f6bf41e1
...
...
@@ -887,6 +887,16 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
// qDebug() << "RECEIVED PARAM:" << param;
}
break
;
case
MAV_PARAM_TYPE_UINT8
:
{
// Variant
QVariant
param
(
val
.
param_uint8
);
parameters
.
value
(
component
)
->
insert
(
parameterName
,
param
);
// Emit change
emit
parameterChanged
(
uasId
,
message
.
compid
,
parameterName
,
param
);
emit
parameterChanged
(
uasId
,
message
.
compid
,
value
.
param_count
,
value
.
param_index
,
parameterName
,
param
);
//qDebug() << "RECEIVED PARAM:" << param;
}
case
MAV_PARAM_TYPE_UINT32
:
{
// Variant
...
...
src/uas/UASWaypointManager.h
View file @
f6bf41e1
...
...
@@ -57,7 +57,7 @@ private:
WP_IDLE
=
0
,
///< Waiting for commands
WP_SENDLIST
,
///< Initial state for sending waypoints to the MAV
WP_SENDLIST_SENDWPS
,
///< Sending waypoints
WP_GETLIST
,
///< Initial state for retrieving wayp
p
oints from the MAV
WP_GETLIST
,
///< Initial state for retrieving waypoints from the MAV
WP_GETLIST_GETWPS
,
///< Receiving waypoints
WP_CLEARLIST
,
///< Clearing waypoint list on the MAV
WP_SETCURRENT
///< Setting new current waypoint on the MAV
...
...
src/ui/QGCParamWidget.cc
View file @
f6bf41e1
...
...
@@ -167,17 +167,6 @@ void QGCParamWidget::loadParameterInfoCSV(const QString& autopilot, const QStrin
{
Q_UNUSED
(
airframe
);
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
qDebug
()
<<
"ATTEMPTING TO LOAD CSV"
;
QDir
appDir
=
QApplication
::
applicationDirPath
();
...
...
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