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
ff8e1e4f
Commit
ff8e1e4f
authored
Jun 12, 2012
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks and improvements
parent
e1b1557e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
style-mission.css
images/style-mission.css
+9
-8
UAS.cc
src/uas/UAS.cc
+3
-1
MAVLinkDecoder.cc
src/ui/MAVLinkDecoder.cc
+3
-1
No files found.
images/style-mission.css
View file @
ff8e1e4f
...
...
@@ -184,13 +184,14 @@ QDoubleSpinBox::down-button {
}
QPushButton
{
font-weight
:
bold
;
/*
font-weight: bold;
min-height: 18px;
max-height: 18px;
min-width: 60px;*/
border
:
2px
solid
#4A4A4F
;
border-radius
:
5
px
;
padding-left
:
5
px
;
padding-right
:
5
px
;
border-radius
:
3
px
;
padding-left
:
8
px
;
padding-right
:
8
px
;
background-color
:
qlineargradient
(
x1
:
0
,
y1
:
0
,
x2
:
0
,
y2
:
1
,
stop
:
0
#232228
,
stop
:
1
#020208
);
}
...
...
@@ -206,11 +207,11 @@ QPushButton:pressed {
QToolButton
{
font-weight
:
bold
;
min-height
:
1
6
px
;
min-height
:
1
8
px
;
min-width
:
24px
;
max-height
:
18px
;
border
:
2px
solid
#4A4A4F
;
border-radius
:
5
px
;
border-radius
:
3
px
;
background-color
:
qlineargradient
(
x1
:
0
,
y1
:
0
,
x2
:
0
,
y2
:
1
,
stop
:
0
#232228
,
stop
:
1
#020208
);
}
...
...
@@ -225,8 +226,8 @@ QToolButton:pressed {
}
QToolTip
{
background-color
:
#090909
;
border
:
1px
solid
#379AC3
;
background-color
:
#090909
;
border
:
1px
solid
#379AC3
;
border-radius
:
3px
;
color
:
#DDDDDF
;
}
...
...
src/uas/UAS.cc
View file @
ff8e1e4f
...
...
@@ -743,7 +743,9 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
mavlink_param_value_t
value
;
mavlink_msg_param_value_decode
(
&
message
,
&
value
);
QByteArray
bytes
(
value
.
param_id
,
MAVLINK_MSG_PARAM_VALUE_FIELD_PARAM_ID_LEN
);
QString
parameterName
=
QString
(
bytes
);
// Construct a string stopping at the first NUL (0) character, else copy the whole
// byte array (max MAVLINK_MSG_PARAM_VALUE_FIELD_PARAM_ID_LEN, so safe)
QString
parameterName
(
bytes
);
int
component
=
message
.
compid
;
mavlink_param_union_t
val
;
val
.
param_float
=
value
.
param_value
;
...
...
src/ui/MAVLinkDecoder.cc
View file @
ff8e1e4f
...
...
@@ -28,8 +28,10 @@ MAVLinkDecoder::MAVLinkDecoder(MAVLinkProtocol* protocol, QObject *parent) :
messageFilter
.
insert
(
MAVLINK_MSG_ID_MISSION_COUNT
,
false
);
messageFilter
.
insert
(
MAVLINK_MSG_ID_MISSION_ACK
,
false
);
messageFilter
.
insert
(
MAVLINK_MSG_ID_DATA_STREAM
,
false
);
#ifdef MAVLINK_
ENABLED_PIXHAWK
#ifdef MAVLINK_
MSG_ID_ENCAPSULATED_DATA
messageFilter
.
insert
(
MAVLINK_MSG_ID_ENCAPSULATED_DATA
,
false
);
#endif
#ifdef MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE
messageFilter
.
insert
(
MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE
,
false
);
#endif
messageFilter
.
insert
(
MAVLINK_MSG_ID_EXTENDED_MESSAGE
,
false
);
...
...
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