Pyfii
简介
这个库的功能是可以让我们用python写Fii的无人机程序,以解决原软件无运算能力,无循环模块,一块块拖太烦等问题。
此外,这个库有三视图模拟飞行的功能,模拟飞行更方便观看。
安装
-
使用pip install安装
在命令行输入
pip install pyfii -
下载源代码
在命令行输入
git clone https://github.com/Kevin0412/pyfii.gitpyfii就会被下载到当前目录下,使用时将pyfii文件夹复制到项目目录下
使用教程
请见./doc/doc_zh_CN.md
目录结构说明
src/pyfii
├── cv3d
│ ├── IIID2.py
│ ├── IIID.py
│ └── transfer.py
├── drone.py
├── fii.py
├── __init__.py
├── read.py
└── show.py
项目结构(核心部分)如上图
其中cv3d是使用OpenCV实现的3d图形库
drone.py定义了Drone类,实现无人机的基本指令
fii.py定义了Fii类,保存无人机和音乐,并能将其保存为*.fii文件
read.py用来读取和转换无人机动作文件
show.py用来预览无人机飞行效果
许可证和作者
-
许可证:GNU General Public License v3 (GPLv3)
-
作者:
主要作者:github@Kevin0412
代码开发,无人机测试,编写说明文档,在bilibili.com上传演示视频等工作
次要作者:github@miaooo0000OOOO
上传模块到pypi,debug,无人机测试,写这个README
Metadata
Release files for pyfii 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyfii-1.6.0.tar.gz | 44.6 kB | Without provenance | Details for pyfii-1.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyfii-1.6.0-py3-none-any.whl | Python 3 | none | any | Details for pyfii-1.6.0-py3-none-any.whl |
Total release size: 88.8 kB
Release files / pyfii-1.6.0.tar.gz
| Download URL | pyfii-1.6.0.tar.gz |
|---|---|
| Size | 44.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d12edde2d0747ece186c4c08a77f9bc948aaee0a09bddeda445a04bb19398cc6
|
|
BLAKE2b-256 checksum How to use checksums |
3824ff40ea1fed2e1feff498c4e4ba6b61a45072451e34de77a87131548f298e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / pyfii-1.6.0-py3-none-any.whl
| Download URL | pyfii-1.6.0-py3-none-any.whl |
|---|---|
| Size | 44.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7adf719af917eeb7ad2edd23227d2358a7210b124510bab46a30358537878e9d
|
|
BLAKE2b-256 checksum How to use checksums |
84c47fbdd53dcb807d2ef0132833b2c72a3cd777e6444ccb69b1232a6741facd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for pyfii 1.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.