Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Node-REDでTelloを動かすノードを作ってみた
Search
KMiura
January 20, 2021
Technology
0
350
Node-REDでTelloを動かすノードを作ってみた
2020.1.20 ビジュアルプログラミングIoTLT vol6
https://iotlt.connpass.com/event/196674/
KMiura
January 20, 2021
Tweet
Share
More Decks by KMiura
See All by KMiura
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
1k
Amazon Rekognitionを使ったインターホンハック
miura55
0
60
Pythonでルンバをハックしてみた
miura55
0
130
あなたの知らないクラフトビールの世界
miura55
0
320
Storage Browser for Amazon S3を触ってみた + α
miura55
0
180
Cloudflare R2をトリガーにCloudflare Workersを動かしてみた
miura55
0
190
あのボタンでつながるSORACOM
miura55
0
120
Postman Flowsで作るAPI連携LINE Bot
miura55
0
360
Lambdaと共に歩んだAWS
miura55
3
790
Other Decks in Technology
See All in Technology
Delta airlines®️ USA Contact Numbers: Complete 2025 Support Guide
airtravelguide
0
340
20250707-AI活用の個人差を埋めるチームづくり
shnjtk
6
3.9k
IPA&AWSダブル全冠が明かす、人生を変えた勉強法のすべて
iwamot
PRO
2
160
United™️ Airlines®️ Customer®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedguide
0
170
How Do I Contact HP Printer Support? [Full 2025 Guide for U.S. Businesses]
harrry1211
0
120
ビズリーチにおけるリアーキテクティング実践事例 / JJUG CCC 2025 Spring
visional_engineering_and_design
1
130
MUITにおける開発プロセスモダナイズの取り組みと開発生産性可視化の取り組みについて / Modernize the Development Process and Visualize Development Productivity at MUIT
muit
2
17k
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
130
データ基盤からデータベースまで?広がるユースケースのDatabricksについて教えるよ!
akuwano
3
120
Delegating the chores of authenticating users to Keycloak
ahus1
0
160
Glacierだからってコストあきらめてない? / JAWS Meet Glacier Cost
taishin
1
170
LLM時代の検索
shibuiwilliam
2
300
Featured
See All Featured
Bash Introduction
62gerente
613
210k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
6
310
The World Runs on Bad Software
bkeepers
PRO
69
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
The Invisible Side of Design
smashingmag
301
51k
Statistics for Hackers
jakevdp
799
220k
Making Projects Easy
brettharned
116
6.3k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
GraphQLとの向き合い方2022年版
quramy
49
14k
Transcript
Node-REDでTelloを動かすノードを 作ってみた KMiura(@k_miura_io)
自己紹介 • 三浦 耕生(こうき) • 名古屋のゲーム会社 のサーバーエンジニア @k_miura_io koki.miura05
宣伝 • TelloをNode-REDを動かすための自作ノードを公開 • Telloお持ちの方はぜひお試しを! • Special thanks @Zakkiea さん
again https://flows.nodered.org/node/node-red-contrib-tello
今日はこの話
背景 • Scratchを使ってTelloを操作し たときにふとNode-REDでも やってみたいと思った
最初に試したこと • Node-REDのUDP ノードを使ってコマンド を送信 • 手動で操作するならい いかもしれないけど自 動でフライトさせようと すると工夫が必要
ありものだけだともの足りん
作ってみた
開発環境 • Windows10 • Docker(Node-REDイメージ) • Raspberry Pi(公開したノードのダウンロード、動作テスト用)
要件定義 • Scratch版で提供している機能(takeoff, land, etc.)は最低限実装 • コマンドの実行結果を出力されるようにする • バッテリー残量、機体の温度なども出力されるようにする
基本動作 • UDP送信を行う関数を用意してTelloに送信し ている • Scratchと連携するときに使ったNode.jsコー ドを参考
ステータス • Promiseを使ってレスポンスを取得 できるようにした • 力技だが本体に問題がなければ ちゃんと値が取れる • 他の方法あるぞ!という方はissue かPRを
DEMO
いざというときのための動画w https://youtu.be/dHfa1Lx3pFY
Scratch版との違い Scratch Node-RED 実行環境 Scratch2.0とNode.js Node.js デバッグ 不可(Node.jsのサーバーサイドでは可) 可 ステータスの
取得 不可 可 カメラ連携 不可 不可(V2で実装予定)
今後の展望 • カメラ連携をできるようにする • 連携サンプルを増やしていく
今回紹介したノードについて https://supernove.hatenadiary.jp /entry/2020/12/16/004621 https://github.com/Miura55/nod e-red-contrib-tello Blog Github
END