Hello,
I encountered an issue while running the map parser. To be more specific, the output picture displayed a few mistakes after I ran test_xodr_parser() in ~/tactics2d/test/test_map_parser.py to parse my own xodr file. The output is as follows and the errors have been circled.
The issue that have arisen can possibly be classified into two main groups: 1. the offset of some parking spaces; 2.the incomplete display of road. I have found that the first circumstance is caused by the function load_objection(). https://github.com/WoodOxen/tactics2d/blob/792ecd0f862588c817e1557a169314d9813caa42/tactics2d/map/parser/parse_xodr.py#L362-L364 indicates that the parser only considers the case that the road’s geometry type is line, resulting in the deviation.
Hello, I encountered an issue while running the map parser. To be more specific, the output picture displayed a few mistakes after I ran test_xodr_parser() in ~/tactics2d/test/test_map_parser.py to parse my own xodr file. The output is as follows and the errors have been circled.
The issue that have arisen can possibly be classified into two main groups: 1. the offset of some parking spaces; 2.the incomplete display of road. I have found that the first circumstance is caused by the function load_objection(). https://github.com/WoodOxen/tactics2d/blob/792ecd0f862588c817e1557a169314d9813caa42/tactics2d/map/parser/parse_xodr.py#L362-L364 indicates that the parser only considers the case that the road’s geometry type is line, resulting in the deviation.