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
1c29cbfd
Commit
1c29cbfd
authored
Jul 24, 2017
by
DonLakeFlyer
Browse files
Correct hiding of heading on TAKEOFF command
parent
69ef783b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/SimpleMissionItem.cc
View file @
1c29cbfd
...
...
@@ -460,7 +460,7 @@ void SimpleMissionItem::_rebuildNaNFacts(void)
if
(
!
firmwareVehicle
)
{
firmwareVehicle
=
_vehicle
;
}
bool
hideWaypointHeading
=
(
command
==
MAV_CMD_NAV_WAYPOINT
)
&&
(
i
==
4
)
&&
firmwareVehicle
->
firmwarePlugin
()
->
vehicleYawsToNextWaypointInMission
(
firmwareVehicle
);
bool
hideWaypointHeading
=
(
command
==
MAV_CMD_NAV_WAYPOINT
||
command
==
MAV_CMD_NAV_TAKEOFF
)
&&
(
i
==
4
)
&&
firmwareVehicle
->
firmwarePlugin
()
->
vehicleYawsToNextWaypointInMission
(
firmwareVehicle
);
if
(
hideWaypointHeading
)
{
continue
;
}
...
...
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