carla/Docs/faq.md

103 lines
3.3 KiB
Markdown
Raw Normal View History

2018-01-17 23:16:44 +08:00
<!-- ======================================================================= -->
2018-01-17 22:39:45 +08:00
<details>
2018-01-17 22:58:29 +08:00
<summary><h5 style="display:inline">
2018-01-17 22:56:12 +08:00
What is the expected disk space needed for building CARLA?
</h4></summary>
2018-01-17 22:42:25 +08:00
Building CARLA from source requires about 15GB of disk space, not counting
Unreal Engine installation.
However, you will also need to build and install Unreal Engine, which on Linux
requires much more disk space as it keeps all the intermediate files,
[see this thread](https://answers.unrealengine.com/questions/430541/linux-engine-size.html).
2018-01-17 22:39:45 +08:00
</details>
2018-01-17 23:16:44 +08:00
<!-- ======================================================================= -->
2018-01-17 22:56:12 +08:00
<details>
2018-01-17 22:58:29 +08:00
<summary><h5 style="display:inline">
2018-01-17 23:16:44 +08:00
I downloaded CARLA source from GitHub, where is the "CarlaUE4.sh" script?
2018-01-17 22:56:12 +08:00
</h4></summary>
2017-11-25 01:29:37 +08:00
2018-01-17 23:16:44 +08:00
There is no "CarlaUE4.sh" script in the source version of CARLA, you need to
follow the instructions in the [documentation](http://carla.readthedocs.io) on
building CARLA from source.
2017-11-25 01:29:37 +08:00
2018-01-17 23:16:44 +08:00
Once you open the project in the Unreal Editor, you can hit Play to test CARLA.
2017-11-29 18:35:33 +08:00
2018-01-17 22:56:12 +08:00
</details>
2018-01-17 23:16:44 +08:00
<!-- ======================================================================= -->
2018-01-17 22:58:29 +08:00
<details>
<summary><h5 style="display:inline">
2018-01-17 23:16:44 +08:00
Why Unreal Editor hangs after hitting Play?
2018-01-17 22:58:29 +08:00
</h4></summary>
2017-11-29 18:35:33 +08:00
2018-01-17 23:16:44 +08:00
This is most probably happening because CARLA is starting in server mode. Check
your CarlaSettings.ini file ("./Unreal/CarlaUE4/Config/CarlaSettings.ini") and
set
2017-11-29 18:35:33 +08:00
2018-01-17 23:16:44 +08:00
```ini
[CARLA/Server]
UseNetworking=false
```
2017-11-29 18:35:33 +08:00
2018-01-17 22:58:29 +08:00
</details>
2018-01-17 23:16:44 +08:00
<!-- ======================================================================= -->
2018-01-17 22:58:29 +08:00
<details>
<summary><h5 style="display:inline">
How can I create a binary version of CARLA?
</h4></summary>
2017-11-29 18:35:33 +08:00
To compile a binary (packaged) version of CARLA, open the CarlaUE4 project with
2018-01-15 21:55:26 +08:00
Unreal Editor, go to the menu "File -> Package Project", and select your
2017-11-29 18:35:33 +08:00
platform. This takes a while, but in the end it should generate a packaged
version of CARLA to execute without Unreal Editor.
2018-01-17 22:58:29 +08:00
</details>
2018-01-17 23:16:44 +08:00
<!-- ======================================================================= -->
<details>
<summary><h5 style="display:inline">
Why do I have very low FPS when running the server in Unreal Editor?
</h4></summary>
UE4 Editor goes to a low performance mode when out of focus. It can be disabled
in the editor preferences. Go to "Edit->Editor Preferences->Performance" and
disable the "Use Less CPU When in Background" option.
</details>
<!-- ======================================================================= -->
<details>
<summary><h5 style="display:inline">
Is it possible to dump images from the CARLA server view?
</h4></summary>
Yes, this is an Unreal Engine feature. You can dump the images of the server
camera by running CARLA with
$ ./CarlaUE4.sh -benchmark -fps=30 -dumpmovie
Images are saved to "CarlaUE4/Saved/Screenshots/LinuxNoEditor".
</details>
<!-- ======================================================================= -->
<details>
<summary><h5 style="display:inline">
Fatal error: 'version.h' has been modified since the precompiled header.
</h4></summary>
This happens from time to time due to Linux updates. It is possible to force a
rebuild of all the project files with
$ cd Unreal/CarlaUE4/
$ make CarlaUE4Editor ARGS=-clean
$ make CarlaUE4Editor
It takes a long time but fixes the issue. Sometimes a reboot is also needed.
</details>