Crazyflie的开发

本文翻译自https://www.bitcraze.io/documentation/tutorials/getting-started-with-development/

准备

在Ubuntu 20.04跑crazyflie client(一个GUI的应用程序)

在Linux系统上可以直接通过执行crazyflie-client-python源代码来运行crazyflie client,那么我们首先需要获取源代码:

git clone https://github.com/bitcraze/crazyflie-clients-python.git

其次安装python3, pip, pyqt5:

sudo apt-get install python3 python3-pip python3-pyqt5 python3-pyqt5.qtsvg

最后打开刚刚git clone的crazyflie-client-python源代码的路径,安装crazyflie client:

cd crazyflie-clients-python
pip3 install -e .

安装完成之后,继续保持在crazyflie-client-python源代码的路径下,启动crazyflie-client:

python3 bin/cfclient

或者重启之后直接在terminal运行:

cfclient

1 Comment

Leave a Comment