Crazyflie Keyboard Control - A simple approach
Posted: Tue Dec 30, 2014 11:53 am
For those who hate buying an XBox/PS controller/Joystick,for those who wanna just fly the quad right after unboxing (but do not have a recommended input device-like me ) for those who played flight simulator games like Tom Clancy's H.A.W.X on a PC keyboard and for those who wanna feel like flying the quadcopter from your PC keyboard, you've come to the right place. The method I followed to set up such a thing is very simple - involves NO coding, scripting,etc. You just get to fly it off the shelf!!! So lets get started, I'll walk you through...
STEP 1: Download and Install "VJoy". VJoy is a free gamepad simulation software that gives you the freedom to map gamepad control to keyboard buttons, cool huh?
download link: http://www.headsoft.com.au/download/pc/VJoySetup.exe
or follow the instructions at http://www.headsoft.com.au/index.php?category=vjoy
STEP 2: Once done installing VJoy, you can start configuring your custom controls, say for example, the one shown in my screenshot , scrn1 STEP 3: Okay, now for the next step, open the Crazyflie PC Client and go to Input Device > Device and make sure you have selected the appropriate device, as shown in screenshot 2 STEP 4: Configure the device on crazyflie PC client, go to input device > mappings > PS4_mode1_windows. Then go to input device>configure device mapping and configure the device as per instructions from the window. Make sure the correct device and corresponding mapping is selected.
Congratulations, you are now ready to fly the crazyflie via keyboard!!!
STEP 1: Download and Install "VJoy". VJoy is a free gamepad simulation software that gives you the freedom to map gamepad control to keyboard buttons, cool huh?
download link: http://www.headsoft.com.au/download/pc/VJoySetup.exe
or follow the instructions at http://www.headsoft.com.au/index.php?category=vjoy
STEP 2: Once done installing VJoy, you can start configuring your custom controls, say for example, the one shown in my screenshot , scrn1 STEP 3: Okay, now for the next step, open the Crazyflie PC Client and go to Input Device > Device and make sure you have selected the appropriate device, as shown in screenshot 2 STEP 4: Configure the device on crazyflie PC client, go to input device > mappings > PS4_mode1_windows. Then go to input device>configure device mapping and configure the device as per instructions from the window. Make sure the correct device and corresponding mapping is selected.
Congratulations, you are now ready to fly the crazyflie via keyboard!!!