Documentation on no-rendering mode

This commit is contained in:
nsubiron 2019-04-08 10:14:26 +02:00
parent b0f6ee804c
commit 9c8e987ac2
1 changed files with 15 additions and 0 deletions

View File

@ -83,6 +83,21 @@ in multi-GPU environments, it's not possible to select the GPU that the
simulator will use for rendering. To do so, follow the instruction in
[Running without display and selecting GPUs](carla_headless.md).
No-rendering mode
-----------------
It is possible to completely disable rendering in the simulator by enabling
_no-rendering mode_ in the world settings. This way is possible to simulate
traffic and road behaviours at very high frequencies without the rendering
overhead. Note that in this mode, cameras and other GPU-based sensors return
empty data.
```py
settings = world.get_settings()
settings.no_rendering_mode = True
world.apply_settings(settings)
```
Synchronous mode
----------------