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
9e29a3b9
Commit
9e29a3b9
authored
Feb 25, 2017
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All third-party flight mode overrides
parent
8d5151b8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
50 deletions
+70
-50
PX4FirmwarePlugin.cc
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
+58
-50
PX4FirmwarePlugin.h
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.h
+12
-0
No files found.
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
View file @
9e29a3b9
This diff is collapsed.
Click to expand it.
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.h
View file @
9e29a3b9
...
@@ -83,6 +83,18 @@ public:
...
@@ -83,6 +83,18 @@ public:
static
const
char
*
_followMeFlightMode
;
static
const
char
*
_followMeFlightMode
;
static
const
char
*
_simpleFlightMode
;
static
const
char
*
_simpleFlightMode
;
protected:
typedef
struct
{
uint8_t
main_mode
;
uint8_t
sub_mode
;
QString
name
;
///< Name for flight mode
bool
canBeSet
;
///< true: Vehicle can be set to this flight mode
bool
fixedWing
;
/// fixed wing compatible
bool
multiRotor
;
/// multi rotor compatible
}
FlightModeInfo_t
;
QList
<
FlightModeInfo_t
>
_flightModeInfoList
;
private:
private:
void
_handleAutopilotVersion
(
Vehicle
*
vehicle
,
mavlink_message_t
*
message
);
void
_handleAutopilotVersion
(
Vehicle
*
vehicle
,
mavlink_message_t
*
message
);
...
...
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