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
80a1f005
Commit
80a1f005
authored
Oct 01, 2019
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for 4.0 releases
parent
4ef7a813
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
43156 additions
and
4 deletions
+43156
-4
APMTuningComponentCopter.qml
src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml
+2
-2
APMFirmwarePlugin.cc
src/FirmwarePlugin/APM/APMFirmwarePlugin.cc
+11
-2
APMParameterFactMetaData.Copter.4.0.xml
...irmwarePlugin/APM/APMParameterFactMetaData.Copter.4.0.xml
+15436
-0
APMParameterFactMetaData.Plane.4.0.xml
...FirmwarePlugin/APM/APMParameterFactMetaData.Plane.4.0.xml
+14328
-0
APMParameterFactMetaData.Rover.4.0.xml
...FirmwarePlugin/APM/APMParameterFactMetaData.Rover.4.0.xml
+13371
-0
APMResources.qrc
src/FirmwarePlugin/APM/APMResources.qrc
+3
-0
ArduCopterFirmwarePlugin.cc
src/FirmwarePlugin/APM/ArduCopterFirmwarePlugin.cc
+5
-0
No files found.
src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml
View file @
80a1f005
...
@@ -428,7 +428,7 @@ SetupPage {
...
@@ -428,7 +428,7 @@ SetupPage {
FactTextField
{
FactTextField
{
id
:
tuneMinField
id
:
tuneMinField
validator
:
DoubleValidator
{
bottom
:
0
;
top
:
32767
;}
validator
:
DoubleValidator
{
bottom
:
0
;
top
:
32767
;}
fact
:
controller
.
getParameterFact
(
-
1
,
"
TUNE_LOW
"
)
fact
:
controller
.
getParameterFact
(
-
1
,
"
r.TUNE_MAX
"
)
}
}
QGCLabel
{
QGCLabel
{
...
@@ -440,7 +440,7 @@ SetupPage {
...
@@ -440,7 +440,7 @@ SetupPage {
FactTextField
{
FactTextField
{
id
:
tuneMaxField
id
:
tuneMaxField
validator
:
DoubleValidator
{
bottom
:
0
;
top
:
32767
;}
validator
:
DoubleValidator
{
bottom
:
0
;
top
:
32767
;}
fact
:
controller
.
getParameterFact
(
-
1
,
"
TUNE_HIGH
"
)
fact
:
controller
.
getParameterFact
(
-
1
,
"
r.TUNE_MIN
"
)
}
}
}
}
}
// Column - Channel 6 Tuning option
}
// Column - Channel 6 Tuning option
...
...
src/FirmwarePlugin/APM/APMFirmwarePlugin.cc
View file @
80a1f005
...
@@ -829,10 +829,13 @@ QString APMFirmwarePlugin::internalParameterMetaDataFile(Vehicle* vehicle)
...
@@ -829,10 +829,13 @@ QString APMFirmwarePlugin::internalParameterMetaDataFile(Vehicle* vehicle)
case
MAV_TYPE_TRICOPTER
:
case
MAV_TYPE_TRICOPTER
:
case
MAV_TYPE_COAXIAL
:
case
MAV_TYPE_COAXIAL
:
case
MAV_TYPE_HELICOPTER
:
case
MAV_TYPE_HELICOPTER
:
if
(
vehicle
->
versionCompare
(
3
,
7
,
0
)
>=
0
)
{
// 3.7.0 and higher
if
(
vehicle
->
versionCompare
(
4
,
0
,
0
)
>=
0
)
{
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Copter.4.0.xml"
);
}
if
(
vehicle
->
versionCompare
(
3
,
7
,
0
)
>=
0
)
{
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Copter.3.7.xml"
);
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Copter.3.7.xml"
);
}
}
if
(
vehicle
->
versionCompare
(
3
,
6
,
0
)
>=
0
)
{
// 3.6.0 and higher
if
(
vehicle
->
versionCompare
(
3
,
6
,
0
)
>=
0
)
{
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Copter.3.6.xml"
);
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Copter.3.6.xml"
);
}
}
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Copter.3.5.xml"
);
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Copter.3.5.xml"
);
...
@@ -845,6 +848,9 @@ QString APMFirmwarePlugin::internalParameterMetaDataFile(Vehicle* vehicle)
...
@@ -845,6 +848,9 @@ QString APMFirmwarePlugin::internalParameterMetaDataFile(Vehicle* vehicle)
case
MAV_TYPE_VTOL_RESERVED4
:
case
MAV_TYPE_VTOL_RESERVED4
:
case
MAV_TYPE_VTOL_RESERVED5
:
case
MAV_TYPE_VTOL_RESERVED5
:
case
MAV_TYPE_FIXED_WING
:
case
MAV_TYPE_FIXED_WING
:
if
(
vehicle
->
versionCompare
(
4
,
0
,
0
)
>=
0
)
{
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Plane.4.0.xml"
);
}
if
(
vehicle
->
versionCompare
(
3
,
10
,
0
)
>=
0
)
{
if
(
vehicle
->
versionCompare
(
3
,
10
,
0
)
>=
0
)
{
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Plane.3.10.xml"
);
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Plane.3.10.xml"
);
}
}
...
@@ -855,6 +861,9 @@ QString APMFirmwarePlugin::internalParameterMetaDataFile(Vehicle* vehicle)
...
@@ -855,6 +861,9 @@ QString APMFirmwarePlugin::internalParameterMetaDataFile(Vehicle* vehicle)
case
MAV_TYPE_GROUND_ROVER
:
case
MAV_TYPE_GROUND_ROVER
:
case
MAV_TYPE_SURFACE_BOAT
:
case
MAV_TYPE_SURFACE_BOAT
:
if
(
vehicle
->
versionCompare
(
4
,
0
,
0
)
>=
0
)
{
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Rover.4.0.xml"
);
}
if
(
vehicle
->
versionCompare
(
3
,
6
,
0
)
>=
0
)
{
if
(
vehicle
->
versionCompare
(
3
,
6
,
0
)
>=
0
)
{
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Rover.3.6.xml"
);
return
QStringLiteral
(
":/FirmwarePlugin/APM/APMParameterFactMetaData.Rover.3.6.xml"
);
}
}
...
...
src/FirmwarePlugin/APM/APMParameterFactMetaData.Copter.4.0.xml
0 → 100644
View file @
80a1f005
This diff is collapsed.
Click to expand it.
src/FirmwarePlugin/APM/APMParameterFactMetaData.Plane.4.0.xml
0 → 100644
View file @
80a1f005
This diff is collapsed.
Click to expand it.
src/FirmwarePlugin/APM/APMParameterFactMetaData.Rover.4.0.xml
0 → 100644
View file @
80a1f005
This diff is collapsed.
Click to expand it.
src/FirmwarePlugin/APM/APMResources.qrc
View file @
80a1f005
...
@@ -45,12 +45,15 @@
...
@@ -45,12 +45,15 @@
<file alias="APMParameterFactMetaData.Plane.3.8.xml">APMParameterFactMetaData.Plane.3.8.xml</file>
<file alias="APMParameterFactMetaData.Plane.3.8.xml">APMParameterFactMetaData.Plane.3.8.xml</file>
<file alias="APMParameterFactMetaData.Plane.3.9.xml">APMParameterFactMetaData.Plane.3.9.xml</file>
<file alias="APMParameterFactMetaData.Plane.3.9.xml">APMParameterFactMetaData.Plane.3.9.xml</file>
<file alias="APMParameterFactMetaData.Plane.3.10.xml">APMParameterFactMetaData.Plane.3.10.xml</file>
<file alias="APMParameterFactMetaData.Plane.3.10.xml">APMParameterFactMetaData.Plane.3.10.xml</file>
<file alias="APMParameterFactMetaData.Plane.4.0.xml">APMParameterFactMetaData.Plane.4.0.xml</file>
<file alias="APMParameterFactMetaData.Copter.3.5.xml">APMParameterFactMetaData.Copter.3.5.xml</file>
<file alias="APMParameterFactMetaData.Copter.3.5.xml">APMParameterFactMetaData.Copter.3.5.xml</file>
<file alias="APMParameterFactMetaData.Copter.3.6.xml">APMParameterFactMetaData.Copter.3.6.xml</file>
<file alias="APMParameterFactMetaData.Copter.3.6.xml">APMParameterFactMetaData.Copter.3.6.xml</file>
<file alias="APMParameterFactMetaData.Copter.3.7.xml">APMParameterFactMetaData.Copter.3.7.xml</file>
<file alias="APMParameterFactMetaData.Copter.3.7.xml">APMParameterFactMetaData.Copter.3.7.xml</file>
<file alias="APMParameterFactMetaData.Copter.4.0.xml">APMParameterFactMetaData.Copter.4.0.xml</file>
<file alias="APMParameterFactMetaData.Rover.3.4.xml">APMParameterFactMetaData.Rover.3.4.xml</file>
<file alias="APMParameterFactMetaData.Rover.3.4.xml">APMParameterFactMetaData.Rover.3.4.xml</file>
<file alias="APMParameterFactMetaData.Rover.3.5.xml">APMParameterFactMetaData.Rover.3.5.xml</file>
<file alias="APMParameterFactMetaData.Rover.3.5.xml">APMParameterFactMetaData.Rover.3.5.xml</file>
<file alias="APMParameterFactMetaData.Rover.3.6.xml">APMParameterFactMetaData.Rover.3.6.xml</file>
<file alias="APMParameterFactMetaData.Rover.3.6.xml">APMParameterFactMetaData.Rover.3.6.xml</file>
<file alias="APMParameterFactMetaData.Rover.4.0.xml">APMParameterFactMetaData.Rover.4.0.xml</file>
<file alias="APMParameterFactMetaData.Sub.3.4.xml">APMParameterFactMetaData.Sub.3.4.xml</file>
<file alias="APMParameterFactMetaData.Sub.3.4.xml">APMParameterFactMetaData.Sub.3.4.xml</file>
<file alias="APMParameterFactMetaData.Sub.3.5.xml">APMParameterFactMetaData.Sub.3.5.xml</file>
<file alias="APMParameterFactMetaData.Sub.3.5.xml">APMParameterFactMetaData.Sub.3.5.xml</file>
<file alias="APMParameterFactMetaData.Sub.3.6dev.xml">APMParameterFactMetaData.Sub.3.6dev.xml</file>
<file alias="APMParameterFactMetaData.Sub.3.6dev.xml">APMParameterFactMetaData.Sub.3.6dev.xml</file>
...
...
src/FirmwarePlugin/APM/ArduCopterFirmwarePlugin.cc
View file @
80a1f005
...
@@ -97,6 +97,11 @@ ArduCopterFirmwarePlugin::ArduCopterFirmwarePlugin(void)
...
@@ -97,6 +97,11 @@ ArduCopterFirmwarePlugin::ArduCopterFirmwarePlugin(void)
remapV3_7
[
"RC11_OPTION"
]
=
QStringLiteral
(
"CH11_OPT"
);
remapV3_7
[
"RC11_OPTION"
]
=
QStringLiteral
(
"CH11_OPT"
);
remapV3_7
[
"RC12_OPTION"
]
=
QStringLiteral
(
"CH12_OPT"
);
remapV3_7
[
"RC12_OPTION"
]
=
QStringLiteral
(
"CH12_OPT"
);
FirmwarePlugin
::
remapParamNameMap_t
&
remapV4_0
=
_remapParamName
[
4
][
0
];
remapV4_0
[
"TUNE_MIN"
]
=
QStringLiteral
(
"TUNE_HIGH"
);
remapV3_7
[
"TUNE_MAX"
]
=
QStringLiteral
(
"TUNE_LOW"
);
_remapParamNameIntialized
=
true
;
_remapParamNameIntialized
=
true
;
}
}
}
}
...
...
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