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
25b06dda
Commit
25b06dda
authored
May 02, 2017
by
DonLakeFlyer
Browse files
Vehicle mission yaw must come from live manager vehicle
parent
dc848ceb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/MissionController.cc
View file @
25b06dda
...
...
@@ -1044,7 +1044,7 @@ void MissionController::_recalcMissionFlightStatus()
}
// Look for gimbal change
if
(
_
controll
erVehicle
->
vehicleYawsToNextWaypointInMission
())
{
if
(
_
manag
erVehicle
->
vehicleYawsToNextWaypointInMission
())
{
// We current only support gimbal display in this mode
double
gimbalYaw
=
item
->
specifiedGimbalYaw
();
if
(
!
qIsNaN
(
gimbalYaw
))
{
...
...
@@ -1371,7 +1371,7 @@ void MissionController::managerVehicleChanged(Vehicle* managerVehicle)
_managerVehicle
=
managerVehicle
;
if
(
!
_managerVehicle
)
{
qWarning
()
<<
"
RallyPoint
Controller::managerVehicleChanged managerVehicle=NULL"
;
qWarning
()
<<
"
Mission
Controller::managerVehicleChanged managerVehicle=NULL"
;
return
;
}
...
...
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