Updated docs.

This commit is contained in:
Axel 2020-09-21 18:18:34 +02:00 committed by Axel1092
parent a75fc59eb0
commit b963a9e367
2 changed files with 6 additions and 0 deletions

View File

@ -2659,6 +2659,8 @@ Same as **<font color="#7fb800">spawn_actor()</font>** but returns <b>None</b> o
Freezes or unfreezes all traffic lights in the scene. Frozen traffic lights can be modified by the user but the time will not update them until unfrozen.
- **Parameters:**
- `frozen` (_bool_)
- <a name="carla.World.reset_all_traffic_lights"></a>**<font color="#7fb800">reset_all_traffic_lights</font>**(<font color="#00a6ed">**self**</font>)
Resets the cycle of all traffic lights in the map to the initial state.
<h5 style="margin-top: -20px">Getters</h5>
<div style="padding-left:30px;margin-top:-25px"></div>- <a name="carla.World.get_actor"></a>**<font color="#7fb800">get_actor</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**actor_id**</font>)

View File

@ -331,6 +331,10 @@
doc: >
Freezes or unfreezes all traffic lights in the scene. Frozen traffic lights can be modified by the user but the time will not update them until unfrozen.
# --------------------------------------
- def_name: reset_all_traffic_lights
doc: >
Resets the cycle of all traffic lights in the map to the initial state.
# --------------------------------------
- def_name: get_map
return: carla.Map
doc: >