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
Rubyでmicro-ROS!
Search
Katsuhiko Kageyama
September 09, 2025
Technology
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rubyでmicro-ROS!
Katsuhiko Kageyama
September 09, 2025
More Decks by Katsuhiko Kageyama
See All by Katsuhiko Kageyama
同人誌とVMづくり
kishima
1
66
Tab5をRubyで動くパソコンにする
kishima
2
450
Family mrubyの進捗
kishima
1
160
PicoRuby as a Multi-VM Operating System
kishima
1
570
PCとPicoRuby-ESP32間でシリアルファイル転送
kishima
1
65
M5UnifiedとPicoRubyで楽しむM5シリーズ
kishima
0
660
mruby(PicoRuby)で ファミコン音楽を奏でる2
kishima
1
290
mruby(PicoRuby)で ファミコン音楽を奏でる
kishima
2
870
PicoRuby/R2P2で自分だけのコンピュータを作ろう
kishima
1
850
Other Decks in Technology
See All in Technology
Microsoft Entra Kerberos で実現するクラウド デバイス管理
tamaiyutaro
2
660
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
600
内製アプリとClaudeスキルのセキュリティチェック、 Backlogの課題で回しています。
ayaka_egaaa
0
160
詳解 never 型 - ボトム型の性質を深掘り
nealle
0
160
Cloudflareの向き先
chimame
1
150
プロダクションコードにおける encoding/json から encoding/json/v2 へのスムーズな移行
sansantech
PRO
1
230
DBTS2026 盛り上がってますか!?Databricksが実現するAI時代のデータ基盤
akuwano
1
200
AIコーディングはじめました
miso
0
160
Software Engineering in an AI-Driven World
erikjhordan_rey
0
130
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
200
eBPF 簡介 2026 版
shunghsiyu
0
190
会社説明資料_最新版
demaecan
0
32k
Featured
See All Featured
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
980
Docker and Python
trallard
47
4.3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
670
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Discover your Explorer Soul
emna__ayadi
2
1.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
GraphQLとの向き合い方2022年版
quramy
50
15k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
The untapped power of vector embeddings
frankvandijk
2
2k
Transcript
Rubyで micro-ROS! 2025/9/9 ROSConJp2025 影山勝彦
自己紹介 普段は @kishima で活動 (株)アプトポッド所属 組み込み系エンジニア プレイングマネージャ業 mruby好き 電子工作好き 2
最近のお仕事 3 四足歩行ロボを利用した ソリューション開発 自立走行ロボットの管理
“ Rubyが好きだ RubyでROS使いたい
これ動かしたい 5 myCobot280 安価な6軸ロボットアー ム ROS対応
Rubyで書きたい すでにあった! • rclrb (ROS Client Library for Ruby) ◦
CRubyでROSの基本機能にアクセスできる ◦ 昨年あたり公開されていた 6
組み込み向けRuby = mrubyでも動かしてみたい 7 X
開発 今回作るものについて 8
全体の構成 9
開発時のポイント • micro-ROSのESP32向けが最新のSDKでビ ルドエラー対応必要 • mruby_esp32_microrosの実装 ◦ mruby向けのC言語バインディング 10
mruby-esp32-microros micro-ROSのmrubyラッパー コード:https://github.com/kishima/micro-ros-mruby 11
I2Cの利用 12 • I2Cの初期化 • I2Cでデータを読み出すメソッド定義
コントローラ状態を読んでROSトピックを送信 13 • 10Hz程度の周期でコント ローラの信号Read • ROS Topic 送信
myCobot280をROSで制御する 14
15 パフォーマンス 少なくとも30Hzくらいでトピック送信 (ros2 topic hz /joyコマンド) 上限は未確認だが100Hz程度では動けるはず
16 今後の課題課題 • myCobot280思った通りに動かしたい • rcl APIをどうRubyらしく使えるようにするか ◦ Subscription:コールバックに素早く応答 ◦
メッセージ型をどうダイナミックに扱うか • ROSのパッケージ群活かしたい ◦ navigation, moveit
17 Thank you! 何か聞きたいことあればお気軽に X, github : @kishima