Skip to content

Commit

Permalink
Update GuidedActionsController.qml
Browse files Browse the repository at this point in the history
there was bug  in orbitMapCircle.radius    line 392,     the radius is  default value 30  , and  no change when view circle  change
  • Loading branch information
yl5006 authored Jun 29, 2018
1 parent 2dfdda3 commit 495ad23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FlightDisplay/GuidedActionsController.qml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ Item {
_activeVehicle.setCurrentMissionSequence(actionData)
break
case actionOrbit:
_activeVehicle.guidedModeOrbit(orbitMapCircle.center, orbitMapCircle.radius, _activeVehicle.altitudeAMSL + actionAltitudeChange)
_activeVehicle.guidedModeOrbit(orbitMapCircle.center, orbitMapCircle.radius, _activeVehicle.altitudeAMSL.rawValue + actionAltitudeChange)
orbitMapCircle.hide()
break
case actionLandAbort:
Expand Down

0 comments on commit 495ad23

Please sign in to comment.