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
1169c098
Commit
1169c098
authored
Feb 25, 2017
by
nanthony21
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mapped left column indicators to the manualControl signal that is sent to the vehicle
parent
7131a12e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
JoystickConfig.qml
src/VehicleSetup/JoystickConfig.qml
+20
-8
No files found.
src/VehicleSetup/JoystickConfig.qml
View file @
1169c098
...
...
@@ -205,10 +205,13 @@ SetupPage {
Connections
{
target
:
controller
onRollAxisValueChanged
:
rollLoader
.
item
.
axisValue
=
value
onRollAxisDeadbandChanged
:
rollLoader
.
item
.
deadbandValue
=
value
}
Connections
{
target
:
_activeJoystick
onManualControl
:
rollLoader
.
item
.
axisValue
=
roll
*
32768.0
}
}
Item
{
...
...
@@ -237,11 +240,14 @@ SetupPage {
Connections
{
target
:
controller
onPitchAxisValueChanged
:
pitchLoader
.
item
.
axisValue
=
value
onPitchAxisDeadbandChanged
:
pitchLoader
.
item
.
deadbandValue
=
value
}
Connections
{
target
:
_activeJoystick
onManualControl
:
pitchLoader
.
item
.
axisValue
=
pitch
*
32768.0
}
}
Item
{
...
...
@@ -270,10 +276,13 @@ SetupPage {
Connections
{
target
:
controller
onYawAxisValueChanged
:
yawLoader
.
item
.
axisValue
=
value
onYawAxisDeadbandChanged
:
yawLoader
.
item
.
deadbandValue
=
value
}
Connections
{
target
:
_activeJoystick
onManualControl
:
yawLoader
.
item
.
axisValue
=
yaw
*
32768.0
}
}
Item
{
...
...
@@ -302,10 +311,13 @@ SetupPage {
Connections
{
target
:
controller
onThrottleAxisValueChanged
:
throttleLoader
.
item
.
axisValue
=
value
onThrottleAxisDeadbandChanged
:
throttleLoader
.
item
.
deadbandValue
=
value
}
Connections
{
target
:
_activeJoystick
onManualControl
:
throttleLoader
.
item
.
axisValue
=
(
-
2
*
throttle
+
1
)
*
32768.0
}
}
}
// Column - Attitude Control labels
...
...
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