Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Resolved Connect ros_tcp_endpoint with my native ros2

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

  1. ActiveSim

    ActiveSim

    Joined:
    May 10, 2019
    Posts:
    59
    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 172.17.0.1 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

    ActiveSim

    Joined:
    May 10, 2019
    Posts:
    59
    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