An OSC server to control crazyflies
NOTE : OSC documentation in the project wiki
-
Drone connection
-
Sending 3D position setpoints
-
LPS configuration
-
Drone param system
-
Drone logging system
-
OSC debugging system
-
Unit tests
-
Sphinx documentation
- install git, python3, pip3
- install virtualenv (pip package)
- clone this repository
- create a new virtualenv and activate it
- install python dependencies
pip3 install -r requirements
- download this file as a .bat file
- run it as admin. (If they ask you things and you don't know what to do, use the defaults)
- install the crazyradio drivers :
- plug in the radio
- run zadig (win+r, then type zadig, then enter)
- select the crazyradio
- select the libusb-win32 driver
- click on "install driver"
- repeat for each radio
- run the server
cd src; ./server.py
- run the file name
run.bat
In order to use (or manually test) this project, you should use my Unity3D client.
No unit tests are currently present, but manual test client and server are present.
-
run both of them :
cd manual_tests; ./test_client.py
andcd manual_tests; ./test_server.py
-
write commands in the test_client console.
-
alternatively, you can run
./test_client.py --file full_run.py
in order to execute a pre-planned connection (you will need changes in order to accomodate to your setup)