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/getting-started.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
# Getting started
2
2
3
3
When running this simulator there are two main components: the simulator and the ros bridge.
4
-
Your autonomous system and the ros bridge should use the same ros core, either by running on the same computer or through a network connection.
4
+
Your autonomous system and the ros bridge should use the same ros core, either by running on the same computer or through a network connection.
5
+
It is required that the simulator and the ros bridge have the same version!
5
6
6
7
This page is an overview of the different methods to get these components up and running.
7
8
@@ -41,6 +42,12 @@ Try driving the car around using the arrowkeys.
41
42
If you want to run the unreal engine project from source you will need [unreal engine and visual studio 2019](software-install-instructions.md).
42
43
On Ubuntu you can skip the visual studio 2019 part.
43
44
45
+
#### Get the repository
46
+
47
+
You can either download the repo using the big green download button on the [github page of this project](https://github.com/FS-Online/Formula-Student-Driverless-Simulator) or clone the repository. For cloning, checkout the documentation on this further down this page.
48
+
49
+
When downloading or cloning, by default you get the latest, unreleased version. This is probably not the version that you want. Make sure you select the version that you need!
50
+
44
51
#### Compiling the AirSim plugin
45
52
The Unreal Engine project requires the AirSim plugin.
46
53
We have to compile this plugin first.
@@ -71,7 +78,8 @@ It might show an error like 'This project was made with a different version of t
71
78
When asked to rebuild the 'Blocks' and 'AirSim' modules, choose 'Yes'.
72
79
This is the step where the plugin part of AirSim is compiled.
73
80
74
-
After some time Unreal Engine will start and you can launch the game.
81
+
After some time Unreal Engine will start and you can launch the game.
82
+
Run the game in standalone mode or or selected viewport mode, simulate and eject mode do not support camera's.
75
83
76
84
If you make changes to AirLib you have to run `build.cmd` again.
77
85
@@ -89,9 +97,9 @@ If you want to run it like it would run when packaged, choose 'Run as standalone
89
97
The simulator exposes an RPC api that is used by the ros bridge to communicate with the vehicle.
90
98
The ros bridge should preferable run on the same computer as the simulator to ensure low latency and high bandwidth.
91
99
92
-
> It is theoretically possible to run the ros bridge on a different computer than the simulator.
93
-
However, this has not been tested recently and it might be broken.
94
-
You should look into the fsds_ros_bridge.launch file and check the `host_ip` variable.
100
+
It is possible to run the ros bridge on a different computer than the simulator.
101
+
To get this to work you should use the `host` argument in the `fsds_ros_bridge.launch` file.
102
+
The ros bridge will connect to the simulator on port 41451.
95
103
96
104
The ros bridge only works on Ubuntu.
97
105
If you have the simulator running on windows we reccommend Windows Subsystem for Linux.
@@ -132,6 +140,8 @@ If you want to share the the clone directory with the Ubuntu WSL system, create
Now, checkout the version equal to the simulator. If you are running for example simulator packaged version beta-3, run `git checkout beta-3` to get the ros brige to the same version
144
+
135
145
### Preparing AirLib
136
146
137
147
AirLib is the shared code between the ros wrapper and the AirSim Unreal Engine plugin.
0 commit comments