安装指定espdrone的cflib

890 2023-04-20 20:49

git clone -b esp-drone git@gitee.com:bakecool/crazyflie-lib-python.git

cd D:\tmp\leeebo-espdrone-crazyflie-lib-python-esp-drone\crazyflie-lib-python

pip install -r requirements.txt

pip install -e .

 

 

git clone -b esp-drone git@gitee.com:bakecool/crazyflie-clients-python.git

cd D:\tmp\leeebo-espdrone-crazyflie-lib-python-esp-drone\crazyflie-clients-python

pip install -e .

python ./bin/cfclient

 

Downloading SDL2 from https://www.libsdl.org/release/SDL2-2.0.4-win32-x86.zip ...
Unziping SDL2.dll in src/cfclient/third_party

https://github.com/libsdl-org/SDL/releases/tag/release-2.26.5 找 SDL2-2.26.5-win32-x64.zip

 

 

在解决了pyqt5的QtGui升级QtWidgets问题、并安装了SDL2-2.26.5-win32-x64之后,QActionGroup去掉了exclusive=True,我成功运行起了for espdrone的配套的cflib和cfclient。但是我不知道如何去连接udp://192.168.43.42.如果我用笔记本的wifi去连接飞机的wifi,scan不到,如果我用自己的局域网192.168.5.*,我不理解udp如何能把信号传递过来。求指点。

 

python cfbridge.py

 


pip install -U 模块名

pip show 模块名

pip install setuptools==65.6.3

python -m pip install  --upgrade pip==23.1.1

 

(espdrone) D:\tmp\leeebo-espdrone-crazyflie-lib-python-esp-drone\crazyflie-lib-p
ython>pip show setuptools
Name: setuptools
Version: 65.6.3
Summary: Easily download, build, install, upgrade, and uninstall Python packages

Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License:
Location: d:\programdata\anaconda3\envs\espdrone\lib\site-packages
Requires:
Required-by:

 

D:\Espressif\python_env\idf4.4_py3.8_env\Scripts>python -m pip install --upgrade pip setuptools wheel

 

全部评论

·