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
5fc3fde9
Commit
5fc3fde9
authored
Jul 17, 2014
by
Thomas Gubler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
joystick: fix slot interface and remove debug output
parent
9e1d9e95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
JoystickInput.h
src/input/JoystickInput.h
+1
-1
UAS.cc
src/uas/UAS.cc
+0
-1
No files found.
src/input/JoystickInput.h
View file @
5fc3fde9
...
...
@@ -366,7 +366,7 @@ public slots:
* @brief Specify which setpoints should be sent to the UAS when moving the joystick
* @param newMode the mode (setpoint type) see the JOYSTICK_MODE enum
*/
void
setMode
(
quint8
newMode
)
void
setMode
(
int
newMode
)
{
mode
=
(
JOYSTICK_MODE
)
newMode
;
}
...
...
src/uas/UAS.cc
View file @
5fc3fde9
...
...
@@ -2978,7 +2978,6 @@ void UAS::setExternalControlSetpoint(float roll, float pitch, float yaw, float t
manualButtons
=
buttons
;
mavlink_message_t
message
;
qDebug
()
<<
"js mode"
<<
joystickMode
;
if
(
joystickMode
==
JoystickInput
::
JOYSTICK_MODE_ATTITUDE
)
{
...
...
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