This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
misc:hacks:kinect [2013-08-19 21:11] arnaud [Yaw] |
misc:hacks:kinect [2015-07-15 16:31] 127.0.0.1 external edit |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Piloting the Crazyflie with the Kinect ====== | ====== Piloting the Crazyflie with the Kinect ====== | ||
- | This is documentation for the proof-of-concept where the Kinect is used to automatically pilot the Crazyflie. The code is available in the [[https://bitbucket.org/ | + | This is documentation for the proof-of-concept where the Kinect is used to automatically pilot the Crazyflie. The code is available in the [[https://github.com/ |
The application is intended as a proof-of-concept to show that this is possible and also to act as a starting point for anyone that wants to do some development using the Kinect and the Crazyflie. The application will probably not work out of the box for everyone since the image processing is still pretty basic and some tuning might be needed to detect the Crazyflie. | The application is intended as a proof-of-concept to show that this is possible and also to act as a starting point for anyone that wants to do some development using the Kinect and the Crazyflie. The application will probably not work out of the box for everyone since the image processing is still pretty basic and some tuning might be needed to detect the Crazyflie. | ||
Line 26: | Line 26: | ||
python setup.py install | python setup.py install | ||
</ | </ | ||
- | * Clone the crazyflie-pc-client | + | * Clone the crazyflie-clients-python |
< | < | ||
- | hg clone https://bitbucket.org/ | + | git clone https://github.com/ |
- | hg update | + | git checkout |
</ | </ | ||
* Connect your Kinect and set up the test as explained below | * Connect your Kinect and set up the test as explained below | ||
* Start the cfkinect client | * Start the cfkinect client | ||
< | < | ||
- | cd crazyflie-pc-client/bin | + | cd crazyflie-clients-python/bin |
./cfkinect | ./cfkinect | ||
</ | </ | ||
- | * The Crazyflie should now fly itself but it will probably require some tweaking... Note that as soon as the application | + | * The Crazyflie should now fly itself but it will probably require some tweaking... Note that as soon as the application |
The set-point can be moved when holding down the mouse button in the RGB window. | The set-point can be moved when holding down the mouse button in the RGB window. | ||
Line 44: | Line 44: | ||
To tweak and develop have a look at the following files: | To tweak and develop have a look at the following files: | ||
< | < | ||
- | crazyflie-pc-client/ | + | crazyflie-clients-python/ |
- | crazyflie-pc-client/ | + | crazyflie-clients-python/ |
- | crazyflie-pc-client/ | + | crazyflie-clients-python/ |
</ | </ | ||
Line 78: | Line 78: | ||
The regulation has to be improved. | The regulation has to be improved. | ||
+ | |||
+ | Better result could be achieved by calibrating the kinect(?). |