Failed to load OpenDRIVE data: Failed to convert '-'
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello, i drag the opendrive(.xodr) to the library browser.
but, something is wrong when i drag the resource to the scene.
The error message:
Loading OpenDRIVE file 'D:/xxx.xodr'
ERROR: Failed to load OpenDRIVE data: Failed to convert '-' (file 'D:/xxx.xodr')
ERROR: INTERNAL FAILURE: Scene failed to load, will not attempt transform
- Is it possible to output more detailed error information, such as which line in the OpenDRIVE file?
- How to fix the problem?
Respuestas (1)
MULI
el 6 de Nov. de 2024 a las 11:19
Hi,
It looks like you are facing an error because there is an invalid character, like '-' where a number should be, in your file. This is causing the loading process to fail. Here are a couple of steps you can try to fix this:
Edit the OpenDRIVE File:
- Open your .xodr file using a text editor that shows line numbers, like Notepad++ or Visual Studio Code.
- Look for any '-' characters in places where numbers should be. Replace them with valid numbers, like '0' or another suitable default.
Consider upgration:
- If you are using an older version of RoadRunner, think about upgrading to a newer version, like R2023b. It might give you clearer error messages or even solve the problem for you.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!