... | ... | @@ -17,18 +17,33 @@ |
|
|
|
|
|
## CrazyFlie Installation
|
|
|
|
|
|
### crazyflie-lib-python
|
|
|
### Computer
|
|
|
|
|
|
#### crazyflie-lib-python
|
|
|
```bash
|
|
|
# git clone; cd repo
|
|
|
sudo ./setup_linux.sh
|
|
|
sudo usermod -a -G plugdev <username>
|
|
|
```
|
|
|
### crazyflie-clients-python
|
|
|
#### crazyflie-clients-python
|
|
|
```bash
|
|
|
# git clone; cd repo
|
|
|
sudo pip3 install -e .
|
|
|
```
|
|
|
|
|
|
### Raspberry Pi
|
|
|
|
|
|
#### python-serial
|
|
|
```bash
|
|
|
# Enable uart and disable the login shell.
|
|
|
sudo raspi-config
|
|
|
# Interfacing Options -> Serial -> No (login shell accessible over serial) -> Yes (serial hardware enabled)
|
|
|
# Uart should be enabled in /boot/config.txt (enable_uart=1).
|
|
|
# Add user to group dialout
|
|
|
sudo usermod -a -G dialout rna
|
|
|
sudo apt-get install python-serial
|
|
|
```
|
|
|
|
|
|
## Notes by BitCraze
|
|
|
* There are 10 x 500mAh charger in there that can be soldered together as in the picture here. There is also a 4 x charger that is probably easier to use so start with this one. Plug it into a >2A USB phone charger.
|
|
|
* The batteries are changed by lifting the R-Pi-Zero deck a bit (held by friction). When inserting the new it should be a bit more towards the back to balance the CF2.0. You can hold the small "ears" to check if it is balanced.
|
... | ... | |