Tello无人机开发

改造成穿越机, youtube:  https://www.youtube.com/watch?v=EugsZKwPnWg

 

 

https://github.com/dji-sdk/Tello-Python

官方Demo

readme

Tello-Python

Introduction

This is a collection of python-based sample code that interact with the Ryze Tello drone.

Project Description

This toolkit contains three sample programs based on tello sdk and python2.7,

including

Single_Tello_Test,

Tello_Video,

and Tello_Video (With_Pose_Recognition).

There is also a program file named tello_state.py.

  • Single_Tello_Test

In Single_Tello_Test,You can design a series of command combinations by writing a txt script
to let tello execute a series of actions you have designed.
This program can also be used as a command set test tool for tello.

 写TXT一系列指令让飞机执行动作,即是指令测试工具

  • Tello_Video

In Tello_Video,You can receive the video stream data from tello,
decode the video through the h264 decoding library,
and display it on a GUI interface based on Tkinter and PIL.
In addition, it also supports a control panel that can operate tello.
支持一个控制面板能操作飞机
This sample code provides an example of receiving and processing and getting the correct video data.
示例代码能提供示范:收集处理和得到正确的视频数据。
The source code of the h264 decoding library is also provided in the package, which can be used for your reference.

h264 decoding解码库在包里。

  • Tello_Video(With_Pose_Recognition)

Tello_Video_With_Pose_Recognition is an application version modified from Tello_Video.
It uses the decoded video data,and everytime extract a single frame image for pose recognition operation ,
每次提取一个单帧图片用于姿势识别。
and binds the specific posture and aircraft control commands to realize the pose control of Tello.
结合特殊姿势和飞机控制指令来实现飞机姿势控制。
This code is mainly used as an application case for utilizing the decoded video data of tello for image processing.
这个代码主要备用来作为应用案例:使用飞机的视频解码数据来做图像处理。

  • Tello_state.py

Tello_state.py can read the various status data of tello, and can be used as a tool to debug and view the status of tello.

读到飞机的不同状态数据,用于debug工具和看飞机状态。

Environmental configuration

The sample codes above are based on python2.7.
There is no need to install additional third-party libraries for running Single_Tello_Test and tello_state.py.
For Tello_Video and Tello_Video (With_Pose_Recognition), you need to install a series of third-party libraries.
Therefore, in these two folders, a one-click installation script (based on windows32/64, linux and macos) is provided, which can facilitate you with installing all relevant dependencies.

Specific to the content and description of each package, you can refer to the readme file in the related folder.

至于每个包的具体内容和描述可以参考其中的 读我

Contact Information

If you have any questions about this sample code and the installation, please feel free to contact me. You can communicate with me by sending e-mail to sdk@ryzerobotics.com.

  • 2
    点赞
  • 15
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

计算机视觉-Archer

图像分割没有团队的同学可加群

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值