Update documentation on synchronous mode

This commit is contained in:
nsubiron 2019-07-01 14:24:53 +02:00 committed by Néstor Subirón
parent 01ed348875
commit 864ea93f88
1 changed files with 5 additions and 2 deletions

View File

@ -139,11 +139,14 @@ camera.listen(image_queue.put)
while True:
world.tick()
world_snapshot = world.wait_for_tick()
image = image_queue.get()
```
For a more complex scenario synchronizing data from several sensors, take a look
at the example [synchronous_mode.py][syncmodelink].
[syncmodelink]: https://github.com/carla-simulator/carla/blob/master/PythonAPI/examples/synchronous_mode.py
Other command-line options
--------------------------