From ed4e0176f727c5fa5c5299ee7e8eb37064c5ed48 Mon Sep 17 00:00:00 2001
From: MattRoweEAIF <125647690+MattRoweEAIF@users.noreply.github.com>
Date: Fri, 12 Apr 2024 15:07:44 +0200
Subject: [PATCH] Docs/updates april (#7419)
* 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
* added FutureActor to API docs
---
Docs/python_api.md | 5 +++++
PythonAPI/docs/commands.yml | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/Docs/python_api.md b/Docs/python_api.md
index 3fe4a34de..3cf5203b7 100644
--- a/Docs/python_api.md
+++ b/Docs/python_api.md
@@ -4089,6 +4089,11 @@ Actor affected by the command.
---
+## command.FutureActor
+A utility object used to reference an actor that will be created in the command in the previous step, it has no parameters or methods.
+
+---
+
## command.Response
States the result of executing a command as either the ID of the actor to whom the command was applied to (when succeeded) or an error string (when failed). actor ID, depending on whether or not the command succeeded. The method __apply_batch_sync()__ in [carla.Client](#carla.Client) returns a list of these to summarize the execution of a batch.
diff --git a/PythonAPI/docs/commands.yml b/PythonAPI/docs/commands.yml
index cf7307681..f19a70f8e 100644
--- a/PythonAPI/docs/commands.yml
+++ b/PythonAPI/docs/commands.yml
@@ -69,7 +69,11 @@
doc: >
Links another command to be executed right after. It allows to ease very common flows such as spawning a set of vehicles by command and then using this method to set them to autopilot automatically.
# --------------------------------------
-
+ - class_name: FutureActor
+ # - DESCRIPTION ------------------------
+ doc: >
+ A utility object used to reference an actor that will be created in the command in the previous step, it has no parameters or methods.
+ # --------------------------------------
- class_name: DestroyActor
# - DESCRIPTION ------------------------
doc: >