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
11788b4e
Unverified
Commit
11788b4e
authored
Oct 16, 2019
by
Don Gagne
Committed by
GitHub
Oct 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7924 from DonLakeFlyer/FixedWingApproach
Fly: Disable Pause button if fixed wing on approach
parents
5fb64481
9634bad8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ChangeLog.md
ChangeLog.md
+1
-0
GuidedActionsController.qml
src/FlightDisplay/GuidedActionsController.qml
+3
-2
No files found.
ChangeLog.md
View file @
11788b4e
...
...
@@ -10,6 +10,7 @@ Note: This file only contains high level features or important fixes.
### 3.5.5 - Not yet released
*
Fix mavlink message memset which cause wrong commands to be sent on ArduPilot GotoLocation.
*
Disable Pause when fixed wing is on landing approach.
### 3.5.4 - Stable
*
Update windows drivers
...
...
src/FlightDisplay/GuidedActionsController.qml
View file @
11788b4e
...
...
@@ -101,10 +101,10 @@ Item {
property
bool
showLand
:
_guidedActionsEnabled
&&
_activeVehicle
.
guidedModeSupported
&&
_vehicleArmed
&&
!
_activeVehicle
.
fixedWing
&&
!
_vehicleInLandMode
property
bool
showStartMission
:
_guidedActionsEnabled
&&
_missionAvailable
&&
!
_missionActive
&&
!
_vehicleFlying
property
bool
showContinueMission
:
_guidedActionsEnabled
&&
_missionAvailable
&&
!
_missionActive
&&
_vehicleArmed
&&
_vehicleFlying
&&
(
_currentMissionIndex
<
_missionItemCount
-
1
)
property
bool
showPause
:
_guidedActionsEnabled
&&
_vehicleArmed
&&
_activeVehicle
.
pauseVehicleSupported
&&
_vehicleFlying
&&
!
_vehiclePaused
property
bool
showPause
:
_guidedActionsEnabled
&&
_vehicleArmed
&&
_activeVehicle
.
pauseVehicleSupported
&&
_vehicleFlying
&&
!
_vehiclePaused
&&
!
_fixedWingOnApproach
property
bool
showChangeAlt
:
_guidedActionsEnabled
&&
_vehicleFlying
&&
_activeVehicle
.
guidedModeSupported
&&
_vehicleArmed
&&
!
_missionActive
property
bool
showOrbit
:
_guidedActionsEnabled
&&
!
_hideOrbit
&&
_vehicleFlying
&&
_activeVehicle
.
orbitModeSupported
&&
!
_missionActive
property
bool
showLandAbort
:
_guidedActionsEnabled
&&
_vehicleFlying
&&
_
activeVehicle
.
fixedWing
&&
_vehicleLanding
property
bool
showLandAbort
:
_guidedActionsEnabled
&&
_vehicleFlying
&&
_
fixedWingOnApproach
property
bool
showGotoLocation
:
_guidedActionsEnabled
&&
_vehicleFlying
// Note: The '_missionItemCount - 2' is a hack to not trigger resume mission when a mission ends with an RTL item
...
...
@@ -132,6 +132,7 @@ Item {
property
bool
_hideOrbit
:
!
QGroundControl
.
corePlugin
.
options
.
guidedBarShowOrbit
property
bool
_vehicleWasFlying
:
false
property
bool
_rcRSSIAvailable
:
_activeVehicle
?
_activeVehicle
.
rcRSSI
>
0
&&
_activeVehicle
.
rcRSSI
<=
100
:
false
property
bool
_fixedWingOnApproach
:
_activeVehicle
?
_activeVehicle
.
fixedWing
&&
_vehicleLanding
:
false
// You can turn on log output for GuidedActionsController by turning on GuidedActionsControllerLog category
property
bool
__guidedModeSupported
:
_activeVehicle
?
_activeVehicle
.
guidedModeSupported
:
false
...
...
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