This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
misc:hacks:taranispython [2015-07-19 03:13] fred [Create a new model for the Taranis X9D (Plus)] |
misc:hacks:taranispython [2016-01-20 23:30] fred |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using a Taranis X9D (Plus) RC transmitter | + | ====== Using a Taranis X9D (Plus) RC transmitter |
+ | |||
+ | {{ : | ||
- | {{ : | ||
Fortunately the transmitter is able to act as an USB Joystick (see https:// | Fortunately the transmitter is able to act as an USB Joystick (see https:// | ||
Line 26: | Line 27: | ||
* Download the latest Companion application here: https:// | * Download the latest Companion application here: https:// | ||
- | ===== Configure the Python client | + | ===== Python PC client ===== |
+ | |||
+ | |||
+ | ==== Configure the Python client ==== | ||
- Turn on the Taranis | - Turn on the Taranis | ||
- Connect the Taranis with a USB cable to the PC | - Connect the Taranis with a USB cable to the PC | ||
Line 74: | Line 78: | ||
</ | </ | ||
- | ===== Use the Taranis X9D (Plus) with the Python client | + | ==== Use the Taranis X9D (Plus) with the Python client ==== |
- Before connecting to the Crazyflie, check that all axes are working (values should change in the client) | - Before connecting to the Crazyflie, check that all axes are working (values should change in the client) | ||
- **Attention: | - **Attention: | ||
- Fly the Crazyflie with the Taranis and have fun! :-D | - Fly the Crazyflie with the Taranis and have fun! :-D | ||
- | ==== Further ideas to explore | + | === Further ideas to explore === |
* Configure switches on the Taranis as buttons for emergency stop, etc. | * Configure switches on the Taranis as buttons for emergency stop, etc. | ||
* Try out dual rates and/or expo | * Try out dual rates and/or expo | ||
+ | |||
+ | ===== Android client ===== | ||
+ | |||
+ | ==== Configure the Crazyflie Android client app ==== | ||
+ | |||
+ | Here are the necessary steps to configure the Crazyflie Android client: | ||
+ | - Turn on the Taranis | ||
+ | - Connect the Taranis with a USB cable and a USB host (OTG) adapter to the Android device | ||
+ | * The Taranis screen should display a USB symbol when it's connected | ||
+ | - Check that all sticks are in center position | ||
+ | - Open the Crazyflie Android client | ||
+ | - Go to Preferences -> **Controller Settings** and switch Controller to Gamepad | ||
+ | - Go to **Gamepad axis and button mapping** and configure the following axes | ||
+ | * Right analog X axis should be AXIS_Y | ||
+ | * Right analog Y axis should be AXIS_Z | ||
+ | * Left analog X axis should be AXIS_RX | ||
+ | * Left analog Y axis should be AXIS_X | ||
+ | - Depending on the mode you are using on the Taranis (Mode 1 or 2), set the Mode in the Android app | ||
+ | * Preferences -> **Flight control settings** -> **Mode** | ||
+ | |||
+ | ==== Use the Taranis X9D (Plus) with the Crazyflie Android client ==== | ||
+ | |||
+ | - Before connecting to the Crazyflie, check that all axes are working (values should change in the Android app) | ||
+ | - **Attention: | ||
+ | - Connect to the Crazyflie 2 over BLE | ||
+ | * If you have a Crazyflie 1 you need to use a (powered) USB hub to connect both the Taranis RC transmitter and the Crazyradio USB dongle | ||
+ | - Fly the Crazyflie with the Taranis and have fun! :-D | ||