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
c70292f0
Commit
c70292f0
authored
Jan 08, 2011
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed HSI, back to operational
parent
ebe0ae96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
HDDisplay.cc
src/ui/HDDisplay.cc
+0
-2
HSIDisplay.cc
src/ui/HSIDisplay.cc
+7
-1
No files found.
src/ui/HDDisplay.cc
View file @
c70292f0
...
...
@@ -140,8 +140,6 @@ HDDisplay::HDDisplay(QStringList* plotList, QString title, QWidget *parent) :
// Connect with UAS
connect
(
UASManager
::
instance
(),
SIGNAL
(
activeUASSet
(
UASInterface
*
)),
this
,
SLOT
(
setActiveUAS
(
UASInterface
*
)));
//start();
this
->
setVisible
(
false
);
}
HDDisplay
::~
HDDisplay
()
...
...
src/ui/HSIDisplay.cc
View file @
c70292f0
...
...
@@ -46,7 +46,7 @@ This file is part of the QGROUNDCONTROL project
#include <QDebug>
HSIDisplay
::
HSIDisplay
(
QWidget
*
parent
)
:
HDDisplay
(
NULL
,
""
,
parent
),
HDDisplay
(
NULL
,
"
HSI
"
,
parent
),
gpsSatellites
(),
satellitesUsed
(
0
),
attXSet
(
0
),
...
...
@@ -102,11 +102,17 @@ HSIDisplay::HSIDisplay(QWidget *parent) :
connect
(
UASManager
::
instance
(),
SIGNAL
(
activeUASSet
(
UASInterface
*
)),
this
,
SLOT
(
setActiveUAS
(
UASInterface
*
)));
refreshTimer
->
setInterval
(
updateInterval
);
columns
=
1
;
// this->setScene(new QGraphicsScene(-metricWidth/2.0f, -metricWidth/2.0f, metricWidth, metricWidth, this));
vwidth
=
80
;
vheight
=
80
;
xCenterPos
=
vwidth
/
2.0
f
;
yCenterPos
=
vheight
/
2.0
f
+
topMargin
-
bottomMargin
;
qDebug
()
<<
"CENTER"
<<
xCenterPos
<<
yCenterPos
;
// Add interaction elements
QHBoxLayout
*
layout
=
new
QHBoxLayout
(
this
);
...
...
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