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
1715d347
Commit
1715d347
authored
Oct 30, 2017
by
Jacob Walser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ArduSub 3.5.2 default params for BlueROV2
parent
71a57cb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
18 deletions
+14
-18
APMSubFrameComponent.qml
src/AutoPilotPlugins/APM/APMSubFrameComponent.qml
+14
-18
No files found.
src/AutoPilotPlugins/APM/APMSubFrameComponent.qml
View file @
1715d347
...
...
@@ -12,6 +12,7 @@ import QtQuick 2.3
import
QtQuick
.
Controls
1.2
import
QtQuick
.
Dialogs
1.2
import
QGroundControl
1.0
import
QGroundControl
.
FactSystem
1.0
import
QGroundControl
.
FactControls
1.0
import
QGroundControl
.
Palette
1.0
...
...
@@ -22,12 +23,9 @@ import QGroundControl.Controllers 1.0
SetupPage
{
id
:
subFramePage
pageComponent
:
subFramePageComponent
property
var
_flatParamList
:
ListModel
{
ListElement
{
name
:
"
Blue Robotics BlueROV2
"
file
:
"
Sub/bluerov2-3_5.params
"
}
}
property
var
_activeVehicle
:
QGroundControl
.
multiVehicleManager
.
activeVehicle
property
bool
_oldFW
:
!
(
_activeVehicle
.
firmwareMajorVersion
>
3
||
_activeVehicle
.
firmwareMinorVersion
>
5
||
_activeVehicle
.
firmwarePatchVersion
>=
2
)
APMAirframeComponentController
{
id
:
controller
;
factPanel
:
subFramePage
.
viewPanel
}
...
...
@@ -194,18 +192,16 @@ SetupPage {
spacing
:
_margins
layoutDirection
:
Qt
.
Vertical
;
Repeater
{
id
:
airframePicker
model
:
_flatParamList
delegate
:
QGCButton
{
width
:
parent
.
width
text
:
name
onClicked
:
{
controller
.
loadParameters
(
file
)
hideDialog
()
}
QGCButton
{
width
:
parent
.
width
text
:
"
Blue Robotics BlueROV2
"
property
var
file
:
_oldFW
?
"
Sub/bluerov2-3_5.params
"
:
"
Sub/bluerov2-3_5_2.params
"
onClicked
:
{
console
.
log
(
_oldFW
)
console
.
log
(
_activeVehicle
.
firmwarePatchVersion
)
controller
.
loadParameters
(
file
)
hideDialog
()
}
}
}
...
...
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