Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
59ef1b3b
Commit
59ef1b3b
authored
Jun 25, 2016
by
Don Gagne
Committed by
GitHub
Jun 25, 2016
Browse files
Delay for mission item sync (#3668)
parent
2418d073
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/qgcunittest/RadioConfigTest.cc
View file @
59ef1b3b
...
...
@@ -190,6 +190,10 @@ void RadioConfigTest::_init(MAV_AUTOPILOT firmwareType)
_autopilot
=
qgcApp
()
->
toolbox
()
->
multiVehicleManager
()
->
activeVehicle
()
->
autopilotPlugin
();
Q_ASSERT
(
_autopilot
);
// This test is so quick that it tends to finish before the mission item protocol completes. This causes an error to pop up.
// So we wait a little to let mission items sync.
QTest
::
qWait
(
500
);
// This will instatiate the widget with an active uas with ready parameters
_calWidget
=
new
QGCQmlWidgetHolder
(
QString
(),
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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