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
Copy file name to clipboardExpand all lines: README.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Follow the instructions from [here](https://github.com/Unity-Technologies/Unity-
9
9
10
10
## ROS2/Gaia app setup
11
11
12
-
This section assumes you have Gaia (March release) and ROS2 (Foxy) installed and properly configured.
12
+
This section assumes you have the sans libc++ build of Gaia (install .deb from [here](https://drive.google.com/file/d/1GkT4SqxW3cwAwHLpi4nznjWUkFjPWFwp/view?usp=sharing) and ROS2 (Foxy) installed and properly configured.
13
13
14
14
1.`git clone` this repo someplace.
15
15
2.`cd [path_to_where_you_cloned_this_repo]/Ros/src`. You should see 3 directories: `danger_zone`, `danger_zone_msgs`,
@@ -26,23 +26,21 @@ This section assumes you have Gaia (March release) and ROS2 (Foxy) installed and
26
26
4.`git checkout ROS2`
27
27
5. After sourcing your ROS environment and all your workspaces, run `rosdep install -y -i --from-paths src` at the root
28
28
of your ROS workspace to pickup any dependencies.
29
-
6. Run `colcon build` to build all packages
29
+
6. Run `colcon build` to build all packages.
30
30
31
-
* Special Gaia.Preview build instructions
32
-
33
-
As of 20210901 if building against Gaia.Preview, as special sans libc++ build of GaiaPlatform is needed.
34
-
This is not an official or supported realease, it is just here for a limited time to work around the Gaia/ROS build issue.
35
-
The build can be found at: https://drive.google.com/file/d/1GkT4SqxW3cwAwHLpi4nznjWUkFjPWFwp/view?usp=sharing
31
+
## Unity setup
32
+
1. Install the latest 20x LTS build of the Unity Editor.
33
+
2. Follow the Unity instructions [here](https://github.com/Unity-Technologies/Unity-Robotics-Hub/blob/main/tutorials/ros_unity_integration/setup.md#-unity-setup) to install the Robotics package for Unity.
36
34
37
35
# Running the simulation
38
36
39
-
1. On the ROS/Gaia hosting machine
40
-
1. Source your ROS under/overlays
37
+
1. On the ROS/Gaia hosting machine...
38
+
1. Source your ROS under/overlays.
41
39
2. Start ROS-TCP-Endpoint:
42
40
`ros2 launch danger_zone bridge_launch.py`
43
41
- or -
44
42
`ros2 run ros_tcp_endpoint default_server_endpoint --ros-args -p ROS_IP:=[HOST_MACHINE_IP_ADDRESS]`
45
43
1. You can get your host machine's IP address by running `hostname -I`
4. On the machine with the Unity simulation, simply start run the simulation and it will automatically connect to ROS. If not, make sure `HOST_MACHINE_IP_ADDRESS` matches the one supplied inside Unity
4. On the machine with the Unity simulation, simply start run the simulation and it will automatically connect to ROS. If not, make sure `HOST_MACHINE_IP_ADDRESS` matches the one supplied inside Unity.
0 commit comments