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
dc75f674
Commit
dc75f674
authored
May 23, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixedWing should be pulled directly from Vehicle
parent
f7b66f10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+0
-21
SensorsComponentController.cc
src/AutoPilotPlugins/PX4/SensorsComponentController.cc
+0
-17
SensorsComponentController.h
src/AutoPilotPlugins/PX4/SensorsComponentController.h
+0
-4
No files found.
src/AutoPilotPlugins/PX4/SensorsComponentController.cc
View file @
dc75f674
...
...
@@ -467,23 +467,6 @@ void SensorsComponentController::_refreshParams(void)
_autopilot
->
refreshParametersPrefix
(
FactSystem
::
defaultComponentId
,
"SENS_"
);
}
bool
SensorsComponentController
::
fixedWing
(
void
)
{
switch
(
_vehicle
->
vehicleType
())
{
case
MAV_TYPE_FIXED_WING
:
case
MAV_TYPE_VTOL_DUOROTOR
:
case
MAV_TYPE_VTOL_QUADROTOR
:
case
MAV_TYPE_VTOL_TILTROTOR
:
case
MAV_TYPE_VTOL_RESERVED2
:
case
MAV_TYPE_VTOL_RESERVED3
:
case
MAV_TYPE_VTOL_RESERVED4
:
case
MAV_TYPE_VTOL_RESERVED5
:
return
true
;
default:
return
false
;
}
}
void
SensorsComponentController
::
_updateAndEmitShowOrientationCalArea
(
bool
show
)
{
_showOrientationCalArea
=
show
;
...
...
src/AutoPilotPlugins/PX4/SensorsComponentController.h
View file @
dc75f674
...
...
@@ -44,8 +44,6 @@ class SensorsComponentController : public FactPanelController
public:
SensorsComponentController
(
void
);
Q_PROPERTY
(
bool
fixedWing
READ
fixedWing
CONSTANT
)
Q_PROPERTY
(
QQuickItem
*
statusLog
MEMBER
_statusLog
)
Q_PROPERTY
(
QQuickItem
*
progressBar
MEMBER
_progressBar
)
...
...
@@ -97,8 +95,6 @@ public:
Q_INVOKABLE
void
cancelCalibration
(
void
);
Q_INVOKABLE
bool
usingUDPLink
(
void
);
bool
fixedWing
(
void
);
signals:
void
showGyroCalAreaChanged
(
void
);
void
showOrientationCalAreaChanged
(
void
);
...
...
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