fix util/config.py's example usage's option string
This commit is contained in:
parent
4ad3080e72
commit
0b631213fb
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue