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
effe7af2
Commit
effe7af2
authored
Nov 10, 2010
by
Mariano Lizarraga
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://github.com/tecnosapiens/qgroundcontrol
into mergeRemote
parents
87c994f4
87e15658
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
39 deletions
+59
-39
MainWindow.cc
src/ui/MainWindow.cc
+46
-36
SlugsDataSensorView.cc
src/ui/SlugsDataSensorView.cc
+10
-0
SlugsDataSensorView.ui
src/ui/SlugsDataSensorView.ui
+3
-3
No files found.
src/ui/MainWindow.cc
View file @
effe7af2
...
...
@@ -903,33 +903,43 @@ void MainWindow::loadGlobalOperatorView()
}
}
//
UAS CONTROL
if
(
control
DockWidget
)
//
WAYPOINT LIST
if
(
waypoints
DockWidget
)
{
addDockWidget
(
Qt
::
LeftDockWidgetArea
,
control
DockWidget
);
control
DockWidget
->
show
();
addDockWidget
(
Qt
::
BottomDockWidgetArea
,
waypoints
DockWidget
);
waypoints
DockWidget
->
show
();
}
//
UAS LIST
if
(
listDock
Widget
)
//
Slugs Data View
if
(
slugsData
Widget
)
{
addDockWidget
(
Qt
::
BottomDockWidgetArea
,
listDock
Widget
);
listDock
Widget
->
show
();
addDockWidget
(
Qt
::
RightDockWidgetArea
,
slugsData
Widget
);
slugsData
Widget
->
show
();
}
// UAS STATUS
if
(
infoDockWidget
)
{
addDockWidget
(
Qt
::
LeftDockWidgetArea
,
infoDockWidget
);
infoDockWidget
->
show
();
}
// WAYPOINT LIST
if
(
waypointsDockWidget
)
{
addDockWidget
(
Qt
::
BottomDockWidgetArea
,
waypointsDockWidget
);
waypointsDockWidget
->
show
();
}
// // UAS CONTROL
// if (controlDockWidget)
// {
// addDockWidget(Qt::LeftDockWidgetArea, controlDockWidget);
// controlDockWidget->show();
// }
// // UAS LIST
// if (listDockWidget)
// {
// addDockWidget(Qt::BottomDockWidgetArea, listDockWidget);
// listDockWidget->show();
// }
// // UAS STATUS
// if (infoDockWidget)
// {
// addDockWidget(Qt::LeftDockWidgetArea, infoDockWidget);
// infoDockWidget->show();
// }
// // HORIZONTAL SITUATION INDICATOR
// if (hsiDockWidget)
...
...
@@ -944,25 +954,25 @@ void MainWindow::loadGlobalOperatorView()
// }
// PROCESS CONTROL
if
(
watchdogControlDockWidget
)
{
addDockWidget
(
Qt
::
RightDockWidgetArea
,
watchdogControlDockWidget
);
watchdogControlDockWidget
->
show
();
}
//
if (watchdogControlDockWidget)
//
{
//
addDockWidget(Qt::RightDockWidgetArea, watchdogControlDockWidget);
//
watchdogControlDockWidget->show();
//
}
// HEAD UP DISPLAY
if
(
headUpDockWidget
)
{
addDockWidget
(
Qt
::
RightDockWidgetArea
,
headUpDockWidget
);
// FIXME Replace with default ->show() call
HUD
*
hud
=
dynamic_cast
<
HUD
*>
(
headUpDockWidget
->
widget
());
//
if (headUpDockWidget)
//
{
//
addDockWidget(Qt::RightDockWidgetArea, headUpDockWidget);
//
// FIXME Replace with default ->show() call
//
HUD* hud = dynamic_cast<HUD*>(headUpDockWidget->widget());
if
(
hud
)
{
headUpDockWidget
->
show
();
hud
->
start
();
}
}
//
if (hud)
//
{
//
headUpDockWidget->show();
//
hud->start();
//
}
//
}
}
...
...
src/ui/SlugsDataSensorView.cc
View file @
effe7af2
...
...
@@ -255,6 +255,16 @@ void SlugsDataSensorView::refresh()
ui
->
m_logFl6_textEdit
->
setText
(
QString
::
number
(
Logfl_6
,
'f'
,
4
));
//refresh UI PWM Commands
ui
->
m_pwmThro
->
setText
(
"No data"
);
ui
->
m_pwmThroTrim
->
setText
(
"No data"
);
ui
->
m_pwmAile
->
setText
(
"No data"
);
ui
->
m_pwmAileTrim
->
setText
(
"No data"
);
ui
->
m_pwmElev
->
setText
(
"No data"
);
ui
->
m_pwmElevTrim
->
setText
(
"No data"
);
ui
->
m_pwmRudd
->
setText
(
"No data"
);
ui
->
m_pwmRuddTrim
->
setText
(
"No data"
);
ui
->
m_pwmFailSafe
->
setText
(
"No data"
);
ui
->
m_pwmAvailable
->
setText
(
"No data"
);
...
...
src/ui/SlugsDataSensorView.ui
View file @
effe7af2
...
...
@@ -35,7 +35,7 @@
<item>
<widget
class=
"QTabWidget"
name=
"SlugsSensorView_tabWidget"
>
<property
name=
"currentIndex"
>
<number>
0
</number>
<number>
3
</number>
</property>
<widget
class=
"QWidget"
name=
"tab"
>
<attribute
name=
"title"
>
...
...
@@ -2947,12 +2947,12 @@
</widget>
<widget
class=
"QWidget"
name=
"tab_3"
>
<attribute
name=
"title"
>
<string>
Navigation
</string>
<string>
Tab 3
</string>
</attribute>
</widget>
<widget
class=
"QWidget"
name=
"tab_2"
>
<attribute
name=
"title"
>
<string>
PWM Command
</string>
<string>
Tab 4
</string>
</attribute>
</widget>
</widget>
...
...
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