• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

wesbos/javascript-drones

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

wesbos/javascript-drones

开源软件地址:

https://github.com/wesbos/javascript-drones

开源编程语言:

JavaScript 100.0%

开源软件介绍:

JavaScript Drones!

Watch the videos:

Part 1 → https://www.youtube.com/watch?v=JzFvGf7Ywkk

Part 2 → https://www.youtube.com/watch?v=ozMwRq-IT2w

⚠️️️ ⚠️ ️️⚠️️️ Use the codebase as your own risk. The drone can hurt you and I'm not responsible for that. Always test commands with the props removed first. Don't be dumb. ⚠️️️ ⚠️️️ ⚠️️️

Flying a Drone with React and Node.js

IBM is giving away 2,000 DJI Tello drones as part of a contest and I made this video to help them promote it.

Software Used

  • React (with React Hooks!)
  • Styled Components for styling
  • Node.js and UDP4 sockets for communicating with drone
  • Socket.io WebSockets for sending data to/from the browser
  • Next.js for easy react setup

Hardware Used

Using This Code

Frontend

  1. cd frontend
  2. npm install
  3. npm run dev

Backend

  1. cd backend
  2. npm install
  3. connect to drone via wifi
  4. npm start

Troubleshooting

Docs for Tello are available here

I had to update the firmware of my drone when it came in the mail before I could use this 1.3 API. Do this via the Tello app on your phone.

If you let the drone's WIFI connection lapse, you have to restart the server by typing rs into the terminal. This will re-run the command command that puts the drone in SDK mode. If you don't do this, it will ignore any commands you send it.

License — WTFPL

I want you to build cool stuff with this.

Please hack on it and make your own cool things.

Examples & Resources




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
amigoscode/javascript发布时间:2022-06-23
下一篇:
caelum/vraptor: Simple Java Web MVC Framework发布时间:2022-06-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap