Skip to content
GitLab
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
fdb13156
Commit
fdb13156
authored
Jun 16, 2016
by
Don Gagne
Committed by
GitHub
Jun 16, 2016
Browse files
Merge pull request #3580 from DonLakeFlyer/JoystickSettle
Bump joystick settle constant
parents
033f52bd
a1fe69a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VehicleSetup/JoystickConfigController.cc
View file @
fdb13156
...
...
@@ -24,7 +24,7 @@ const int JoystickConfigController::_calDefaultMinValue = -32768; ///< Def
const
int
JoystickConfigController
::
_calDefaultMaxValue
=
32767
;
///< Default value for Max if not set
const
int
JoystickConfigController
::
_calRoughCenterDelta
=
500
;
///< Delta around center point which is considered to be roughly centered
const
int
JoystickConfigController
::
_calMoveDelta
=
32768
/
2
;
///< Amount of delta past center which is considered stick movement
const
int
JoystickConfigController
::
_calSettleDelta
=
1
00
;
///< Amount of delta which is considered no stick movement
const
int
JoystickConfigController
::
_calSettleDelta
=
6
00
;
///< Amount of delta which is considered no stick movement
const
int
JoystickConfigController
::
_calMinDelta
=
1000
;
///< Amount of delta allowed around min value to consider channel at min
const
int
JoystickConfigController
::
_stickDetectSettleMSecs
=
500
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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