Home

Awesome

ros2arduino Build Status

Arduino library for communicating with ROS2(DDS)

<br>

Version-specific dependencies

ros2arduinoROS2Micro-XRCE-DDS Agent
0.2.1Dashing Diademata Patch61.3.0

For the Micro-XRCE-DDS Agent, please install it using following commands.

$ git clone https://github.com/eProsima/Micro-XRCE-DDS-Agent.git
$ cd Micro-XRCE-DDS-Agent && git checkout v1.3.0
$ mkdir build && cd build
$ source /opt/ros/dashing/setup.bash # to share libraries with ros2
$ cmake ..
$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib/
ros2arduinoROS2Micro-XRCE-DDS Agent
0.2.1Dashing Diademata Patch61.3.0
0.1.4Dashing Diademata Patch31.1.0
0.1.3Dashing Diademata Patch31.1.0
0.1.2Dashing Diademata Patch11.1.0
0.1.1Dashing Diademata1.1.0
0.0.9Crystal Clemmys1.0.1
<br>

Restrictions

Memory

Communication

ImplementedNote
SerialYES
UDPYESESP32, Ethernet
TCPNODebugging...
<br>

Getting Start

Dependancy Installation

You must install ROS2 and XRCE-DDS Agent. (The version should be the same as the Version-specific dependencies above)

Upload Arduino sketch

Excute Micro-XRCE-DDS Agent

Check topic on ROS2

$ ros2 topic echo /arduino_chatter

Appendix: How to configure entities from reference file. (available at 0.1.1 or above)

Appendix: How to use the Security feature. (available at 0.1.1 or above)

This method should be preceded by the function described in "Appendix: How to configure entities from reference file."

And please check eProsima's manual for how to use it.

<br>

Development Note

Lastest release