-
Notifications
You must be signed in to change notification settings - Fork 62
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
Talker example does not seem to work with "normal" ROS2. #76
Comments
I can't reproduce it. How do you run your editor? If you are using the Unity Hub launcher, then your .bashrc is not sourced in the editor. If you are setting the ROS_DOMAIN or other ROS 2 settings in bashrc, then you might have a mismatched configuration between terminal and the editor. |
It started to work temporarily on the ROS2 installation on my computer after about an hour for some reason, so it is not ROS_DOMAIN_ID or anything like that. Thinking it has something to do with Fast DDS autodiscovery. Will look into it more. |
After a fresh reinstall of Ubuntu and ROS2 humble, communication with local ROS2 now works fine for me. Strange... I found a similar problem with ROS2 communication to docker though. docker run --network host -it osrf/ros:humble-desktop
ros2 topic echo /chatter Switching to from
In my experience, autodiscovery in humble works much better with cyclone at the moment. |
Yes, I've noticed that, for some reason, However, there are no issues with |
Hi, any news on the fastrtps problem? Here I can execute a talker and listener nodes in Unity, and echo them in a terminal on the same machine, but in a different machine I can't see the nodes and topics in Unity (but I can see the nodes and topics I execute in powershell in that same pc), so from my second PC I can any nodes and topics outside unity on the first pc, but not the unity ones, and in powershell on my first pc I can see both the Unity nodes and the second pc nodes. |
@FelipeH92 I was running into the same issue. The solution was to use husarnet. Although completely unrelated but we were teleoperating robots across different networks and had to be using it for the project. It turns out that if we turned husarnet off and tried replicating our setup locally with Unity, we were running into the exact same issue you described i.e.
We tried republishing topics using the |
Describe the bug
Talker/listener example seems to work between different instances of Unity, but not with normal (or docker based) ROS2.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Topics published from Unity should be accessable from "normal" ROS2.
Screenshots
Desktop:
The text was updated successfully, but these errors were encountered: