Added note about directory needing write permissions to parse xodr correctly.

This commit is contained in:
corkyw10 2021-04-09 16:06:08 +02:00 committed by bernat
parent 9dfb793193
commit f295d1eebf
1 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@ python3 config.py -x opendrive/TownBig.xodr
```
!!! Important
__[client.generate_opendrive_world()](python_api.md#carla.Client.generate_opendrive_world)__ uses __content of the OpenDRIVE file parsed as string__. On the contrary, __`config.py`__ script needs __the path to the `.xodr` file__.
__[client.generate_opendrive_world()](python_api.md#carla.Client.generate_opendrive_world)__ uses __content of the OpenDRIVE file parsed as string__. On the contrary, __`config.py`__ script needs __the path to the `.xodr` file__.
!!! Note
If you experience the error `opendrive could not be correctly parsed`, ensure that there are write permissions on the `CarlaUE4/Content/Carla/Maps/OpenDrive/` directory. This is required by the server to parse the `xodr` file correctly.
---
## Mesh generation