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
b2410648
Commit
b2410648
authored
Nov 09, 2010
by
Mariano Lizarraga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started workin on SLUGS HIL Sim
parent
8e93e700
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
262 additions
and
4 deletions
+262
-4
qgroundcontrol.pro
qgroundcontrol.pro
+6
-3
SlugsMAV.cc
src/uas/SlugsMAV.cc
+1
-1
slugshilsim.cc
src/ui/slugshilsim.cc
+14
-0
slugshilsim.h
src/ui/slugshilsim.h
+22
-0
slugshilsim.ui
src/ui/slugshilsim.ui
+219
-0
No files found.
qgroundcontrol.pro
View file @
b2410648
...
...
@@ -136,7 +136,8 @@ FORMS += src/ui/MainWindow.ui \
src
/
ui
/
QGCDataPlot2D
.
ui
\
src
/
ui
/
QGCRemoteControlView
.
ui
\
src
/
ui
/
WaypointGlobalView
.
ui
\
src
/
ui
/
SlugsDataSensorView
.
ui
src
/
ui
/
SlugsDataSensorView
.
ui
\
src
/
ui
/
slugshilsim
.
ui
INCLUDEPATH
+=
src
\
src
/
ui
\
src
/
ui
/
linechart
\
...
...
@@ -236,7 +237,8 @@ HEADERS += src/MG.h \
src
/
ui
/
map3D
/
WebImageCache
.
h
\
src
/
ui
/
map3D
/
Imagery
.
h
\
src
/
comm
/
QGCMAVLink
.
h
\
src
/
ui
/
SlugsDataSensorView
.
h
src
/
ui
/
SlugsDataSensorView
.
h
\
src
/
ui
/
slugshilsim
.
h
SOURCES
+=
src
/
main
.
cc
\
src
/
Core
.
cc
\
src
/
uas
/
UASManager
.
cc
\
...
...
@@ -316,7 +318,8 @@ SOURCES += src/main.cc \
src
/
ui
/
map3D
/
WebImageCache
.
cc
\
src
/
ui
/
map3D
/
WebImage
.
cc
\
src
/
ui
/
map3D
/
Imagery
.
cc
\
src
/
ui
/
SlugsDataSensorView
.
cc
src
/
ui
/
SlugsDataSensorView
.
cc
\
src
/
ui
/
slugshilsim
.
cc
RESOURCES
=
mavground
.
qrc
...
...
src/uas/SlugsMAV.cc
View file @
b2410648
...
...
@@ -30,7 +30,7 @@ void SlugsMAV::receiveMessage(LinkInterface* link, mavlink_message_t message)
break
;
}
#ifdef MAVLINK_ENABLED_SLUGS
_MESSAGES_QGC
#ifdef MAVLINK_ENABLED_SLUGS
case
MAVLINK_MSG_ID_CPU_LOAD
:
{
...
...
src/ui/slugshilsim.cc
0 → 100644
View file @
b2410648
#include "slugshilsim.h"
#include "ui_slugshilsim.h"
SlugsHilSim
::
SlugsHilSim
(
QWidget
*
parent
)
:
QWidget
(
parent
),
ui
(
new
Ui
::
SlugsHilSim
)
{
ui
->
setupUi
(
this
);
}
SlugsHilSim
::~
SlugsHilSim
()
{
delete
ui
;
}
src/ui/slugshilsim.h
0 → 100644
View file @
b2410648
#ifndef SLUGSHILSIM_H
#define SLUGSHILSIM_H
#include <QWidget>
namespace
Ui
{
class
SlugsHilSim
;
}
class
SlugsHilSim
:
public
QWidget
{
Q_OBJECT
public:
explicit
SlugsHilSim
(
QWidget
*
parent
=
0
);
~
SlugsHilSim
();
private:
Ui
::
SlugsHilSim
*
ui
;
};
#endif // SLUGSHILSIM_H
src/ui/slugshilsim.ui
0 → 100644
View file @
b2410648
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<class>
SlugsHilSim
</class>
<widget
class=
"QWidget"
name=
"SlugsHilSim"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
256
</width>
<height>
191
</height>
</rect>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
256
</width>
<height>
191
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
367
</width>
<height>
229
</height>
</size>
</property>
<property
name=
"font"
>
<font>
<pointsize>
10
</pointsize>
</font>
</property>
<property
name=
"windowTitle"
>
<string>
Form
</string>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout_2"
>
<item>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_2"
>
<property
name=
"font"
>
<font>
<pointsize>
10
</pointsize>
<weight>
75
</weight>
<bold>
true
</bold>
</font>
</property>
<property
name=
"layoutDirection"
>
<enum>
Qt::RightToLeft
</enum>
</property>
<property
name=
"text"
>
<string>
IP Address
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"lineEdit_3"
>
<property
name=
"minimumSize"
>
<size>
<width>
60
</width>
<height>
18
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
80
</width>
<height>
18
</height>
</size>
</property>
</widget>
</item>
<item
row=
"1"
column=
"0"
colspan=
"2"
>
<widget
class=
"Line"
name=
"line"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
</widget>
</item>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label"
>
<property
name=
"font"
>
<font>
<pointsize>
10
</pointsize>
<weight>
75
</weight>
<bold>
true
</bold>
</font>
</property>
<property
name=
"layoutDirection"
>
<enum>
Qt::RightToLeft
</enum>
</property>
<property
name=
"text"
>
<string>
Receive Port
</string>
</property>
</widget>
</item>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"lineEdit"
>
<property
name=
"minimumSize"
>
<size>
<width>
60
</width>
<height>
18
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
80
</width>
<height>
18
</height>
</size>
</property>
</widget>
</item>
<item
row=
"3"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_3"
>
<property
name=
"font"
>
<font>
<pointsize>
10
</pointsize>
<weight>
75
</weight>
<bold>
true
</bold>
</font>
</property>
<property
name=
"layoutDirection"
>
<enum>
Qt::RightToLeft
</enum>
</property>
<property
name=
"text"
>
<string>
Send Port
</string>
</property>
</widget>
</item>
<item
row=
"3"
column=
"1"
>
<widget
class=
"QLineEdit"
name=
"lineEdit_2"
>
<property
name=
"minimumSize"
>
<size>
<width>
60
</width>
<height>
18
</height>
</size>
</property>
<property
name=
"maximumSize"
>
<size>
<width>
80
</width>
<height>
18
</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer
name=
"horizontalSpacer_2"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
40
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout
class=
"QGridLayout"
name=
"gridLayout_2"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"label_4"
>
<property
name=
"font"
>
<font>
<pointsize>
10
</pointsize>
<weight>
75
</weight>
<bold>
true
</bold>
</font>
</property>
<property
name=
"layoutDirection"
>
<enum>
Qt::RightToLeft
</enum>
</property>
<property
name=
"text"
>
<string>
Slugs HIL Sim Serial Port
</string>
</property>
</widget>
</item>
<item
row=
"0"
column=
"1"
>
<widget
class=
"QComboBox"
name=
"comboBox"
/>
</item>
</layout>
</item>
<item>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<spacer
name=
"horizontalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Horizontal
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
40
</width>
<height>
20
</height>
</size>
</property>
</spacer>
</item>
<item>
<widget
class=
"QPushButton"
name=
"pushButton"
>
<property
name=
"text"
>
<string>
Set in HIL Mode
</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</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