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
9e5b07ee
Commit
9e5b07ee
authored
Jun 03, 2010
by
pixhawk
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git@pixhawk.ethz.ch:qgroundcontrol
parents
db75e47f
222607d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
UAS.cc
src/uas/UAS.cc
+2
-2
LinechartWidget.cc
src/ui/linechart/LinechartWidget.cc
+4
-3
No files found.
src/uas/UAS.cc
View file @
9e5b07ee
...
...
@@ -224,7 +224,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
// COMMUNICATIONS DROP RATE
emit
dropRateChanged
(
this
->
getUASID
(),
state
.
packet_drop
);
qDebug
()
<<
__FILE__
<<
__LINE__
<<
"RCV LOSS: "
<<
state
.
packet_drop
;
//
qDebug() << __FILE__ << __LINE__ << "RCV LOSS: " << state.packet_drop;
// AUDIO
if
(
modechanged
&&
statechanged
)
...
...
@@ -237,7 +237,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
// Output the one message
audiostring
+=
modeAudio
+
stateAudio
;
}
if
(
state
.
status
==
(
int
)
MAV_STATE_CRITICAL
||
state
.
status
==
(
int
)
MAV_STATE_EMERGENCY
)
if
(
(
int
)
state
.
status
==
(
int
)
MAV_STATE_CRITICAL
||
state
.
status
==
(
int
)
MAV_STATE_EMERGENCY
)
{
GAudioOutput
::
instance
()
->
startEmergency
();
}
...
...
src/ui/linechart/LinechartWidget.cc
View file @
9e5b07ee
...
...
@@ -119,7 +119,7 @@ void LinechartWidget::createLayout()
// activePlot = getPlot(0);
// plotContainer->setPlot(activePlot);
layout
->
addWidget
(
activePlot
,
0
,
0
,
1
,
5
);
layout
->
addWidget
(
activePlot
,
0
,
0
,
1
,
6
);
layout
->
setRowStretch
(
0
,
10
);
layout
->
setRowStretch
(
1
,
0
);
...
...
@@ -156,6 +156,7 @@ void LinechartWidget::createLayout()
QToolButton
*
timeButton
=
new
QToolButton
(
this
);
timeButton
->
setText
(
tr
(
"Ground Time"
));
timeButton
->
setCheckable
(
true
);
timeButton
->
setChecked
(
false
);
layout
->
addWidget
(
timeButton
,
1
,
4
);
layout
->
setColumnStretch
(
4
,
0
);
connect
(
timeButton
,
SIGNAL
(
clicked
(
bool
)),
activePlot
,
SLOT
(
enforceGroundTime
(
bool
)));
...
...
@@ -172,8 +173,8 @@ void LinechartWidget::createLayout()
// Add scroll bar to layout and make sure it gets all available space
layout
->
addWidget
(
scrollbar
,
1
,
4
);
layout
->
setColumnStretch
(
4
,
10
);
layout
->
addWidget
(
scrollbar
,
1
,
5
);
layout
->
setColumnStretch
(
5
,
10
);
ui
.
diagramGroupBox
->
setLayout
(
layout
);
...
...
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