Skip to main content

这个库可以让我们用python写Fii的无人机程序,有三视图模拟飞行的功能,模拟飞行更方便观看

Project description

Pyfii

简介

这个库的功能是可以让我们用python写Fii的无人机程序,以解决原软件无运算能力,无循环模块,一块块拖太烦等问题。

此外,这个库有三视图模拟飞行的功能,模拟飞行更方便观看。

安装

  1. 使用pip install安装

    在命令行输入

     pip install pyfii
    
  2. 下载源代码

    在命令行输入

     git clone https://github.com/Kevin0412/pyfii.git
    

    pyfii就会被下载到当前目录下,使用时将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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfii-1.2.0.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfii-1.2.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file pyfii-1.2.0.tar.gz.

File metadata

  • Download URL: pyfii-1.2.0.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for pyfii-1.2.0.tar.gz
Algorithm Hash digest
SHA256 11b06a0e07b36b1148dbec41dc96315b41da0f5859a4736d266ea68b0c67aba8
MD5 55943b81fef9e338aa9934e26859da55
BLAKE2b-256 6b09f2d0fa21f6f7cf158e56dd72d0b2836d7a1abe35a56cc938263e920ece30

See more details on using hashes here.

File details

Details for the file pyfii-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyfii-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for pyfii-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52858a852644a28d1d4cb5a0ff1816d1c5291a18336d32bee5342d8c4ac469a7
MD5 4007d9a25eb96b1e287b9fd55ec66c0f
BLAKE2b-256 a0ec53bcbe6e3a4b84241a9140d574a98d118ad8eea53c1da6c1188d33332afd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page