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
6358d924
Commit
6358d924
authored
Dec 10, 2010
by
Mariano Lizarraga
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'experimental' of
git://github.com/pixhawk/qgroundcontrol
into experimental
parents
11c2ee6f
58c5b220
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
MAVLinkSimulationLink.cc
src/comm/MAVLinkSimulationLink.cc
+5
-5
PxQuadMAV.cc
src/uas/PxQuadMAV.cc
+4
-0
LinechartWidget.cc
src/ui/linechart/LinechartWidget.cc
+0
-2
QOSGWidget.h
src/ui/map3D/QOSGWidget.h
+1
-1
No files found.
src/comm/MAVLinkSimulationLink.cc
View file @
6358d924
...
...
@@ -559,14 +559,14 @@ void MAVLinkSimulationLink::mainloop()
// Send controller states
uint8_t
attControl
=
1
;
uint8_t
posXYControl
=
1
;
uint8_t
posZControl
=
0
;
uint8_t
posYawControl
=
1
;
//
uint8_t attControl = 1;
//
uint8_t posXYControl = 1;
//
uint8_t posZControl = 0;
//
uint8_t posYawControl = 1;
uint8_t
gpsLock
=
2
;
uint8_t
visLock
=
3
;
uint8_t
posLock
=
qMax
(
gpsLock
,
visLock
);
//
uint8_t posLock = qMax(gpsLock, visLock);
#ifdef MAVLINK_ENABLED_PIXHAWK
messageSize
=
mavlink_msg_control_status_pack
(
systemId
,
componentId
,
&
msg
,
posLock
,
visLock
,
gpsLock
,
attControl
,
posXYControl
,
posZControl
,
posYawControl
);
...
...
src/uas/PxQuadMAV.cc
View file @
6358d924
...
...
@@ -168,5 +168,9 @@ void PxQuadMAV::sendProcessCommand(int watchdogId, int processId, unsigned int c
mavlink_message_t
msg
;
mavlink_msg_watchdog_command_encode
(
mavlink
->
getSystemId
(),
mavlink
->
getComponentId
(),
&
msg
,
&
payload
);
sendMessage
(
msg
);
#else
Q_UNUSED
(
watchdogId
);
Q_UNUSED
(
processId
);
Q_UNUSED
(
command
);
#endif
}
src/ui/linechart/LinechartWidget.cc
View file @
6358d924
...
...
@@ -352,8 +352,6 @@ QWidget* LinechartWidget::createCurveItem(QString curve)
QLabel
*
label
;
QLabel
*
value
;
QLabel
*
mean
;
QLabel
*
median
;
form
->
setAutoFillBackground
(
false
);
horizontalLayout
=
new
QHBoxLayout
(
form
);
horizontalLayout
->
setSpacing
(
5
);
...
...
src/ui/map3D/QOSGWidget.h
View file @
6358d924
...
...
@@ -123,7 +123,7 @@ public:
getCamera
()
->
setGraphicsContext
(
getGraphicsWindow
());
}
virtual
void
paintEvent
(
QPaintEvent
*
event
)
{
frame
();
}
virtual
void
paintEvent
(
QPaintEvent
*
event
)
{
Q_UNUSED
(
event
);
frame
();
}
protected:
...
...
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