# Custom OmniGraph ROS publisher node

**URL:** <https://forums.developer.nvidia.com/t/custom-omnigraph-ros-publisher-node/258208>\
**Category:** Isaac Sim\
**Created:** [June 28, 2023, 5:23pm UTC](https://forums.developer.nvidia.com/t/custom-omnigraph-ros-publisher-node/258208 "2023-06-28T17:23:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruno.vetter](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@bruno.vetter](https://forums.developer.nvidia.com/u/bruno.vetter)\
**Post date:** [June 28, 2023, 5:23pm UTC](https://forums.developer.nvidia.com/t/custom-omnigraph-ros-publisher-node/258208/1 "2023-06-28T17:23:15Z")

</div>

My understanding is Nvidia recommends OmniGraph for publishing ROS messages. There are some publisher nodes available, but not for the type of message I want to publish. I would like to implement a new publisher node type, preferably in Python. I know how to implement new OmniGraph nodes in general, but need some instructions/examples on the specific task of implementing a publisher node.

Any advice welcome  
Bruno

---

<div class="post-metadata">

**Author:** ![bruno.vetter](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@bruno.vetter](https://forums.developer.nvidia.com/u/bruno.vetter)\
**Post date:** [June 29, 2023, 6:25am UTC](https://forums.developer.nvidia.com/t/custom-omnigraph-ros-publisher-node/258208/2 "2023-06-29T06:25:40Z")

</div>

Looking at some Omniverse code, it seems that there is a concept of “node writers” related to this. See omni.replicator.core.scripts.writers.register\_node\_writer()

I would also be interested in understanding how to implement such a thing.

---

<div class="post-metadata">

**Author:** ![TeresaC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/teresac/32/14047_2.png) [@TeresaC](https://forums.developer.nvidia.com/u/TeresaC)\
**Post date:** [June 29, 2023, 9:04am UTC](https://forums.developer.nvidia.com/t/custom-omnigraph-ros-publisher-node/258208/3 "2023-06-29T09:04:44Z")

</div>

Hi Bruno,  
We have he ability to publish [ROS Custom Messages](https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_ros_custom_message.html) but not yet a direct way of doing that for ROS2. This is being planned for the next release though.  
However there is a workaround you can do by compiling the custom message packages for python 3.7 and include the binaries in the Isaac Sim repo . Check here for more details [Custom Ros 2 messages](https://forums.developer.nvidia.com/t/custom-ros-2-messages/247035)

---

<div class="post-metadata">

**Author:** ![bruno.vetter](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@bruno.vetter](https://forums.developer.nvidia.com/u/bruno.vetter)\
**Post date:** [June 29, 2023, 11:30am UTC](https://forums.developer.nvidia.com/t/custom-omnigraph-ros-publisher-node/258208/4 "2023-06-29T11:30:55Z")

</div>

Thanks @TeresaC,

that is a good suggestion.  
But this would work outside of OmniGraph, right?

I was thinking about implementing a custom OmniGraph publisher node, but do not know how.
