# Ros2 talker/listener node

**URL:** <https://get-help.theconstruct.ai/t/ros2-talker-listener-node/18118>\
**Category:** Open Discussions\
**Tags:** howto\
**Created:** [July 7, 2022, 3:07pm UTC](https://get-help.theconstruct.ai/t/ros2-talker-listener-node/18118 "2022-07-07T15:07:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kierankirby123](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/k/9de053/32.png) [@kierankirby123](https://get-help.theconstruct.ai/u/kierankirby123)\
**Post date:** [July 7, 2022, 3:07pm UTC](https://get-help.theconstruct.ai/t/ros2-talker-listener-node/18118/1 "2022-07-07T15:07:49Z")

</div>

hi am just wondering if it is possible to read the data sent from the talker node to a listener node. in my case i am getting the talker node to send coordinates(x,y,z) to a listener node of people on the real world. now i want to taker those values and use them to spawn a person in unity . just wondering how i would go about reading and being able to access these values in a ros2 platform ?

---

<div class="post-metadata">

**Author:** ![roalgoal](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/roalgoal/32/7280_2.png) [@roalgoal](https://get-help.theconstruct.ai/u/roalgoal)\
**Post date:** [July 8, 2022, 8:15am UTC](https://get-help.theconstruct.ai/t/ros2-talker-listener-node/18118/2 "2022-07-08T08:15:04Z")

</div>

You can definitely do this. For example, you can send the position of the person in the real world as a Point message (x, y, z), and then listen to this data on a node that is then in charge of spawning the person in unity. I don’t have experience with Unity but you can probably learn more here: [Advance your robot autonomy with ROS 2 and Unity | Unity Blog](https://blog.unity.com/manufacturing/advance-your-robot-autonomy-with-ros-2-and-unity)

I recommend you taking our ROS2 Basics Python in 5 Days course that will give you a general idea on how you can implement something like this.

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [July 11, 2022, 10:41am UTC](https://get-help.theconstruct.ai/t/ros2-talker-listener-node/18118/3 "2022-07-11T10:41:16Z")

</div>

This topic was automatically closed after 3 days. New replies are no longer allowed.
