A Joystick can be used to control your aircraft in the simulator or via the modem in real flight using [[Input2Ivy]].

+

=Introduction=

+

A Joystick can be used to control your aircraft in the simulator or via the modem [[Subsystem/radio_control#Datalink|using radio_control type datalink]] in real flight using [[Input2Ivy]].

+

+

'''Note:''' Currently (Feb 2016) [[Input2Ivy]] accesses Linux joystick drivers in a way that the sticks are read with deadband. Using [https://github.com/Grumbel/jstest-gtk jstest-gtk] shows the correct values without deadband. Having the deadband makes a flight with a quadcopter very difficult, because the micro-adjustments are not possible. Fixedwing should be fine, because it has slower dynamics. Tested with [https://github.com/opentx/opentx/wiki/OpenTX-USB-Joystick Taranis 9xd].

+

+

==Examples==

Here a regular gaming pad, perfectly capable to control your aircraft when in manual or assisted flight

Here a regular gaming pad, perfectly capable to control your aircraft when in manual or assisted flight

−

Here and example of an Joystic that look like an RC transmitter, but jst is an USB connected Joystick.

You should always calibrate your joystick. By calibrating you make sure that your Joystick is not sending steering commanding values; while it should not when the steering sticks are in neutral position.

Introduction

Note: Currently (Feb 2016) Input2Ivy accesses Linux joystick drivers in a way that the sticks are read with deadband. Using jstest-gtk shows the correct values without deadband. Having the deadband makes a flight with a quadcopter very difficult, because the micro-adjustments are not possible. Fixedwing should be fine, because it has slower dynamics. Tested with Taranis 9xd.

Examples

Here a regular gaming pad, perfectly capable to control your aircraft when in manual or assisted flight

Logitech Extreme 3D_Pro Joystick

Here and example of an Joystick that looks like an RC transmitter, but is just an USB connected Joystick. Handy for quick tests, and for ER 13, why not add one to you Paparazzi toolset?

Hk 6channel RC transmitterlook joystick via USB

Hk 6channel RC transmitterlook joystick via USB closeup

Here a real RC transmitter connected via trainer port to your PC to be used as a Joystick

NES gamepads via USB

Also supported are USB based Nintendo gamepad controllers useful when flying in NAV/GUIDED modes

Quick test

If plugged in, under Linux a quick test to see if the device is recognized via:

$ dmesg

Although the message is a little different for every joystick type, it should display something like this in last lines:

Joystick Calibration

You should always calibrate your joystick. By calibrating you make sure that your Joystick is not sending steering commanding values; while it should not when the steering sticks are in neutral position.

Linux

Install the joystick and the jstest-gtk packages via:

$ sudo apt-get install joystick jstest-gtk

Use the graphical jstest-gtk tool (or the commandline jstest) to view/edit your joystick calibration and axis/button mappings.
Start it via:

$ jstest-gtk

Store the calibration

Your calibration and mapping will only be lost once you unplug the joystick, so store your configuration via:

$ sudo jscal-store /dev/input/js0

If you replug your joystick the next time, udev should take care of automatically loading the appropriate configuration.

OSX

Whether you are running on Mac OS X or Linux, the test_stick tool provides the ability to profile a joystick device.