crazyflie-clients-python/README.md at development ·BitCraze/Crazyflie-Clients-Python ·GitHubt
一、先要安装cflib
git clone https://github.com/bitcraze/crazyflie-lib-python.git
cd crazyflie-lib-python
pip install -e .
二、从pip3安装cfclient
推荐使用下面一句话完成,速度很快:
pip install cfclient -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install cfclient
可能会跑不动,执行下面的试一试:
pip install --upgrade setuptools pip
pip install -U pdr
再执行第一部,成功:
三、运行cfclient
四、遇到的问题
在更行固件的时候需要用cfclinent ,但是我发现用pip3下载的cfclient无法更新固件,于是重新从源码下载,链接如下:
Installation Instructions | Bitcraze
git clone https://github.com/bitcraze/crazyflie-clients-python
cd crazyflie-clients-python
pip3 install -e .
在这里可能会遇到网络问题。
成功的标志: