Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer data from Unity to another computer with ROS2 #116

Open
L1MSpace opened this issue Sep 13, 2024 · 0 comments
Open

Transfer data from Unity to another computer with ROS2 #116

L1MSpace opened this issue Sep 13, 2024 · 0 comments

Comments

@L1MSpace
Copy link

I have a goal, to create a connection between two computers. The first computer on Windows 11 has Unity and ROS2 Humble installed. The second computer on Linux (Ubuntu 22.04) has only ROS2 Humble installed.

I was able to run the ros2-for-unity scripts “ROS2 Unity Component”, “ROS2 Talker Example”, “ROS2 Listener Example” in Unity without errors. Afterward, when I type “ros2 topic list” in the console on Windows, I see the “/chatter” topix that Unity creates. But, if I enter the same thing on a second computer on Linux, the “/chatter” topix is not there, i.e. ROS2 on Linux does not see this topix.
Both computers are connected to the same WI-FI network.

Question, does ros2-for-unity support data transfer via topics to another computer with ROS2?
If not, are there then alternative libraries that are suitable for my purpose.

P.S. I used ROS# library for the same purpose in ROS1. There I just had to put in the ip of a second computer on Linux (where ros-master was running), and after that Unity could send and receive data from another computer with ROS2.

Environment:
Windows 11;
Linux (Ubuntu 22.04)
ROS2 Humble (on Windows and Linux);
ros2-for-unity 1.3.0, overlay mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant