diff --git a/Docs/python_api.md b/Docs/python_api.md index ac3248830..b8c231fe3 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -1845,7 +1845,19 @@ If __True__, the mesh at junctions will be smoothed to prevent issues where road - **enable_mesh_visibility** (_bool_) If __True__, the road mesh will be rendered. Setting this to __False__ should reduce the rendering overhead. __Default is `True`__. - **enable_pedestrian_navigation** (_bool_) -If __True__, Pedestrian navigation will be enabled using Recast tool. For very large maps it is recomended to disable this option. __Default is `True`__. +If __True__, Pedestrian navigation will be enabled using Recast tool. For very large maps it is recommended to disable this option. __Default is `True`__. + +### Methods +- **\__init__**(**self**, **vertex_distance**=2.0, **max_road_length**=50.0, **wall_height**=1.0, **additional_width**=0.6, **smooth_junctions**=True, **enable_mesh_visibility**=True, **enable_pedestrian_navigation**=True) +OpendriveGenerationParameters constructor. + - **Parameters:** + - `vertex_distance` (_float - meters_) + - `max_road_length` (_float - meters_) + - `wall_height` (_float - meters_) + - `additional_width` (_float - meters_) + - `smooth_junctions` (_bool_) + - `enable_mesh_visibility` (_bool_) + - `enable_pedestrian_navigation` (_bool_) --- diff --git a/PythonAPI/docs/client.yml b/PythonAPI/docs/client.yml index 2977c9337..e8a811162 100644 --- a/PythonAPI/docs/client.yml +++ b/PythonAPI/docs/client.yml @@ -793,4 +793,36 @@ - var_name: enable_pedestrian_navigation type: bool doc: > - If __True__, Pedestrian navigation will be enabled using Recast tool. For very large maps it is recomended to disable this option. __Default is `True`__. + If __True__, Pedestrian navigation will be enabled using Recast tool. For very large maps it is recommended to disable this option. __Default is `True`__. + # - METHODS ---------------------------- + methods: + - def_name: __init__ + params: + - param_name: vertex_distance + type: float + param_units: meters + default: 2.0 + - param_name: max_road_length + type: float + param_units: meters + default: 50.0 + - param_name: wall_height + type: float + param_units: meters + default: 1.0 + - param_name: additional_width + type: float + param_units: meters + default: 0.6 + - param_name: smooth_junctions + type: bool + default: true + - param_name: enable_mesh_visibility + type: bool + default: true + - param_name: enable_pedestrian_navigation + type: bool + default: true + doc: > + OpendriveGenerationParameters constructor +