Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs generated in Ubuntu 20.04 that do not appear in Ubuntu 18.04 using the Python API with maps generated by us #5449

Open
SergioBarroso opened this issue May 17, 2022 · 1 comment
Labels
stale Issue has not had recent activity

Comments

@SergioBarroso
Copy link

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

@stale
Copy link

stale bot commented Jun 2, 2023

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.

@stale stale bot added the stale Issue has not had recent activity label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue has not had recent activity
Projects
None yet
Development

No branches or pull requests

1 participant