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
bb5418a1
Commit
bb5418a1
authored
Jul 14, 2010
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compile errors and warnings
parent
165ef149
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
PxQuadMAV.cc
src/uas/PxQuadMAV.cc
+0
-4
HSIDisplay.cc
src/ui/HSIDisplay.cc
+9
-3
WatchdogProcessView.cc
src/ui/watchdog/WatchdogProcessView.cc
+1
-0
WatchdogProcessView.h
src/ui/watchdog/WatchdogProcessView.h
+1
-0
No files found.
src/uas/PxQuadMAV.cc
View file @
bb5418a1
...
...
@@ -104,10 +104,6 @@ void PxQuadMAV::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit
valueChanged
(
uasId
,
"vis. x"
,
pos
.
x
,
time
);
emit
valueChanged
(
uasId
,
"vis. y"
,
pos
.
y
,
time
);
emit
valueChanged
(
uasId
,
"vis. z"
,
pos
.
z
,
time
);
emit
valueChanged
(
uasId
,
"vis. vx"
,
pos
.
vx
,
time
);
emit
valueChanged
(
uasId
,
"vis. vy"
,
pos
.
vy
,
time
);
emit
valueChanged
(
uasId
,
"vis. vz"
,
pos
.
vz
,
time
);
emit
valueChanged
(
uasId
,
"vis. vyaw"
,
pos
.
vyaw
,
time
);
}
break
;
case
MAVLINK_MSG_ID_AUX_STATUS
:
...
...
src/ui/HSIDisplay.cc
View file @
bb5418a1
...
...
@@ -119,7 +119,7 @@ void HSIDisplay::paintDisplay()
float
bottomMargin
=
3.0
f
;
// Size of the ring instrument
const
float
margin
=
0.1
f
;
// 10% margin of total width on each side
//
const float margin = 0.1f; // 10% margin of total width on each side
float
baseRadius
=
(
vheight
-
topMargin
-
bottomMargin
)
/
2.0
f
-
bottomMargin
/
2.0
f
;
// Draw instruments
...
...
@@ -294,6 +294,7 @@ void HSIDisplay::drawPositionLock(float x, float y, QString label, int status, Q
void
HSIDisplay
::
updatePositionLock
(
UASInterface
*
uas
,
bool
lock
)
{
Q_UNUSED
(
uas
);
positionLock
=
lock
;
}
...
...
@@ -876,12 +877,17 @@ void visionLocalizationChanged(UASInterface* uas, int fix);
void
HSIDisplay
::
updateJoystick
(
double
roll
,
double
pitch
,
double
yaw
,
double
thrust
,
int
xHat
,
int
yHat
)
{
Q_UNUSED
(
roll
);
Q_UNUSED
(
pitch
);
Q_UNUSED
(
yaw
);
Q_UNUSED
(
thrust
);
Q_UNUSED
(
xHat
);
Q_UNUSED
(
yHat
);
}
void
HSIDisplay
::
pressKey
(
int
key
)
{
Q_UNUSED
(
key
);
}
src/ui/watchdog/WatchdogProcessView.cc
View file @
bb5418a1
...
...
@@ -3,6 +3,7 @@
WatchdogProcessView
::
WatchdogProcessView
(
int
processid
,
QWidget
*
parent
)
:
QWidget
(
parent
),
processid
(
processid
),
m_ui
(
new
Ui
::
WatchdogProcessView
)
{
m_ui
->
setupUi
(
this
);
...
...
src/ui/watchdog/WatchdogProcessView.h
View file @
bb5418a1
...
...
@@ -16,6 +16,7 @@ public:
protected:
void
changeEvent
(
QEvent
*
e
);
int
processid
;
private:
Ui
::
WatchdogProcessView
*
m_ui
;
...
...
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