Closed ebadi closed 3 years ago
When you brought up this issue, I looked at the values and noticed all decimal information was missing. "locale" popped into my mind. When setting locale to the C fallback explicitly, it works on my system:
cd ~/OpenRoadEd
LC_ALL=C OpenRoadEd/build/OpenRoadEd
I do not know of an equivalent workaround for this on Windows or how to force the locale from within the program. I also do not know if this is an issue within Qt or the xml processor.
Great, another issue is now fixed. :)
As it is already known, even the sample opendrive file cannot be opened by tools correctly. After a few hours of debugging I noticed that the road file that is opened by OpenRoadEd doesn't look like the same as the road that is saved by the same version of the OpenRoadEd and I suspect that it has either sth to do with loading or saving these files since the values for many parameters are not identical in these two states.
Road shape that is created by OpenRoadEd:
The resulting OpenDrive file saved on disk test.txt
The opendrive that is loaded by OpenRoadEd: