Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
825187e5
Commit
825187e5
authored
Aug 14, 2015
by
Don Gagne
Browse files
Moved comments to re-trigger TeamCity
parent
b6394af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/PX4/RadioComponent.cc
View file @
825187e5
...
...
@@ -58,7 +58,8 @@ bool RadioComponent::requiresSetup(void) const
bool
RadioComponent
::
setupComplete
(
void
)
const
{
// Check for mapped attitude controls
// The best we can do to detect the need for a radio calibration is look for attitude
// controls to be mapped.
QStringList
attitudeMappings
;
attitudeMappings
<<
"RC_MAP_ROLL"
<<
"RC_MAP_PITCH"
<<
"RC_MAP_YAW"
<<
"RC_MAP_THROTTLE"
;
foreach
(
QString
mapParam
,
attitudeMappings
)
{
...
...
@@ -86,9 +87,6 @@ QStringList RadioComponent::setupCompleteChangedTriggerList(void) const
{
QStringList
triggers
;
// The best we can do to detect the need for a radio calibration is look for attitude
// controls to be mapped.
triggers
<<
"RC_MAP_ROLL"
<<
"RC_MAP_PITCH"
<<
"RC_MAP_YAW"
<<
"RC_MAP_THROTTLE"
;
return
triggers
;
...
...
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