You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation/install.md
+19-49Lines changed: 19 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,22 @@ page_id: install
7
7
8
8
This project requires Python 3.7+.
9
9
See below sections for more platform-specific requirements.
10
-
## Development
11
-
### Developing for the cflib
12
-
*[Fork the cflib](https://help.github.com/articles/fork-a-repo/)
13
-
*[Clone the cflib](https://help.github.com/articles/cloning-a-repository/), `git clone git@github.com:YOUR-USERNAME/crazyflie-lib-python.git`
14
-
*[Install the cflib in editable mode](http://pip-python3.readthedocs.org/en/latest/reference/pip_install.html?highlight=editable#editable-installs), `pip install -e path/to/cflib`
15
-
16
-
17
-
*[Uninstall the cflib if you don't want it any more](http://pip-python3.readthedocs.org/en/latest/reference/pip_uninstall.html), `pip uninstall cflib`
Note: If you are developing for the cflib you must use python3. On Ubuntu (20.04+) use `pip3` instead of `pip`.
20
28
@@ -34,9 +42,6 @@ you can skip this section.
34
42
35
43
* To deactivate the virtualenv when you are done using it `deactivate`
36
44
37
-
Note: For systems that support [make](https://www.gnu.org/software/make/manual/html_node/Simple-Makefile.html), you can use `make venv` to
38
-
create an environment, activate it and install dependencies.
39
-
40
45
#### Install cflib dependencies
41
46
Install dependencies required by the lib: `pip install -r requirements.txt`. If you are planning on developing on the lib you should also run: `pip install -r requirements-dev.txt`.
42
47
@@ -61,47 +66,12 @@ For information and installation of the
61
66
Note: Docker and the toolbelt is an optional way of running tests and reduces the
62
67
work needed to maintain your python environment.
63
68
64
-
### Native python on Linux, OSX, Windows
65
-
[Tox](http://tox.readthedocs.org/en/latest/) is used for native testing: `pip install tox`
66
-
* If test fails after installing tox with `pip install tox`, installing with `sudo apt-get install tox`result a successful test run
67
-
68
-
* Test package in python3.4 `TOXENV=py34 tox`
69
-
* Test package in python3.6 `TOXENV=py36 tox`
70
-
71
-
Note: You must have the specific python versions on your machine or tests will fail. (ie. without specifying the TOXENV, `tox` runs tests for python 3.3, 3.4 and would require all python versions to be installed on the machine.)
72
-
73
-
74
69
## Platform notes
75
70
76
71
### Linux
77
72
78
-
#### Setting udev permissions
79
-
80
-
The following steps make it possible to use the USB Radio without being root.
73
+
With linux, the crazyradio is easily recognized, but you have to setup UDEVpermissions. Look at the [usb permission instructions](/docs/installation/usb_permissions.md) to setup udev on linux.
81
74
82
-
```
83
-
sudo groupadd plugdev
84
-
sudo usermod -a -G plugdev $USER
85
-
```
75
+
### Windows
86
76
87
-
You will need to log out and log in again in order to be a member of the plugdev group.
88
-
89
-
Create a file named ```/etc/udev/rules.d/99-crazyradio.rules``` and add the
You can reload the udev-rules using the following:
104
-
```
105
-
sudo udevadm control --reload-rules
106
-
sudo udevadm trigger
107
-
```
77
+
Look at the [Zadig crazyradio instructions](https://www.bitcraze.io/documentation/repository/crazyradio-firmware/master/building/usbwindows/) to install crazyradio on Windows
0 commit comments