Updated docs and content version
This commit is contained in:
parent
7e57ec068d
commit
2e656362c9
|
@ -674,6 +674,12 @@ Check out our [blueprint tutorial](../python_api_tutorial/#blueprints).
|
|||
- `object_type` (_String_)
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `sticky_control` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">vehicle.tesla.cybertruck</font>**
|
||||
- **Attributes:**
|
||||
- `number_of_wheels` (_Int_)
|
||||
- `object_type` (_String_)
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `sticky_control` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">vehicle.tesla.model3</font>**
|
||||
- **Attributes:**
|
||||
- `color` (_RGBColor_)<sub>_ – Modifiable_</sub>
|
||||
|
|
|
@ -257,6 +257,26 @@ All possible states for traffic lights. Check out this [`recipe`](../python_cook
|
|||
|
||||
---
|
||||
|
||||
## carla.VehicleLightState<a name="carla.VehicleLightState"></a> <sub><sup>_class_</sup></sub>
|
||||
These can be used like a flag, e.g: `VehicleLightState.HighBeam & VehicleLightState.Brake`.
|
||||
|
||||
<h3>Instance Variables</h3>
|
||||
- <a name="carla.VehicleLightState.NONE"></a>**<font color="#f8805a">NONE</font>**
|
||||
- <a name="carla.VehicleLightState.Position"></a>**<font color="#f8805a">Position</font>**
|
||||
- <a name="carla.VehicleLightState.LowBeam"></a>**<font color="#f8805a">LowBeam</font>**
|
||||
- <a name="carla.VehicleLightState.HighBeam"></a>**<font color="#f8805a">HighBeam</font>**
|
||||
- <a name="carla.VehicleLightState.Brake"></a>**<font color="#f8805a">Brake</font>**
|
||||
- <a name="carla.VehicleLightState.RightBlinker"></a>**<font color="#f8805a">RightBlinker</font>**
|
||||
- <a name="carla.VehicleLightState.LeftBlinker"></a>**<font color="#f8805a">LeftBlinker</font>**
|
||||
- <a name="carla.VehicleLightState.Reverse"></a>**<font color="#f8805a">Reverse</font>**
|
||||
- <a name="carla.VehicleLightState.Fog"></a>**<font color="#f8805a">Fog</font>**
|
||||
- <a name="carla.VehicleLightState.Interior"></a>**<font color="#f8805a">Interior</font>**
|
||||
- <a name="carla.VehicleLightState.Special1"></a>**<font color="#f8805a">Special1</font>**
|
||||
- <a name="carla.VehicleLightState.Special2"></a>**<font color="#f8805a">Special2</font>**
|
||||
- <a name="carla.VehicleLightState.Any"></a>**<font color="#f8805a">Any</font>**
|
||||
|
||||
---
|
||||
|
||||
## carla.Actor<a name="carla.Actor"></a> <sub><sup>_class_</sup></sub>
|
||||
Base class for all actors.
|
||||
Actor is anything that plays a role in the simulation and can be moved around, examples of actors are vehicles, pedestrians, and sensors.
|
||||
|
|
|
@ -148,6 +148,39 @@
|
|||
return: str
|
||||
# --------------------------------------
|
||||
|
||||
- class_name: VehicleLightState
|
||||
# - DESCRIPTION ------------------------
|
||||
doc: >
|
||||
These can be used like a flag, e.g: `VehicleLightState.HighBeam & VehicleLightState.Brake`
|
||||
# - PROPERTIES -------------------------
|
||||
instance_variables:
|
||||
- var_name: NONE
|
||||
doc: >
|
||||
- var_name: Position
|
||||
doc: >
|
||||
- var_name: LowBeam
|
||||
doc: >
|
||||
- var_name: HighBeam
|
||||
doc: >
|
||||
- var_name: Brake
|
||||
doc: >
|
||||
- var_name: RightBlinker
|
||||
doc: >
|
||||
- var_name: LeftBlinker
|
||||
doc: >
|
||||
- var_name: Reverse
|
||||
doc: >
|
||||
- var_name: Fog
|
||||
doc: >
|
||||
- var_name: Interior
|
||||
doc: >
|
||||
- var_name: Special1
|
||||
doc: >
|
||||
- var_name: Special2
|
||||
doc: >
|
||||
- var_name: Any
|
||||
doc: >
|
||||
|
||||
- class_name: Vehicle
|
||||
parent: carla.Actor
|
||||
# - DESCRIPTION ------------------------
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
0.9.5: 20190404_c7b464a
|
||||
0.9.6: 20190710_0097e66
|
||||
0.9.7: 20191221_c88604b
|
||||
Latest: 20200120_9618410
|
||||
Latest: 20200129_8a7918b
|
||||
|
|
Loading…
Reference in New Issue