Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Resolved Connect ros_tcp_endpoint with my native ros2

Discussion in 'Robotics' started by ActiveSim, Jan 25, 2022.

  1. ActiveSim


    May 10, 2019
    Hi everyone,

    I have a robot running in an Unity environment. Currently I exchange data via TCP. No I would like to exchange them via ROS2.

    So I add
    When I run the game
    • the HUB panel shows up
    • one arrow blinks in the sending frequency
    • the ros_tcp_endpoint prints the connection from and the RegisterPublisher to my topic
    So everything should be fine I assume, but I get no connection between the ros_tcp_endpoint and my native ROS2 galactic node:
    • my topic don't show up when I enter "ros2 topic list" in the terminal
    • subscribing with "ros2 topic echo <topic_name>" isn't possible as well

    I don't find any similar problems here. Do I misunderstood something or what could be the problem?
    Is there any chance to check if the connection between native ROS2 and the endpoint could be made?

    Thanks for your help!
  2. ActiveSim


    May 10, 2019
    The answer is in my question, the ros_tcp_endpoint do not work with ROS2 galactic. It just works with foxy. Look here as well for further discussions.
    Last edited: Jan 31, 2022