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
7f81508f
Unverified
Commit
7f81508f
authored
Feb 22, 2020
by
Don Gagne
Committed by
GitHub
Feb 22, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8383 from DonLakeFlyer/ROIAvailability
Drive Plan view ROI support from firmware capability bits
parents
dfd72eea
d80e89b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FirmwarePlugin.h
src/FirmwarePlugin/FirmwarePlugin.h
+1
-1
PlanView.qml
src/PlanView/PlanView.qml
+1
-1
No files found.
src/FirmwarePlugin/FirmwarePlugin.h
View file @
7f81508f
...
...
@@ -48,7 +48,7 @@ public:
GuidedModeCapability
=
1
<<
2
,
///< Vehicle supports guided mode commands
OrbitModeCapability
=
1
<<
3
,
///< Vehicle supports orbit mode
TakeoffVehicleCapability
=
1
<<
4
,
///< Vehicle supports guided takeoff
ROIModeCapability
=
1
<<
5
,
///< Vehicle supports ROI
ROIModeCapability
=
1
<<
5
,
///< Vehicle supports ROI
(both in Fly guided mode and from Plan creation)
}
FirmwareCapabilities
;
/// Maps from on parameter name to another
...
...
src/PlanView/PlanView.qml
View file @
7f81508f
...
...
@@ -617,7 +617,7 @@ Item {
name
:
_missionController
.
isROIActive
?
qsTr
(
"
Cancel ROI
"
)
:
qsTr
(
"
ROI
"
),
iconSource
:
"
/qmlimages/MapAddMission.svg
"
,
buttonEnabled
:
true
,
buttonVisible
:
_isMissionLayer
,
buttonVisible
:
_isMissionLayer
&&
_planMasterController
.
controllerVehicle
.
roiModeSupported
,
toggle
:
!
_missionController
.
isROIActive
},
{
...
...
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