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
67b02f49
Commit
67b02f49
authored
Sep 25, 2015
by
Pritam Ghanghas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed review comments
parent
fb3610d4
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
150 additions
and
341 deletions
+150
-341
FirmwareUpgrade.qml
src/VehicleSetup/FirmwareUpgrade.qml
+1
-1
FirmwareUpgradeController.cc
src/VehicleSetup/FirmwareUpgradeController.cc
+141
-340
FirmwareUpgradeController.h
src/VehicleSetup/FirmwareUpgradeController.h
+8
-0
No files found.
src/VehicleSetup/FirmwareUpgrade.qml
View file @
67b02f49
...
...
@@ -139,7 +139,7 @@ QGCView {
QGCViewDialog
{
anchors.fill
:
parent
property
bool
showFirmwareTypeSelection
:
a
pmFlightStack
.
checked
||
a
dvancedMode
.
checked
property
bool
showFirmwareTypeSelection
:
advancedMode
.
checked
property
bool
px4Flow
:
controller
.
boardType
==
"
PX4 Flow
"
function
accept
()
{
...
...
src/VehicleSetup/FirmwareUpgradeController.cc
View file @
67b02f49
This diff is collapsed.
Click to expand it.
src/VehicleSetup/FirmwareUpgradeController.h
View file @
67b02f49
...
...
@@ -174,6 +174,7 @@ private slots:
private:
void
_getFirmwareFile
(
FirmwareIdentifier
firmwareIDTrinity
);
void
_initFirmwareHash
();
void
_downloadFirmware
(
void
);
void
_appendStatusLog
(
const
QString
&
text
,
bool
critical
=
false
);
void
_errorCancel
(
const
QString
&
msg
);
...
...
@@ -181,6 +182,13 @@ private:
QString
_portName
;
QString
_portDescription
;
// firmware hashes
QHash
<
FirmwareIdentifier
,
QString
>
_rgPX4FMUV2Firmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rgAeroCoreFirmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rgPX4FMUV1Firmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rgPX4FLowFirmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rg3DRRadioFirmware
;
/// Information which comes back from the bootloader
bool
_bootloaderFound
;
///< true: we have received the foundBootloader signals
uint32_t
_bootloaderVersion
;
///< Bootloader version
...
...
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