From ca7fb1a511332ea139595809ae08b015f44b24e3 Mon Sep 17 00:00:00 2001
From: MattRoweEAIF <125647690+MattRoweEAIF@users.noreply.github.com>
Date: Fri, 12 Apr 2024 14:39:34 +0200
Subject: [PATCH] Docs/updates april (#7418)
* fixed typos and broken links
* updated python_api.md
* fixed CityObjectLabel API docs
* added load_world_if_different to API docs
* added return type to reload_world
* updated python_api.md
---
Docs/python_api.md | 1 +
PythonAPI/docs/client.yml | 1 +
2 files changed, 2 insertions(+)
diff --git a/Docs/python_api.md b/Docs/python_api.md
index 08dbf28c3..3fe4a34de 100644
--- a/Docs/python_api.md
+++ b/Docs/python_api.md
@@ -506,6 +506,7 @@ _
Reload the current world, note that a new world is created with default settings using the same map. All actors present in the world will be destroyed, __but__ traffic manager instances will stay alive.
- **Parameters:**
- `reset_settings` (_bool_) - Option to reset the episode setting to default values, set to false to keep the current settings. This is useful to keep sync mode when changing map and to keep deterministic scenarios.
+ - **Return:** _[carla.World](#carla.World)_
- **Raises:** RuntimeError when corresponding.
- **replay_file**(**self**, **name**, **start**, **duration**, **follow_id**, **replay_sensors**)
Load a new world with default settings using `map_name` map. All actors present in the current world will be destroyed, __but__ traffic manager instances will stay alive.
diff --git a/PythonAPI/docs/client.yml b/PythonAPI/docs/client.yml
index fb36968fd..3f4e40388 100644
--- a/PythonAPI/docs/client.yml
+++ b/PythonAPI/docs/client.yml
@@ -115,6 +115,7 @@
doc: >
Option to reset the episode setting to default values, set to false to keep the current settings.
This is useful to keep sync mode when changing map and to keep deterministic scenarios.
+ return: carla.World
raises: RuntimeError when corresponding.
doc: >
Reload the current world, note that a new world is created with default