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
c16638d0
Commit
c16638d0
authored
Jul 08, 2020
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
5f269009
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
59 deletions
+38
-59
RadioComponentController.cc
src/AutoPilotPlugins/Common/RadioComponentController.cc
+34
-49
RadioComponentController.h
src/AutoPilotPlugins/Common/RadioComponentController.h
+4
-10
No files found.
src/AutoPilotPlugins/Common/RadioComponentController.cc
View file @
c16638d0
This diff is collapsed.
Click to expand it.
src/AutoPilotPlugins/Common/RadioComponentController.h
View file @
c16638d0
...
@@ -232,8 +232,6 @@ private:
...
@@ -232,8 +232,6 @@ private:
void
_signalAllAttitudeValueChanges
(
void
);
void
_signalAllAttitudeValueChanges
(
void
);
int
_chanMax
(
void
)
const
;
bool
_channelReversedParamValue
(
int
channel
);
bool
_channelReversedParamValue
(
int
channel
);
void
_setChannelReversedParamValue
(
int
channel
,
bool
reversed
);
void
_setChannelReversedParamValue
(
int
channel
,
bool
reversed
);
...
@@ -272,14 +270,10 @@ private:
...
@@ -272,14 +270,10 @@ private:
static
const
int
_attitudeControls
=
5
;
static
const
int
_attitudeControls
=
5
;
int
_chanCount
;
///< Number of actual rc channels available
int
_chanCount
;
///< Number of actual rc channels available
static
const
int
_chanMaxPX4
=
18
;
///< Maximum number of supported rc channels, PX4 Firmware
static
const
int
_chanMax
=
18
;
///< Maximum number of support rc channels by this implementation
static
const
int
_chanMaxAPM
=
14
;
///< Maximum number of supported rc channels, APM firmware
static
const
int
_chanMaxAny
=
18
;
///< Maximum number of support rc channels by this implementation
static
const
int
_chanMinimum
=
5
;
///< Minimum numner of channels required to run
static
const
int
_chanMinimum
=
5
;
///< Minimum numner of channels required to run
struct
ChannelInfo
_rgChannelInfo
[
_chanMaxAny
];
///< Information associated with each rc channel
struct
ChannelInfo
_rgChannelInfo
[
_chanMax
];
///< Information associated with each rc channel
QList
<
int
>
_apmPossibleMissingRCChannelParams
;
///< List of possible missing RC*_* params for APM stack
enum
rcCalStates
_rcCalState
;
///< Current calibration state
enum
rcCalStates
_rcCalState
;
///< Current calibration state
int
_rcCalStateCurrentChannel
;
///< Current channel being worked on in rcCalStateIdentify and rcCalStateDetectInversion
int
_rcCalStateCurrentChannel
;
///< Current channel being worked on in rcCalStateIdentify and rcCalStateDetectInversion
...
@@ -302,9 +296,9 @@ private:
...
@@ -302,9 +296,9 @@ private:
QString
_revParamFormat
;
QString
_revParamFormat
;
bool
_revParamIsBool
;
bool
_revParamIsBool
;
int
_rcValueSave
[
_chanMax
Any
];
///< Saved values prior to detecting channel movement
int
_rcValueSave
[
_chanMax
];
///< Saved values prior to detecting channel movement
int
_rcRawValue
[
_chanMax
Any
];
///< Current set of raw channel values
int
_rcRawValue
[
_chanMax
];
///< Current set of raw channel values
int
_stickDetectChannel
;
int
_stickDetectChannel
;
int
_stickDetectInitialValue
;
int
_stickDetectInitialValue
;
...
...
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