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
42f447cc
Commit
42f447cc
authored
Oct 16, 2016
by
Don Gagne
Committed by
GitHub
Oct 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4138 from DonLakeFlyer/VTOLTakeoff
Fix line back to home for VTOL takeoff
parents
1749b2a1
ef7f6002
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
MissionController.cc
src/MissionManager/MissionController.cc
+2
-1
MockLink.cc
src/comm/MockLink.cc
+1
-1
MavlinkLogTest.cc
src/qgcunittest/MavlinkLogTest.cc
+1
-1
No files found.
src/MissionManager/MissionController.cc
View file @
42f447cc
...
...
@@ -639,7 +639,8 @@ void MissionController::_recalcWaypointLines(void)
// If we still haven't found the first coordinate item and we hit a a takeoff command link back to home
if
(
firstCoordinateItem
&&
item
->
isSimpleItem
()
&&
qobject_cast
<
SimpleMissionItem
*>
(
item
)
->
command
()
==
MavlinkQmlSingleton
::
MAV_CMD_NAV_TAKEOFF
)
{
(
qobject_cast
<
SimpleMissionItem
*>
(
item
)
->
command
()
==
MavlinkQmlSingleton
::
MAV_CMD_NAV_TAKEOFF
||
qobject_cast
<
SimpleMissionItem
*>
(
item
)
->
command
()
==
MavlinkQmlSingleton
::
MAV_CMD_NAV_VTOL_TAKEOFF
))
{
linkBackToHome
=
true
;
}
...
...
src/comm/MockLink.cc
View file @
42f447cc
...
...
@@ -143,7 +143,6 @@ void MockLink::run(void)
void
MockLink
::
_run1HzTasks
(
void
)
{
if
(
_mavlinkStarted
&&
_connected
)
{
_sendHeartBeat
();
_sendVibration
();
if
(
!
qgcApp
()
->
runningUnitTests
())
{
// Sending RC Channels during unit test breaks RC tests which does it's own RC simulation
...
...
@@ -165,6 +164,7 @@ void MockLink::_run1HzTasks(void)
void
MockLink
::
_run10HzTasks
(
void
)
{
if
(
_mavlinkStarted
&&
_connected
)
{
_sendHeartBeat
();
if
(
_sendGPSPositionDelayCount
>
0
)
{
// We delay gps position for better testing
_sendGPSPositionDelayCount
--
;
...
...
src/qgcunittest/MavlinkLogTest.cc
View file @
42f447cc
...
...
@@ -128,7 +128,7 @@ void MavlinkLogTest::_connectLogWorker(bool arm)
if
(
arm
)
{
qgcApp
()
->
toolbox
()
->
multiVehicleManager
()
->
activeVehicle
()
->
setArmed
(
true
);
QTest
::
qWait
(
1
500
);
// Wait long enough for heartbeat to come through
QTest
::
qWait
(
500
);
// Wait long enough for heartbeat to come through
// On Disconnect: We should get a getSaveFileName dialog.
logSaveDir
.
setPath
(
QStandardPaths
::
writableLocation
(
QStandardPaths
::
TempLocation
));
...
...
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