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
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ Try driving the car around using the arrowkeys.
47
47
If you get a black screen with some buttons, make sure the folder with the binary is in your user folder (Windows: `C:\Users\username\Formula-Student-Driverless-Simulator`, Linux: `~/Formula-Student-Driverless-Simulator`)
48
48
49
49
If all that works, you can continue to [the ROS interface](getting-started-with-ros.md) or [the python interface](getting-started-with-python.md).
50
+
50
51
### From source using the Unreal Engine Editor
51
52
Instead of running the simulator from release binaries, you can compile it manually using unreal engine.
52
53
This is usefull if you want to get the latest changes or if you want to make changes to the maps or the simulation itself.
@@ -76,7 +77,36 @@ On Windows, open the _Developer Command Prompt for VS 2019_, go to `Formula-Stud
76
77
build.cmd
77
78
```
78
79
79
-
On Ubuntu, go to folder `AirSim` and run `setup.sh` and `build.sh`.
80
+
On Ubuntu 18.04 and 20.04, go to folder `AirSim` and run `setup.sh` and `build.sh`.
81
+
82
+
##### For Ubuntu 22.04+
83
+
**Written by Roy Amoyal, Head of the Autonomous Division at BGRacing 2024 (Formula Student Driverless Project at Ben Gurion University)**
84
+
First, install Docker on your Ubuntu system.
85
+
86
+
Change to the Docker Build Directory: Note that this directory is within the AirSim folder, not the root of the Formula-Student-Driverless-Simulator repository.
87
+
88
+
cd /home/$USER/Formula-Student-Driverless-Simulator/AirSim/docker_build
89
+
90
+
1. Build the Docker Image:
91
+
92
+
docker build -t formula-simulator .
93
+
94
+
2. Run the Docker Container: After the build completes, mount your local folder into the container:
95
+
96
+
docker run --rm -it -v $PWD/../..:/home/airsim/Formula-Student-Driverless-Simulator formula-simulator
97
+
98
+
3. Run the Setup and Build:
99
+
100
+
./setup.sh && ./build.sh
101
+
102
+
4. Exit the Docker Container: Press Ctrl + D in the terminal to exit.
103
+
104
+
5. Build the final project, use the following command (this process may take some time):
105
+
106
+
~/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mono ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project=/home/$uSER/Formula-Student-Driverless-Simulator/UE4Project/FSOnline.uproject -TargetType=Editor -Progress
107
+
108
+
Congratulations! You have successfully built the project from source. You can now continue with Unreal Engine.
109
+
80
110
81
111
> So what does build.cmd or setup.sh+build.sh do?
82
112
It downloads any nessesary libraries and compiles AirLib.
0 commit comments