使用python构建数据库_使用Python构建(半)自主无人机

使用python构建数据库

They might not be delivering our mail (or our burritos) yet, but drones are now simple, small, and affordable enough that they can be considered a toy. You can even customize and program some of them via handy dandy Application Programming Interfaces (APIs)! The Parrot AR Drone has an API that lets you control not only the drone’s movement but also stream video and images from its camera. In this post, I’ll show you how you can use Python and node.js to build a drone that moves all by itself.

他们可能还没有交付我们的邮件( 或我们的墨西哥卷饼 ),但是无人机现在非常简单,小巧且价格适中,因此可以视为玩具。 您甚至可以通过方便的花哨的应用程序编程接口( API )对其中的一些进行自定义和编程! 派诺特AR无人机具有API,该API不仅使您可以控制无人机的运动,还可以从其摄像头中传输视频和图像。 在本文中,我将向您展示如何使用Python和node.js构建可自行移动的无人机。

Hold onto your butts.

抓住你的屁股。

该项目 (The Project)

So given that I’m not a drone, or a machine vision professional, I’m going to have to keep things simple. For this project, I’m going to teach my drone how to follow a red object.

因此,鉴于我不是无人驾驶飞机或机器视觉专业人士,我将必须保持简单。 对于这个项目,我将教无人机如何跟随红色物体

I know, I know, it’s a far cry from a T-800 Model 101 (or even something like this), but given my time and budget constraints it’s a good place to start! In the meantime, feel free to send your best autonomous terminators or drone swarms my way.

我知道,这与T-800 101型( 甚至是类似的东西 )相去甚远,但是鉴于我的时间和预算限制,这是一个不错的起点! 同时,请随时发送您最好的自动终结器或无人驾驶的无人机群。

No neural net processors here, just node.js and Python.

这里没有神经网络处理器,只有node.js和Python。

无人机 (The Drone)

When I opened my drone on Christmas morning I wasn’t entirely sure what I was going to do with it, but one thing was for certain: This thing was cool. The AR Drone 2.0 (I know super lame name) is a quadcopter. If you’re imagining those fit in the palm of your hand, single-rotor, RC gizmos, you’re in the wrong ballpark. The first thing I noticed (and was most surprised by) was how big the AR Drone is. With its “indoor shell” on, it’s about 2 feet wide, 2 feet long, and 6 inches high. It’s also kind of loud–in a good way (like a terrify your dog kind of way, unlike this down to drone pup). Combine that with 2 cameras–one front and one bottom, and you’ve got yourself the ultimate grown up geek toy.

在圣诞节早晨打开无人机时,我不确定自己要怎么做,但是可以肯定的是,有一件事情很酷。 AR Drone 2.0 (我知道超级la脚的名字)是一个四轴飞行器。 如果您正在想象那些适合您的手掌,单转子,RC小物件,那您就错了。 我注意到的第一件事(最让他感到惊讶的是)AR Drone有多大。 启用“室内外壳”后,它大约2英尺宽,2英尺长,6英寸高。 它也很响亮-很好(就像吓坏狗一样,不像无人机那样)。 将其与2个摄像头(一个前置和一个底部)结合使用,

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值