Failed to load OpenDRIVE data: Failed to convert '-'

조회 수: 1 (최근 30일)
亲
2023년 5월 4일
답변: MULI 2024년 11월 6일
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
  1. Is it possible to output more detailed error information, such as which line in the OpenDRIVE file?
  2. How to fix the problem?
  댓글 수: 1
Govind KM
Govind KM 2024년 9월 23일
Hi @亲, could you provide your OpenDRIVE file to try and reproduce this issue?

댓글을 달려면 로그인하십시오.

답변 (1개)

MULI
MULI 2024년 11월 6일
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.

카테고리

Help CenterFile Exchange에서 Get Started with RoadRunner에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by