Added `get_vehicles_light_states` into docs
This commit is contained in:
parent
fc133121c7
commit
a9c0f51633
|
@ -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>)
|
- <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.
|
Returns a list of actor blueprints available to ease the spawn of these into the world.
|
||||||
- **Return:** _[carla.BlueprintLibrary](#carla.BlueprintLibrary)_
|
- **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>)
|
- <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.
|
Returns an instance of [carla.LightManager](#carla.LightManager) that can be used to handle the lights in the scene.
|
||||||
- **Return:** _[carla.LightManager](#carla.LightManager)_
|
- **Return:** _[carla.LightManager](#carla.LightManager)_
|
||||||
|
|
|
@ -308,6 +308,11 @@
|
||||||
doc: >
|
doc: >
|
||||||
Returns a list of actor blueprints available to ease the spawn of these into the world.
|
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
|
- def_name: get_light_manager
|
||||||
return: carla.LightManager
|
return: carla.LightManager
|
||||||
doc: >
|
doc: >
|
||||||
|
|
Loading…
Reference in New Issue