Updated changelog. Updated Python documentation.

This commit is contained in:
Axel1092 2020-04-09 17:37:05 +02:00 committed by bernat
parent d5c57e8903
commit f2130d1ef4
3 changed files with 77 additions and 32 deletions

View File

@ -7,6 +7,7 @@
* Added walkable pedestrian crosswalks in OpenDRIVE standalone mode
* Improved mesh generation with a chunk system for better performance and bigger maps in the future
* Added security features to the standalone OpenDRIVE mode aiming to prevent cars from falling down from the road
* Added junction smoothing algorithm to prevent roads from blocking other roads with level differences
* Added new Behavior agent
* Added automatic generation of traffic lights, stop signal and yield signal from OpenDRIVE file
* Upgraded to AD RSS v3.0.0 supporting complex road layouts and i.e. intersections

View File

@ -1075,6 +1075,25 @@ Distance between `actor` and `other`.
---
## carla.OpendriveGenerationParameters<a name="carla.OpendriveGenerationParameters"></a>
This class defines the parameters used when generating a world using an OpenDRIVE file.
<h3>Instance Variables</h3>
- <a name="carla.OpendriveGenerationParameters.vertex_distance"></a>**<font color="#f8805a">vertex_distance</font>**
The distance between vertices when generating the world mesh from OpenDRIVE.
- <a name="carla.OpendriveGenerationParameters.max_road_length"></a>**<font color="#f8805a">max_road_length</font>**
Max road length for a single mesh portion.
- <a name="carla.OpendriveGenerationParameters.wall_height"></a>**<font color="#f8805a">wall_height</font>**
Defines the height of walls added to roads to prevent vehicles from falling.
- <a name="carla.OpendriveGenerationParameters.additional_width"></a>**<font color="#f8805a">additional_width</font>**
Additional with to junction lanes to prevent vehicles from falling.
- <a name="carla.OpendriveGenerationParameters.smooth_junctions"></a>**<font color="#f8805a">smooth_junctions</font>**
When this variable is `True` the generated junctions will be smoothed to prevent roads from blocking other roads.
- <a name="carla.OpendriveGenerationParameters.enable_mesh_visibility"></a>**<font color="#f8805a">enable_mesh_visibility</font>**
This variable indicates whether the mesh should be rendered to reduce the rendering overhead.
---
## carla.RadarDetection<a name="carla.RadarDetection"></a>
Data contained inside a [carla.RadarMeasurement](#carla.RadarMeasurement). Each of these represents one of the points in the cloud that a <b>sensor.other.radar</b> registers and contains the distance, angle and velocity in relation to the radar.

View File

@ -428,3 +428,28 @@
doc: >
With hybrid physics on, changes the radius of the area of influence where physics are enabled.
# --------------------------------------
- class_name: OpendriveGenerationParameters
# - DESCRIPTION ------------------------
doc: >
This class defines the parameters used when generating a world using an OpenDRIVE file.
# - PROPERTIES -------------------------
instance_variables:
- var_name: vertex_distance
doc: >
The distance between vertices when generating the world mesh from OpenDRIVE.
- var_name: max_road_length
doc: >
Max road length for a single mesh portion.
- var_name: wall_height
doc: >
Defines the height of walls added to roads to prevent vehicles from falling.
- var_name: additional_width
doc: >
Additional with to junction lanes to prevent vehicles from falling.
- var_name: smooth_junctions
doc: >
When this variable is `True` the generated junctions will be smoothed to prevent roads from blocking other roads.
- var_name: enable_mesh_visibility
doc: >
This variable indicates whether the mesh should be rendered to reduce the rendering overhead.