You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disabled ubuntu uncomplicated firewall (ufw) causes ROS-Unity Connection issues between two machines, Documentation should be updated to include issue
#165
Open
iceikking888 opened this issue
May 27, 2023
· 0 comments
I was running into issues with connecting ROS to Unity.
My previous setup (which worked fine, we had a connection) had both ROS and Unity installed in Ubuntu on one Machine.
My new setup has ROS and Ubuntu on one machine, and Unity on a separate machine. Although we were following the same procedure to connect ROS and Unity using the ROSTCPConnector, it was failing to connect. The ROS terminal did not show any debugging information.
@ZhuoyunZhong and I discovered that on the Ubuntu ROS machine, the firewall was not enabled. Once it was enabled and port 10000 was added as a policy, I was able to successfully connect both machines.
Solution
I would like to add to the documentation, when debugging network issues. The file was ROS-Unity Integration: Network Description I imagine the most useful thing to add is:
A way to check to see if the Ubuntu Uncomplicated Firewall (UFW) is enabled, by checking the status.
How to enable UFW if not done so already
Viewing the current policies
Adding the policy to connect to port 10000 as needed
Additional Context
Here is roughly the commands that we followed to solve my issue.
Problem
I was running into issues with connecting ROS to Unity.
My previous setup (which worked fine, we had a connection) had both ROS and Unity installed in Ubuntu on one Machine.
My new setup has ROS and Ubuntu on one machine, and Unity on a separate machine. Although we were following the same procedure to connect ROS and Unity using the ROSTCPConnector, it was failing to connect. The ROS terminal did not show any debugging information.
@ZhuoyunZhong and I discovered that on the Ubuntu ROS machine, the firewall was not enabled. Once it was enabled and port 10000 was added as a policy, I was able to successfully connect both machines.
Solution
I would like to add to the documentation, when debugging network issues. The file was ROS-Unity Integration: Network Description I imagine the most useful thing to add is:
Additional Context
Here is roughly the commands that we followed to solve my issue.
For debugging purposes use:
We also referenced this website here for our commands: Basic UFW (Uncomplicated Firewall) commands
The text was updated successfully, but these errors were encountered: