# DDS for Unity

**URL:** <https://discourse.openrobotics.org/t/dds-for-unity/22925>\
**Category:** Projects\
**Tags:** ros2, unity\
**Created:** [October 30, 2021, 7:52pm UTC](https://discourse.openrobotics.org/t/dds-for-unity/22925 "2021-10-30T19:52:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edward](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/edward/32/5475_2.png) [@edward](https://discourse.openrobotics.org/u/edward)\
**Post date:** [October 30, 2021, 7:52pm UTC](https://discourse.openrobotics.org/t/dds-for-unity/22925/1 "2021-10-30T19:52:45Z")

</div>

I would like to present the open source package “DDS for Unity”. It is [available here](https://bitbucket.org/edhage/dds-for-unity) and developed by me ([Confirmat](https://www.confirmat.nl/)) and [Flanders Make](https://www.flandersmake.be/).

This package adds DDS capability to Unity. This has been written to couple digital twins and simulators, made in Unity, with ROS2.

This has succesfully been used with Unity as simulator to test controllers deployed in ROS2 (closing the control-loop with Unity application as the simulated hardware). Furthermore mobile platforms have been simulated in Unity being driven from ROS. Cameras setup in Unity stream compressed jpeg-video to ROS2.

An executable Unity-program (for Windows 10) is added to the repository, called TurtleTopics, which can be used as an example to communicate with ROS2. It is the pimped-up version of the TurtleSim application we know and love from ROS.

It is based on Vortex DDS from ADLINK.

 ![turtlesim_3d](https://us1.discourse-cdn.com/flex022/uploads/ros/original/2X/9/9b690cf58da01d76d3c9816a859d62df624e166c.jpeg)

---

<div class="post-metadata">

**Author:** ![Osilva](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/osilva/32/11321_2.png) [@Osilva](https://discourse.openrobotics.org/u/Osilva)\
**Post date:** [October 30, 2021, 10:26pm UTC](https://discourse.openrobotics.org/t/dds-for-unity/22925/2 "2021-10-30T22:26:51Z")

</div>

Very cool. Great work!

---

<div class="post-metadata">

**Author:** ![edward](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/edward/32/5475_2.png) [@edward](https://discourse.openrobotics.org/u/edward)\
**Post date:** [October 31, 2021, 6:58am UTC](https://discourse.openrobotics.org/t/dds-for-unity/22925/3 "2021-10-31T06:58:59Z")

</div>

Thanks.

Forgot this one: [https://www.youtube.com/watch?v=la138Ahbb54](https://www.youtube.com/watch?v=la138Ahbb54)
