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
9a6a3ea6
Commit
9a6a3ea6
authored
Sep 11, 2010
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor adjustments to increase execution speed
parent
1755f202
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
qgroundcontrol.pro
qgroundcontrol.pro
+2
-2
UAS.cc
src/uas/UAS.cc
+1
-1
MainWindow.cc
src/ui/MainWindow.cc
+12
-0
LinechartPlot.h
src/ui/linechart/LinechartPlot.h
+1
-1
No files found.
qgroundcontrol.pro
View file @
9a6a3ea6
...
...
@@ -18,8 +18,8 @@ TARGET = qgroundcontrol
BASEDIR
=
.
BUILDDIR
=
build
LANGUAGE
=
C
++
CONFIG
+=
debug_and_release
\
console
CONFIG
+=
release
#
debug_and_release
\
#
console
OBJECTS_DIR
=
$$
BUILDDIR
/
obj
MOC_DIR
=
$$
BUILDDIR
/
moc
UI_HEADERS_DIR
=
src
/
ui
/
generated
...
...
src/uas/UAS.cc
View file @
9a6a3ea6
...
...
@@ -222,7 +222,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
// LOW BATTERY ALARM
float
chargeLevel
=
getChargeLevel
();
if
(
chargeLevel
<=
1
0.0
f
)
if
(
chargeLevel
<=
2
0.0
f
)
{
startLowBattAlarm
();
}
...
...
src/ui/MainWindow.cc
View file @
9a6a3ea6
...
...
@@ -678,6 +678,18 @@ void MainWindow::loadPixhawkView()
waypointsDockWidget
->
show
();
}
// HORIZONTAL SITUATION INDICATOR
if
(
hsiDockWidget
)
{
HSIDisplay
*
hsi
=
dynamic_cast
<
HSIDisplay
*>
(
hsiDockWidget
->
widget
()
);
if
(
hsi
)
{
hsi
->
start
();
addDockWidget
(
Qt
::
BottomDockWidgetArea
,
hsiDockWidget
);
hsiDockWidget
->
show
();
}
}
// DEBUG CONSOLE
if
(
debugConsoleDockWidget
)
{
...
...
src/ui/linechart/LinechartPlot.h
View file @
9a6a3ea6
...
...
@@ -107,7 +107,7 @@ class TimeSeriesData
{
public:
TimeSeriesData
(
QwtPlot
*
plot
,
QString
friendlyName
=
"data"
,
quint64
plotInterval
=
3
0000
,
quint64
maxInterval
=
0
,
double
zeroValue
=
0
);
TimeSeriesData
(
QwtPlot
*
plot
,
QString
friendlyName
=
"data"
,
quint64
plotInterval
=
1
0000
,
quint64
maxInterval
=
0
,
double
zeroValue
=
0
);
~
TimeSeriesData
();
void
append
(
quint64
ms
,
double
value
);
...
...
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