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: docs/Components/ROS2/ROS2ForUnity/index.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,10 @@ All required dependencies are installed and can be used e.g. as a complete set o
21
21
Only asset libraries and generated messages are installed therefore *ROS2* instance must be sourced.
22
22
23
23
By default, asset `R2FU` in *AWSIM* is prepared in *standalone mode*.
24
-
Thanks to this, *ROS2* instance doesn't need to be sourced - all you have to do is run the *Unity* editor.
24
+
25
+
!!! warning
26
+
27
+
To avoid internal conflicts between the standalone libraries, and sourced ones, *ROS2* instance shouldn't be sourced before running AWSIM or the *Unity* Editor.
25
28
26
29
!!! question "Can't see topics"
27
30
There are no errors but I can't see topics published by `R2FU`
Copy file name to clipboardExpand all lines: docs/GettingStarted/SetupUnityProject/index.md
+21-2Lines changed: 21 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,24 @@ This page is a tutorial for setting up a AWSIM Unity project.
23
23
2. Prepare a desktop PC with Windows 10 or 11 (64 bit) installed.
24
24
3. Install [git](https://git-scm.com/).
25
25
26
+
### ROS 2
27
+
28
+
AWSIM comes with a *standalone* flavor of [`Ros2ForUnity`](../../Components/ROS2/ROS2ForUnity/index.md). This means that, to avoid internal conflicts between different ROS 2 versions, you shouldn't run the Editor or AWSIM binary with ROS 2 sourced.
29
+
30
+
!!! warning
31
+
32
+
Do not run the AWSIM, Unity Hub, or the Editor with ROS 2 sourced.
33
+
34
+
=== "Ubuntu 22"
35
+
- Make sure that the terminal which you are using to run Unity Hub, Editor, or AWSIM doesn't have ROS 2 sourced.
36
+
- It is common to have ROS 2 sourced automatically with `~/.bashrc` or `~/.profile`. Make sure it is not obscuring your working environment:
37
+
- Running Unity Hub from the Ubuntu GUI menu takes the environment configuration from `~/.profile`.
38
+
- Running Unity Hub from the terminal uses the current terminal configuration from `~/.profile` and `~/.bashrc`.
39
+
- Running Unity Editor from the UnityHub inherits the environment setup from the Unity Hub.
40
+
41
+
=== "Windows"
42
+
- Make sure your Windows environment variables are ROS 2 free.
43
+
26
44
### Unity installation
27
45
28
46
!!! info
@@ -56,7 +74,8 @@ Follow the steps below to install Unity on your machine:
56
74
### Open AWSIM project
57
75
58
76
To open the Unity AWSIM project in Unity Editor:
59
-
1. Make sure you have the AWSIM repository cloned
77
+
78
+
1. Make sure you have the AWSIM repository cloned and ROS 2 is not sourced.
0 commit comments