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
6db3447f
Commit
6db3447f
authored
Mar 20, 2020
by
Samuel Tabor
Browse files
FollowMe: Fix bug preventing sending GCS motion report when setting is always.
parent
6127e4bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FollowMe/FollowMe.cc
View file @
6db3447f
...
...
@@ -151,7 +151,7 @@ void FollowMe::_sendGCSMotionReport()
for
(
int
i
=
0
;
i
<
vehicles
->
count
();
i
++
)
{
Vehicle
*
vehicle
=
vehicles
->
value
<
Vehicle
*>
(
i
);
if
(
_isFollowFlightMode
(
vehicle
,
vehicle
->
flightMode
()))
{
if
(
_currentMode
==
MODE_ALWAYS
||
_isFollowFlightMode
(
vehicle
,
vehicle
->
flightMode
()))
{
qCDebug
(
FollowMeLog
)
<<
"sendGCSMotionReport latInt:lonInt:altMetersAMSL"
<<
motionReport
.
lat_int
<<
motionReport
.
lon_int
<<
motionReport
.
altMetersAMSL
;
vehicle
->
firmwarePlugin
()
->
sendGCSMotionReport
(
vehicle
,
motionReport
,
estimatation_capabilities
);
}
...
...
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