You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have generated our own map using RoadRunner and the CARLA editor in UE4 for Ubuntu 18.04, but we have some problems that I will comment below, in case someone can give us an explanation as we are a bit lost. We are trying to use CARLA together with the map we have created in combination with our CORTEX tool (https://github.com/robocomp/cortex). This tool has only been tested on Ubuntu 20.04, so to test the map we created, we exported the map from the build version of CARLA 0.9.13 on Ubuntu 18.04 and imported it in a package version of CARLA 0.9.13 on Ubuntu 20.04.
The map loads without any problems on Ubuntu 20.04, we are even able to spawn vehicles, develop and combine sensors and access sensor information without any problems. However, when we launch the server and try to use the get_map method (using python 3.8), we get the following error:
"RuntimeError: s <= road->GetLength()"
From what I have been able to check in the issues in the GitHub repository it seems that this error may be due to errors in the definition of the map (#3607).
However, we have been able to verify that this error only occurs when we run the get_map method from the Ubuntu 20.04 installation. That is, in Ubuntu 18.04, both in the package version and in the CARLA build we are able to use both the get_map method and to run the TrafficManager (using the example script generate_traffic.py) without any problem. We even tried launching the CARLA server together with our map on Ubuntu 20.04 and running scripts from the Ubuntu 18.04 machine with the get_map method and using traffic manager pointing to the ip address of the machine where the CARLA server is launched (Ubuntu 20.04) and everything worked correctly. However, the other way around (server on Ubuntu 18.04 and python client on ubuntu 20.04) the same error was generated again.
We tried installing python 3.6 and python 3.7 on Ubuntu 20.04 in case that was the problem, but again the same error was generated again.
Add, that with CARLA's default maps this method does seem to work without any problems on Ubuntu 20.04. This has also led us to think that it could be a problem with our map, but we are concerned that in Ubuntu 18.04 we are able to make it work without any problem.
CARLA version: 0.9.13
Platform/OS: Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We have generated our own map using RoadRunner and the CARLA editor in UE4 for Ubuntu 18.04, but we have some problems that I will comment below, in case someone can give us an explanation as we are a bit lost. We are trying to use CARLA together with the map we have created in combination with our CORTEX tool (https://github.com/robocomp/cortex). This tool has only been tested on Ubuntu 20.04, so to test the map we created, we exported the map from the build version of CARLA 0.9.13 on Ubuntu 18.04 and imported it in a package version of CARLA 0.9.13 on Ubuntu 20.04.
The map loads without any problems on Ubuntu 20.04, we are even able to spawn vehicles, develop and combine sensors and access sensor information without any problems. However, when we launch the server and try to use the get_map method (using python 3.8), we get the following error:
"RuntimeError: s <= road->GetLength()"
From what I have been able to check in the issues in the GitHub repository it seems that this error may be due to errors in the definition of the map (#3607).
However, we have been able to verify that this error only occurs when we run the get_map method from the Ubuntu 20.04 installation. That is, in Ubuntu 18.04, both in the package version and in the CARLA build we are able to use both the get_map method and to run the TrafficManager (using the example script generate_traffic.py) without any problem. We even tried launching the CARLA server together with our map on Ubuntu 20.04 and running scripts from the Ubuntu 18.04 machine with the get_map method and using traffic manager pointing to the ip address of the machine where the CARLA server is launched (Ubuntu 20.04) and everything worked correctly. However, the other way around (server on Ubuntu 18.04 and python client on ubuntu 20.04) the same error was generated again.
We tried installing python 3.6 and python 3.7 on Ubuntu 20.04 in case that was the problem, but again the same error was generated again.
Add, that with CARLA's default maps this method does seem to work without any problems on Ubuntu 20.04. This has also led us to think that it could be a problem with our map, but we are concerned that in Ubuntu 18.04 we are able to make it work without any problem.
CARLA version: 0.9.13
Platform/OS: Ubuntu 20.04
The text was updated successfully, but these errors were encountered: