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
d02cd51b
Commit
d02cd51b
authored
Jun 10, 2010
by
pixhawk
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git@pixhawk.ethz.ch:qgroundcontrol
parents
3bf94a1e
3638d291
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
emptymapadapter.cpp
lib/QMapControl/src/emptymapadapter.cpp
+4
-0
Core.cc
src/Core.cc
+2
-2
HUD.cc
src/ui/HUD.cc
+4
-0
MapWidget.cc
src/ui/MapWidget.cc
+1
-0
No files found.
lib/QMapControl/src/emptymapadapter.cpp
View file @
d02cd51b
...
...
@@ -29,6 +29,7 @@ namespace qmapcontrol
EmptyMapAdapter
::
EmptyMapAdapter
(
int
tileSize
,
int
minZoom
,
int
maxZoom
)
:
MapAdapter
(
""
,
""
,
256
,
minZoom
,
maxZoom
)
{
Q_UNUSED
(
tileSize
);
PI
=
acos
(
-
1.0
);
numberOfTiles
=
tilesonzoomlevel
(
minZoom
);
...
...
@@ -67,6 +68,9 @@ namespace qmapcontrol
QString
EmptyMapAdapter
::
query
(
int
x
,
int
y
,
int
z
)
const
{
Q_UNUSED
(
x
);
Q_UNUSED
(
y
);
Q_UNUSED
(
z
);
return
""
;
}
...
...
src/Core.cc
View file @
d02cd51b
...
...
@@ -183,7 +183,7 @@ void Core::startUASManager()
#endif
pluginsDir
.
cd
(
"plugins"
);
UASManager
*
m
=
UASManager
::
instance
();
UASManager
::
instance
();
// Load plugins
...
...
@@ -197,7 +197,7 @@ void Core::startUASManager()
{
//populateMenus(plugin);
pluginFileNames
+=
fileName
;
printf
(
QString
(
"Loaded plugin from "
+
fileName
+
"
\n
"
).
toStdString
().
c_str
());
//
printf(QString("Loaded plugin from " + fileName + "\n").toStdString().c_str());
}
}
}
...
...
src/ui/HUD.cc
View file @
d02cd51b
...
...
@@ -1170,6 +1170,8 @@ void HUD::drawChangeRateStrip(float xRef, float yRef, float height, float minRat
void
HUD
::
drawSystemIndicator
(
float
xRef
,
float
yRef
,
int
maxNum
,
float
maxWidth
,
float
maxHeight
,
QPainter
*
painter
)
{
Q_UNUSED
(
maxWidth
);
Q_UNUSED
(
maxHeight
);
if
(
values
.
size
()
>
0
)
{
QString
selectedKey
=
values
.
begin
().
key
();
...
...
@@ -1298,6 +1300,8 @@ void HUD::drawLine(float refX1, float refY1, float refX2, float refY2, float wid
void
HUD
::
drawEllipse
(
float
refX
,
float
refY
,
float
radiusX
,
float
radiusY
,
float
startDeg
,
float
endDeg
,
float
lineWidth
,
const
QColor
&
color
,
QPainter
*
painter
)
{
Q_UNUSED
(
startDeg
);
Q_UNUSED
(
endDeg
);
QPen
pen
(
painter
->
pen
().
style
());
pen
.
setWidth
(
refLineWidthToPen
(
lineWidth
));
pen
.
setColor
(
color
);
...
...
src/ui/MapWidget.cc
View file @
d02cd51b
...
...
@@ -193,6 +193,7 @@ void MapWidget::updateGlobalPosition(UASInterface* uas, double lat, double lon,
void
MapWidget
::
updatePosition
(
float
time
,
double
lat
,
double
lon
)
{
Q_UNUSED
(
time
);
//gpsposition->setText(QString::number(time) + " / " + QString::number(lat) + " / " + QString::number(lon));
if
(
followgps
->
isChecked
())
{
...
...
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