User Tools

Site Tools


projects:crazyflie:pc_utils:inputdevices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:crazyflie:pc_utils:inputdevices [2013-05-31 21:42]
foosel [ESKY ET6I Remote Control]
projects:crazyflie:pc_utils:inputdevices [2020-05-12 14:29] (current)
kimberly
Line 1: Line 1:
 +<WRAP center round important 60%>
 +This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https://www.bitcraze.io/documentation/system/]]
 +</WRAP>
 +
 ====== Input-devices for the Crazyflie client ====== ====== Input-devices for the Crazyflie client ======
-The Crazyflie graphical control client needs an input-device (joystick) with a minimum of 4 analogue axis to be able to pilot the Crazyflie. The Playstation 3 controller is supported out of the box but the application supports creating new configurations that uses other controllers. This page details what controllers are supported out of the box, how to create a new configurations and how to debug problems.+The Crazyflie graphical control client needs an input-device (joystick) with a minimum of 4 analogue axes to be able to pilot the Crazyflie. The Playstation 3 controller is supported out of the box but the application supports creating new configurations that uses other controllers. This page details what controllers are supported out of the box, how to create a new configurations and how to debug problems.
  
 ===== Limitations ===== ===== Limitations =====
Line 19: Line 23:
 Below is a list of controllers and the status for different OSs. The list is far from complete so if you have more info please edit or drop us an email. Below is a list of controllers and the status for different OSs. The list is far from complete so if you have more info please edit or drop us an email.
  
