fix util/config.py's example usage's option string

This commit is contained in:
Zhuo Zhang 2020-10-19 10:37:06 +08:00 committed by bernat
parent 4ad3080e72
commit 0b631213fb
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ world = client.generate_opendrive_world(
__b) Using `config.py`__ — The script can load an OpenStreetMap file directly into CARLA using a new argument.
```
python3 config.py --osm-file=/path/to/OSM/file
python3 config.py --osm-path=/path/to/OSM/file
```
!!! Important
[client.generate_opendrive_world()](python_api.md#carla.Client.generate_opendrive_world) requires the __content of the OpenDRIVE file parsed as string__, and allows parameterization. On the contrary, __`config.py`__ script needs __the path to the `.xodr` file__ and always uses default parameters.