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
b4ddf359
Commit
b4ddf359
authored
Dec 18, 2019
by
Valentin Platzgummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc1
parent
e789e194
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
FlightDisplayView.qml
src/FlightDisplay/FlightDisplayView.qml
+2
-2
FlightDisplayWimaMenu.qml
src/FlightDisplay/FlightDisplayWimaMenu.qml
+0
-6
WimaPlaner.cc
src/Wima/WimaPlaner.cc
+2
-2
No files found.
src/FlightDisplay/FlightDisplayView.qml
View file @
b4ddf359
...
...
@@ -606,8 +606,8 @@ QGCView {
anchors.bottom
:
parent
.
bottom
anchors.leftMargin
:
ScreenTools
.
defaultFontPixelWidth
anchors.bottomMargin
:
ScreenTools
.
defaultFontPixelWidth
maxWidth
:
300
maxHeight
:
parent
.
height
-
toolStrip
.
height
-
ScreenTools
.
defaultFontPixelWidth
*
4
maxWidth
:
Math
.
min
(
300
,
singleMultiSelector
.
x
-
ScreenTools
.
defaultFontPixelHeight
*
4
)
maxHeight
:
parent
.
height
-
toolStrip
.
height
-
toolStrip
.
y
-
ScreenTools
.
defaultFontPixelHeight
*
4
wimaController
:
wimaController
...
...
src/FlightDisplay/FlightDisplayWimaMenu.qml
View file @
b4ddf359
...
...
@@ -68,12 +68,6 @@ Item {
property
real
_margins
:
_root
.
_margins
Component.onCompleted
:
{
console
.
log
(
'
mainFrame onCompleted
'
)
console
.
log
(
'
_margins
'
)
console
.
log
(
_margins
)
}
// checkbox to enable/ disable wima
SliderSwitch
{
id
:
enableWima
...
...
src/Wima/WimaPlaner.cc
View file @
b4ddf359
...
...
@@ -36,10 +36,10 @@ WimaPlaner::WimaPlaner(QObject *parent)
_updateTimer
.
setInterval
(
500
);
// 250 ms means: max update time 2*250 ms
_updateTimer
.
start
();
// for debugging and testing purpose
// for debugging and testing purpose
, remove if not needed anymore
connect
(
&
_autoLoadTimer
,
&
QTimer
::
timeout
,
this
,
&
WimaPlaner
::
autoLoadMission
);
_autoLoadTimer
.
setSingleShot
(
true
);
_autoLoadTimer
.
start
(
300
);
//
_autoLoadTimer.start(300);
_calcArrivalAndReturnPathTimer
.
setInterval
(
100
);
_calcArrivalAndReturnPathTimer
.
setSingleShot
(
true
);
...
...
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