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
M5Stack x ROS2
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
anoken
March 13, 2019
Technology
2.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
M5Stack x ROS2
anoken
March 13, 2019
More Decks by anoken
See All by anoken
ModuleLLM、最前線!
anoken
1
360
Pulsar2 を雰囲気で使ってみよう
anoken
0
730
Maix/M5StickVで見守る技術
anoken
0
640
M5StickVで見守る技術
anoken
0
1.1k
家庭の平和とM5Cameraと技術書典6
anoken
1
660
M5Stack+rosserial (ROS Japan UG #24 )
anoken
1
1.9k
Other Decks in Technology
See All in Technology
データサイエンスを価値につなげるプロジェクト設計 〜 DS一年目が現場で得た気づき 〜
ysd113
1
250
AGENTS.mdとSkillsで始めるAIエージェント活用
sonoda_mj
3
220
ルールやカスタム機能、どう活かす?ハンズオンで体感するIBM Bobの出力コントロール
muehara
1
170
失敗を資産に変えるClaude Code
shinyasaita
0
670
プロダクト開発から業務改善コンサルまで。事業全体へ「染み出す」ことで広がるエンジニアの可能性
ham0215
0
130
自律型AIエージェントは何を破壊するのか
kojira
0
160
新しいVibe Codingと”自走”について
watany
6
330
2026TECHFRESH畢業分享會 - 原生還是跨平台? App 開發踩坑實錄
line_developers_tw
PRO
0
1.1k
小さくはじめるSLI/SLO ~育てながら組織に定着させる実践知~ / Starting Small with SLI/SLOs: Building Adoption Through Continuous Growth
nari_ex
7
1.9k
小さく始める AI 活用推進 ― 日経電子版 Web チームの事例/nikkei-tech-talk47
nikkei_engineer_recruiting
0
270
不要なレビューをAIにまかせて AIコーディングの環境改善を加速した
shoota
1
130
SONiCで構築・運用する生成AI向けパブリッククラウドネットワーク ~実装編~
sonic
0
220
Featured
See All Featured
Are puppies a ranking factor?
jonoalderson
1
3.5k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
470
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
250
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
270
Why Our Code Smells
bkeepers
PRO
340
58k
The Cost Of JavaScript in 2023
addyosmani
55
10k
The Invisible Side of Design
smashingmag
302
52k
Agile that works and the tools we love
rasmusluckow
331
21k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Building AI with AI
inesmontani
PRO
1
1.1k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
230
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.4k
Transcript
M5Stack x ROS2
M5Stack x ROS2 の前に
None
5 5 5cm 5cm M5Stackは、 EspressifのESP32に、 ディスプレイ、スピーカー、をつけて、 電源を樹脂のケースに入れたもの。
Q: M5Stack 小さいディスプレイとスピーカ があります。 何に使いますか? 何に使いますか?
None
None
プリン・ア・ラートの歴史 2017年10月ごろ 2018年4月ごろ
None
None
None
None
None
ROS2 library for Arduino ROS2 library for Arduino ROBOTISのKyung-Wan Ki
(@OpusK )氏 が開発中のライブラリ https://github.com/ROBOTIS-GIT/ros2arduino/
Micro-XRCE-DDSを介して、 M5Stack(ESP32)とROS2が繋がる
$ git clone https://github.com/eProsima/Micro-XRCE-DDS-Agent.git $ cd Micro-XRCE-DDS-Agent $ mkdir build
&& cd build $ cmake -DTHIRDPARTY=ON -DCONFIG_UDP_TRANSPORT_MTU=4096 - $ mkdir -p ~/ros2_ws/src $ cd ~/ros2_ws $ wget https://raw.githubusercontent.com/ros2/ros2/release-latest/ros2.repos $ vcs import src < ros2.repos $ sudo rosdep init $ rosdep update $ rosdep install --from-paths src --ignore-src --rosdistro crystal -y --skip-keys "console_b $ cd ~/ros2_ws/ $ colcon build --symlink-install --packages-ignore qt_gui_cpp rqt_gui_cpp $ cmake -DTHIRDPARTY=ON -DCONFIG_UDP_TRANSPORT_MTU=4096 - DCONFIG_SERIAL_TRANSPORT_MTU=4096 .. $ sudo make install $ sudo ldconfig /usr/local/lib/
None
$ MicroXRCEAgent udp 2018 Agentの起動 ArduinoIDEでの書き込み void publishString_x(std_msgs::Int16* msg, void*
arg) { (void)(arg); msg->data = IMU.ax *1000; } class StringPub : public ros2::Node { public: StringPub(): Node() { ros2::Publisher<std_msgs::Int16>* publisher_x = ros2::Publisher<std_msgs::Int16>* publisher_x = this->createPublisher<std_msgs::Int16>("acc"); this->createWallFreq(PUBLISH_FREQUENCY, (ros2::CallbackFunc)publishString_x, NULL, publisher_x); }}; void setup() { ros2::init(&udp, AGENT_IP, AGENT_PORT); } void loop() { ros2::spin(&StringNode); }
M5Stack->wifi->ros2へpublish->rqt2 rqt_plot https://youtu.be/rx6fg5okXl4
動画の見た目一緒だけど、裏では ・通信がとても速い・動作軽量化 (vs ROS1 rosserial) ・ ESP(Arduino)複数つなげられる(vs ROS1 rosserial=1台) ・
roscore不要(但し、ros2はDDSのAgentServer起動にUbuntuは必要)
None
None
twitter :@anoken2017