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.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
410
Pulsar2 を雰囲気で使ってみよう
anoken
0
790
Maix/M5StickVで見守る技術
anoken
0
650
M5StickVで見守る技術
anoken
0
1.2k
家庭の平和とM5Cameraと技術書典6
anoken
1
670
M5Stack+rosserial (ROS Japan UG #24 )
anoken
1
2k
Other Decks in Technology
See All in Technology
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
350
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
970
Goodbye ShellScript, Hello File-based App
shunsock
0
400
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
140
Reactの設計論
uhyo
24
14k
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
5
480
AIエージェントを最高のパートナーに育てる方法|評価と判断軸を育てる5つのステップ
koichiaoki
1
150
Minecraft JavaのMODをSwiftで作る
1mash0
0
190
「どのログを見ればいい?」 から始めた サーバーレス障害解析
y_waka1
1
110
SREは、MCPとAutopilotをこう使え!
kazumax55
3
910
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
220
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
6
3.3k
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.9k
Unsuck your backbone
ammeep
672
58k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
Facilitating Awesome Meetings
lara
57
7.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
So, you think you're a good person
axbom
PRO
2
2.2k
WCS-LA-2024
lcolladotor
0
830
A Tale of Four Properties
chriscoyier
163
24k
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