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
This commit is contained in:
MattRoweEAIF 2024-04-12 15:07:44 +02:00 committed by GitHub
parent ca7fb1a511
commit ed4e0176f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -4089,6 +4089,11 @@ Actor affected by the command.
---
## command.FutureActor<a name="command.FutureActor"></a>
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<a name="command.Response"></a>
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 __<font color="#7fb800">apply_batch_sync()</font>__ in [carla.Client](#carla.Client) returns a list of these to summarize the execution of a batch.

View File

@ -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: >