-^  **Controller**  ^  **Linux USB**  ^  **Linux BT**  ^ **Win XP USB**  ^ **Win XP BT**  ^  **Win7 USB**  ^  **Win7 BT**  ^  **Mac OSX USB**  ^  **Mac OSX BT**  ^ +^  **Controller**  ^  **Linux USB**  ^  **Linux BT**  ^ **Win XP USB**  ^ **Win XP BT**  ^  **Win7 USB**  ^  **Win7 BT**  ^ **Win8 USB** ^ **Mac OSX USB**  ^  **Mac OSX BT**  ^ 
-| Playstation 3 (or copy) | Works | [[projects:crazyflie:pc_utils:inputdevices#linux_using_bluetooth|Instructions?]] | Works | [[projects:crazyflie:pc_utils:inputdevices#winxp_using_bluetooth|Instructions?]] | [[projects:crazyflie:pc_utils:inputdevices#win7_using_usb|Motion joy instructions?]] |  [[projects:crazyflie:pc_utils:inputdevices#win7_using_bluetooth|Motion joy instructions?]] | Works | [[projects:crazyflie:pc_utils:inputdevices#max_osx_using_usb|Instructions]] | +| Playstation 3 (or copy) | Works | [[projects:crazyflie:pc_utils:inputdevices#linux_using_bluetooth|Instructions]] | Works | [[projects:crazyflie:pc_utils:inputdevices#winxp_using_bluetooth|Instructions?]] | [[projects:crazyflie:pc_utils:inputdevices#win7_using_usb|Motion joy instructions?]] | [[projects:crazyflie:pc_utils:inputdevices#win7_using_bluetooth|Motion joy instructions?]] | [[http://www.wikihow.com/Set-Up-USB-Game-Controllers-on-Windows-8|Instructions]] | Works | [[projects:crazyflie:pc_utils:inputdevices#max_osx_using_usb|Instructions]] | 
-| Xbox 360 (or copy) | [[projects:crazyflie:pc_utils:inputdevices#linux_using_usb|Instructions]] | N/A | Works | N/A | Works | N/A | Not tested | Not tested |+| Xbox 360 (or copy) | [[projects:crazyflie:pc_utils:inputdevices#linux_using_usb|Instructions]] | N/A | Works | N/A | Works | N/A | Not tested | Not tested |
  
 ====== Playstation 3 controller ====== ====== Playstation 3 controller ======
 ===== Linux using Bluetooth ===== ===== Linux using Bluetooth =====
-**TODO**+[[https://help.ubuntu.com/community/Sixaxis|How to set up Sixaxis on Ubuntu]] (tested on Ubuntu 13.10)
 ===== WinXP using Bluetooth===== ===== WinXP using Bluetooth=====
 **TODO** **TODO**
Line 43: Line 47:
 ===== Linux using USB ===== ===== Linux using USB =====
  
-If you are having problems getting this to work (or you are using the wireless version) then the userspace driver ''xboxdrv'' might be needed. It can be installed (on Ubuntu) by running:+<WRAP center round tip 80%> 
 +**INFO** 
 + 
 +All modern Linux distribution now have a kernel driver for the x-box gamepad. Thus it is unlikely the //xboxdrv// user-space driver is needed. 
 +</WRAP> 
 + 
 + 
 +If you are having problems getting this to work the userspace driver ''xboxdrv'' might be needed. It can be installed (on Ubuntu) by running:
 <code> <code>
 sudo apt-get install xboxdrv sudo apt-get install xboxdrv
Line 54: Line 65:
 More info about the ''xboxdrv'' is available [[http://pingus.seul.org/~grumbel/xboxdrv/|here]]. More info about the ''xboxdrv'' is available [[http://pingus.seul.org/~grumbel/xboxdrv/|here]].
  
-====== ESKY ET6I Remote Control ====== 
- 
-{{ :projects:crazyflie:pc_utils:et6i.jpg?300|}} 
-The ESKY ET6I Remote Control is compatible to the Crazyflie as they share the same radio chipset. In order to use the RC **instead of** the Crazyflie PC Client, you'll have to compile the firmware with ''ESKYLINK'' support. You can do this in the [[projects:virtualmachine:index|VM]], just open a terminal and issue the following commands: 
- 
-<code> 
-cd ~/projects/crazyflie-firmware 
-make clean && make USE_ESKYLINK=1 CLOAD=1 all 
-</code> 
- 
-This will create a new firmware file ''cflie.bin'' that you can flash to your Crazyflie via the [[projects:crazyflie:pc_utils:qt_ui#bootloader|Bootloader in the PC client]]. 
- 
-You'll have to make some adjustments on your RC in order for this to work. First, take a look into the battery compartment of your RC. There you'll see two switches. Make sure switch 1 is set to ''on'' and switch 2 is set to ''off'' (this disables the channel mixing the RC normally applies in order to work with the helicopter models it came bundled with): 
- 
-{{:projects:crazyflie:pc_utils:et6i-battery-compartment.jpg?200|}} 
- 
-Then close the battery compartment again and take a look at the lower right front of your RC. There are four switches, one each for AILeron, ELEvator, THRottle and RUDder. You'll have to adjust these, depending on your RC's Mode. If you have a Mode 1 RC (throttle and rudder on the right stick) the correct setting is AIL-up, ELE-down, THR-up, RUD-down. If on the other hand you have a Mode 2 RC (throttle + rudder on the left stick) you'll need to set those switches to AIL-down, ELE-up, THR-down, RUD-up. 
- 
-{{:projects:crazyflie:pc_utils:et6i-switches-mode1.jpg?200|}} {{:projects:crazyflie:pc_utils:et6i-switches-mode2.jpg?200|}} 
- 
-With this done and your Crazyflie reflashed with the ESKY-enabled firmware, startup your Crazyflie, then after the steady heartbeat from the red led indicates that it's done, make sure your throttle stick is all the way down and then switch on your RC. Crazyflie and RC should now bind and your Crazyflie should react to your RC's input. 
- 
-:!: **Careful** :!: When your Crazyflie is flashed in ESKY mode, be careful to not switch on the RC when your Crazyflie is connected to the USB cable for charging. It will bind to the RC and it will react to any (accidental) RC commands you give it, including trying to fly away with the USB cable still attached. 
  
-If you want a bit more pep to your RC controlled Crazyflie((the regular ESKY mode is a bit slow-ish)) you might want to take a look at the [[https://bitbucket.org/jodell/crazyflie-firmware/commits/02d0d91811a5a9fe92f68dd008bfebe60764b7de|adjustments ''jodell'' made]] and use his repository version to compile your firmware instead. If you do this make sure to trim your throttle channel all the way down as otherwise your motors will spin even at the lowest setting. 
projects/crazyflie/pc_utils/inputdevices.1370029379.txt.gz · Last modified: 2015-07-15 16:30 (external edit)