From b963a9e3677cbcc181af4b2c391dfa47f0b3b6c4 Mon Sep 17 00:00:00 2001 From: Axel Date: Mon, 21 Sep 2020 18:18:34 +0200 Subject: [PATCH] Updated docs. --- Docs/python_api.md | 2 ++ PythonAPI/docs/world.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Docs/python_api.md b/Docs/python_api.md index 8cd7732b1..9eb1fb0dc 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -2659,6 +2659,8 @@ Same as **spawn_actor()** but returns None 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_) +- **reset_all_traffic_lights**(**self**) +Resets the cycle of all traffic lights in the map to the initial state.
Getters
- **get_actor**(**self**, **actor_id**) diff --git a/PythonAPI/docs/world.yml b/PythonAPI/docs/world.yml index 18c51d1e6..dcd374c68 100644 --- a/PythonAPI/docs/world.yml +++ b/PythonAPI/docs/world.yml @@ -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: >