You are on page 1of 2

**USING HIFIVE1 BOARD**

- Followed setup instructions on website


- Error:
An error occurred while uploading the sketch
dyld: Library not loaded: /usr/local/opt/libusb-compat/lib/libusb-0.1.4.dylib
Referenced from:
/Users/pong/Library/Arduino15/packages/sifive/tools/openocd/b474c22b33be7fa4969c0df
a9ccf172ce1bab5d0/bin/openocd
Reason: image not found
- Had to get libusb from internet
- Didn't work. Couldn't find correct version for correct architecture
- Tried SDK
- Realized it's meant for linux, not mac.
- Works on Linux: Arduino IDE

**CRAZYFLIE 2.0**
5/29 5pm
Assembled using tutorial: https://www.bitcraze.io/getting-started-with-the-
crazyflie-2-0/
Tested out using phone app
Tested too quickly. Fell out of the sky. Broke a motor mount.
**RECOMMEND REMOVE PROPELLERS BEFORE FIRST START**
**OR HOLD IT TIGHT**
Test on MacOS: https://github.com/bitcraze/crazyflie-clients-
python/blob/master/README.md
SETUP:
Ran into error at: % brew install pyqt5
parent directory is world writable but no sticky
ran % sudo chmod +t /private/tmp
cfclient runs
Test using VM
Install virtualbox extension pack
Runs.
Mangaged to interface with spare ps3 controller
Signal drops

7pm
Keeps getting connection error on both mac & VM after motor start
```
WARNING:cflib.crazyflie:Got link error callback [Too many packets lost] in state
[1]
INFO:cflib.crazyflie:Callback->Connected failed to [radio://0/80/250K]: Too many
packets lost
INFO:cflib.crazyflie:Closing link
```
Solution here:
https://wiki.bitcraze.io/projects:crazyflie:userguide:troubleshooting#the_radio_rec
eption_is_bad_and_or_i_get_a_lot_of_too_many_packages_lost_messages
**EDIT RADIO SETTINGS. SET TO 2Mbit/s**

6/5 GETTING PYTHON LIBRARY TO WORK


- On macOS: install cflib by (in crazyflie-lib folder) % python3 setup.py install

GOAL: write a python script that:


1. Connects to the first CF it sees
2. Prompts user for : motor# power
3. Send that data

6/25 TRANSLATING EVERYTHING TO C


Found: https://github.com/fairlight1337/libcflie

Arduino:
FOund: https://bitbucket.org/tbitson/crazyflie-arduino-controller

**CONCURRENCY LABS**
Tested out blink.
Works on 1.6.4. Still doesn't work on newer versions.
Implemented p1 of problem set

You might also like