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
e9113de6
Commit
e9113de6
authored
Oct 30, 2018
by
Willian Galvani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ArduCopterFirmwarePlugin: Add BATT_ARM_VOLT to remapper
parent
c249a90e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
ArduCopterFirmwarePlugin.cc
src/FirmwarePlugin/APM/ArduCopterFirmwarePlugin.cc
+7
-2
No files found.
src/FirmwarePlugin/APM/ArduCopterFirmwarePlugin.cc
View file @
e9113de6
...
...
@@ -158,14 +158,19 @@ ArduCopterFirmwarePlugin::ArduCopterFirmwarePlugin(void)
remapV3_6
[
"PSC_ACCZ_P"
]
=
QStringLiteral
(
"ACCEL_Z_P"
);
remapV3_6
[
"PSC_ACCZ_I"
]
=
QStringLiteral
(
"ACCEL_Z_I"
);
FirmwarePlugin
::
remapParamNameMap_t
&
remapV3_7
=
_remapParamName
[
3
][
7
];
remapV3_7
[
"BATT_ARM_VOLT"
]
=
QStringLiteral
(
"ARMING_VOLT_MIN"
);
remapV3_7
[
"BATT2_ARM_VOLT"
]
=
QStringLiteral
(
"ARMING_VOLT2_MIN"
);
_remapParamNameIntialized
=
true
;
}
}
int
ArduCopterFirmwarePlugin
::
remapParamNameHigestMinorVersionNumber
(
int
majorVersionNumber
)
const
{
// Remapping supports up to 3.
5
return
majorVersionNumber
==
3
?
5
:
Vehicle
::
versionNotSetValue
;
// Remapping supports up to 3.
7
return
majorVersionNumber
==
3
?
7
:
Vehicle
::
versionNotSetValue
;
}
void
ArduCopterFirmwarePlugin
::
guidedModeLand
(
Vehicle
*
vehicle
)
...
...
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