Update documentation on synchronous mode
This commit is contained in:
parent
01ed348875
commit
864ea93f88
|
@ -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
|
||||
--------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue