From 232bcef4454d1f6fab371c08259923807bd179a0 Mon Sep 17 00:00:00 2001 From: LaurieCheers <73140792+LaurieCheers-unity@users.noreply.github.com> Date: Tue, 27 Apr 2021 11:41:25 -0700 Subject: [PATCH] Updating tutorials to the glorious new world --- tutorials/ros_unity_integration/subscriber.md | 5 ----- tutorials/ros_unity_integration/unity_service.md | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/tutorials/ros_unity_integration/subscriber.md b/tutorials/ros_unity_integration/subscriber.md index ac5164e9..5af46997 100644 --- a/tutorials/ros_unity_integration/subscriber.md +++ b/tutorials/ros_unity_integration/subscriber.md @@ -56,11 +56,6 @@ public class RosSubscriberExample : MonoBehaviour - Attach the `RosSubscriberExample` script to the `RosSubscriber` GameObject and drag the cube GameObject onto the `cube` parameter in the Inspector window. - From the Unity menu bar, open `Robotics/ROS Settings`, and set the `ROS IP Address` variable to your ROS IP. - - Unlike the previous tutorial, using a subscriber requires an incoming connection from ROS to Unity. You may need to adjust your firewall settings for this to work. - - The IP for Unity to listen on should be determined automatically, but if you're having trouble, you can set it manually in the `Override Unity IP` field. Finding the IP address of your local machine (the one running Unity) depends on your operating system. - - On a Mac, open `System Preferences > Network`. Your IP address should be listed on the active connection. - - On Windows, click the Wi-Fi icon on the taskbar, and open `Properties`. Your IP address should be listed near the bottom, next to "IPv4 address." - - Press play in the editor ### In ROS Terminal Window diff --git a/tutorials/ros_unity_integration/unity_service.md b/tutorials/ros_unity_integration/unity_service.md index 366656e5..eb61af4f 100644 --- a/tutorials/ros_unity_integration/unity_service.md +++ b/tutorials/ros_unity_integration/unity_service.md @@ -80,7 +80,7 @@ public class RosUnityServiceExample : MonoBehaviour - From the main menu bar, open `Robotics/ROS Settings`, and change the `ROS IP Address` variable to the ROS IP. - Create an empty GameObject and name it `UnityService`. - Attach the `RosUnityServiceExample` script to the `UnityService` GameObject. -- Pressing play in the Editor should start running as a ROS node, waiting to accept ObjectPose requests. Once a connection to ROS has been established, a message will be printed on the ROS terminal similar to `ROS-Unity Handshake received, will connect to 192.168.50.130:5005`. +- Pressing play in the Editor should start running as a ROS node, waiting to accept ObjectPose requests. Once a connection to ROS has been established, a message will be printed on the ROS terminal similar to `Connection from 172.17.0.1`. ## Start the Client