Difference between revisions of "Joystick"

From PaparazziUAV
Jump to navigation Jump to search
Line 1: Line 1:
=Introduction=
A Joystick can be used to control your aircraft in the simulator or via the modem in real flight using [[Input2Ivy]].
A Joystick can be used to control your aircraft in the simulator or via the modem in real flight using [[Input2Ivy]].


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


== Calibration ==
=Calibration=
You should always calibrate your joystick, so that you have zero input when the sticks are centered, etc...
You should always calibrate your joystick, so that you have zero input when the sticks are centered, etc...


=== Debian/Ubuntu ===
==Linux==
Install the joystick and optionally the jstest-gtk packages:
Install the joystick and the jstest-gtk packages via:
  sudo apt-get install joystick jstest-gtk
 
  $ 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.
Use the graphical jstest-gtk tool (or the commandline jstest) to view/edit your joystick calibration and axis/button mappings.
  jstest-gtk
Start it via:
 
  $ jstest-gtk


Your calibration and mapping will only be lost once you unplug the joystick, so store your configuration:
Your calibration and mapping will only be lost once you unplug the joystick, so store your configuration via:
  sudo jscal-store /dev/input/js0
   
$ sudo jscal-store /dev/input/js0


If you replug your joystick the next time, udev should take care of automatically loading the appropriate configuration.
If you replug your joystick the next time, udev should take care of automatically loading the appropriate configuration.
==OSX==
Feel free to add your instructions here.
[[Category:Hardware]] [[Category:User_Documentation]]

Revision as of 18:22, 26 January 2015

Introduction

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

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.

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

Calibration

You should always calibrate your joystick, so that you have zero input when the sticks are centered, etc...

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

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

Feel free to add your instructions here.