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
M5Stack x ROS2
Search
anoken
March 13, 2019
Technology
2.4k
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
420
Pulsar2 を雰囲気で使ってみよう
anoken
0
810
Maix/M5StickVで見守る技術
anoken
0
660
M5StickVで見守る技術
anoken
0
1.2k
家庭の平和とM5Cameraと技術書典6
anoken
1
680
M5Stack+rosserial (ROS Japan UG #24 )
anoken
1
2k
Other Decks in Technology
See All in Technology
You Have Agency(サンキュー、Ruby)
snoozer05
PRO
4
610
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
5
2.5k
SLOを阻む不安
sraku2159
0
150
Lint の層を組み直した話
bengo4com
2
250
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
180
【Oracle AI SPOTLIGHT ウェビナー】事例から見る!なぜOCIが選ばれたのか ― AI時代のクラウド戦略を紐解く ―
oracle4engineer
PRO
1
140
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
670
[FECONF-2026] 신대륙을 향한 카카오페이증권 프론트엔드 항해기 (이주승)
l1ghthouse
0
320
ポケモン対戦を自動で記録して振り返ろう
fufufukakaka
0
420
"計画的無茶振り"を通してAIネイティブ世代の新人を育てる
subroh0508
1
130
アクセラレーターで実現するServiceNow活用の高速化 / ServiceNow World Forum 2026
visional_engineering_and_design
0
100
キヨさん67歳 AIコーディングエージェント物語
happysamurai294
0
130
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
380
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
310
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
960
Marketing to machines
jonoalderson
1
5.9k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
320
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
How to Ace a Technical Interview
jacobian
280
24k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Technical Leadership for Architectural Decision Making
baasie
3
620
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
390
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