Added `get_vehicles_light_states` into docs

This commit is contained in:
Marc Garcia Puig 2020-05-27 14:48:27 +02:00 committed by Jacopo Bartiromo
parent fc133121c7
commit a9c0f51633
2 changed files with 8 additions and 0 deletions

View File

@ -2490,6 +2490,9 @@ Retrieves a list of [carla.Actor](#carla.Actor) elements, either using a list of
- <a name="carla.World.get_blueprint_library"></a>**<font color="#7fb800">get_blueprint_library</font>**(<font color="#00a6ed">**self**</font>)
Returns a list of actor blueprints available to ease the spawn of these into the world.
- **Return:** _[carla.BlueprintLibrary](#carla.BlueprintLibrary)_
- <a name="carla.World.get_vehicles_light_states"></a>**<font color="#7fb800">get_vehicles_light_states</font>**(<font color="#00a6ed">**self**</font>)
Returns a dict where the keys are [carla.Actor](#carla.Actor) IDs and the values are [carla.VehicleLightState](#carla.VehicleLightState) of that vehicle.
- **Return:** _dict_
- <a name="carla.World.get_light_manager"></a>**<font color="#7fb800">get_light_manager</font>**(<font color="#00a6ed">**self**</font>)
Returns an instance of [carla.LightManager](#carla.LightManager) that can be used to handle the lights in the scene.
- **Return:** _[carla.LightManager](#carla.LightManager)_

View File

@ -308,6 +308,11 @@
doc: >
Returns a list of actor blueprints available to ease the spawn of these into the world.
# --------------------------------------
- def_name: get_vehicles_light_states
return: dict
doc: >
Returns a dict where the keys are carla.Actor IDs and the values are carla.VehicleLightState of that vehicle.
# --------------------------------------
- def_name: get_light_manager
return: carla.LightManager
doc: >