Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Node-REDの開発事例紹介
Search
404background
August 25, 2024
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Node-REDの開発事例紹介
404background
August 25, 2024
More Decks by 404background
See All by 404background
LLM Plugin for Node-REDの利用方法と開発について
404background
0
240
3D Gaussian Splattingの環境構築(GAMMAで生成 調整前)
404background
0
110
3D Gaussian Splattingの環境構築(GAMMAで生成 調整後)
404background
0
96
Node-REDのノードの開発・活用事例とコミュニティとの関わり(Node-RED Con Nagoya 2025)
404background
0
690
3Dプリンターの使い方(Sovol 06 Plus)
404background
0
980
Node-RED MCUの活用事例とノードの開発
404background
0
760
オープンなデータ・ソフトウェアを活用した開発
404background
0
620
Other Decks in Programming
See All in Programming
The Rails Doctrine Decade
koic
2
230
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
2.9k
アクセシビリティから考える情報設計
high_g_engineer
0
380
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
310
Jetpack Compose メカニズム
skydoves
0
460
Agents on Rails - Rails at Scale 2026
irinanazarova
0
130
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
Family mrubyの進捗
kishima
1
130
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
150
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
110
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
250
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
410
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
460
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
530
We Are The Robots
honzajavorek
0
380
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
700
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
330
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
440
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
550
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Deep Space Network (abreviated)
tonyrice
0
320
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Transcript
Node-REDのノードの開発と 事例紹介 後地拓真
自己紹介 •後地(うしろじ)です • 大阪府立大学工学域機械系学類の四回生 • Node-RED MCUの補足書の執筆者です • ノードの作成について書きました •
技術的なことはホームページに書いています • 「趣味的ロボット研究所」 • https://404background.com/ https://norahack-led.booth.pm/items/5721173
いろいろやってます
①ノードの開発 ②Unreal Engine、ROSとの連携
①ノードの開発 ②Unreal Engine、ROSとの連携
Node-RED MCUについて • Node-REDでマイコンのプログラムを作成できる • ESP32系、Raspberry Pi Picoなどに対応
Node-RED MCUの課題 • Node-REDには多くのノードがある • その全てが、Node-RED MCUで使えるわけでは無い • 必要なファイルが少しだけ違う 無ければ作ればいい!
サーボモータ用のノードが無い! • パルス幅を考えないといけない! • 角度を渡したら回転してほしい!
Servoノード https://flows.nodered.org/node/@background404/node-red-contrib-mcu-servo • 角度を入力すると、計算を行ってPWM outノードに渡す
これまで作成したノード • python-venvノード • whisperノード • VoiceVoxノード • Servoノード •
Serialノード https://flows.nodered.org/user/background404
python-venvノード • Pythonのコードを実行できるノード • インストール時に仮想環境を作成 https://flows.nodered.org/node/@background404/node-red-contrib-python-venv
whisperノード • OpenAIのWhisperをローカルで実行できる • 音声ファイルから文字起こしをすることができる • 言語やモデルも選択可能 https://flows.nodered.org/node/@background404/node-red-contrib-whisper
VoiceVoxノード • voicevox_coreを利用できるノード • 文字列を渡すと、日本語の音声ファイルを出力する • 現在はWindowsのみで動作 https://flows.nodered.org/node/@background404/node-red-contrib-voicevox-core
①ノードの開発 ②Unreal Engine、ROSとの連携
Unreal EngineとROSについて • Unreal Engineはゲームエンジン • シミュレーションのグラフィック処理を行う • ROSはロボットを制御するためのソフトウェア •
制御に必要な計算を行う • 特に運動学の計算をするためMoveItを利用する ⇒組み合わせてシミュレーションを行う
Unreal Engineとの連携 • HTTP Blueprint、HTTP Remote Control APIを利用した双方向 通信が可能
ROSとの連携 • ROS Bridge、rosノードによる通信が可能 • 現状ではROSからNode-REDへの一方的な通信を確認
全体の構成 • MoveItで計算した数値を実機とUEに送信することで、同時に 操作する
Node-RED + Unreal Engine + ROS https://youtu.be/XNlZTDqnUVI
最後に • ノードを開発・公開することで、第三者が簡単に利用できる • 専門の知識が無くても利用できる • 海外の開発者からフィードバックを得られる • Node-REDはハードウェアと連携できる •
マイコン、ROS、ロボットなど • さらにシミュレーションとの連携へ
公開記事 Node-RED MCU用のノードを作成してみる その1(LINE Notify) https://404background.com/program/node-create/ Node-RED MCU用のノードを作成してみる その2(Servoノード) https://404background.com/program/node-create-2/
Node-RED MCU用のノードを作成してみる その3(Serialノード) https://404background.com/program/node-create-3/ Node-REDのノードを作成してみる その1(python-venv) https://404background.com/program/node-create-python-venv/ Node-REDのノードを作成してみる その2(whisperノード) https://404background.com/program/node-create-whisper/ Node-REDのノードを公開してみる https://404background.com/program/node-red-publish/
公開記事 WSL2を使ってみる その3(Ubuntu 20.04、ROS Noetic、Open Manipulator) • https://404background.com/program/wsl2-3/ WSL2を使ってみる その4(Ubuntu
16.04、ROS Kinetic、Open Manipulator) • https://404background.com/program/wsl2-4/ Unreal Engine 5を使ってみる その6(ロボットアーム、ブループリント) • https://404background.com/ue5/unreal-engine-5-6/ Unreal Engine 5を使ってみる その7(Open Manipulator) • https://404background.com/ue5/unreal-engine-5-7/ Unreal Engine 5を使ってみる その8(HTTP Request、Remote Control Web Interface、Node-RED) • https://404background.com/ue5/unreal-engine-5-8/ Unreal Engine 5を使ってみる その9(Remote Control API、Node-RED) • https://404background.com/ue5/unreal-engine-5-9/ WSL2のROSとWebSocket通信(ROS Bridge、Node-RED、Gazebo) • https://404background.com/program/ros-bridge/