GithubHelp home page GithubHelp logo

Can not open Traffic Simulator about limsim HOT 12 CLOSED

ldt17 avatar ldt17 commented on September 28, 2024
Can not open Traffic Simulator

from limsim.

Comments (12)

CRHPlusAI avatar CRHPlusAI commented on September 28, 2024 1

I encounter the same issue. I think if you install sumo 1.16, it would resolve
either do this through pip install eclipse-sumo==1.16.0, or add eclipse-sumo==1.16.0 to the requirement.txt can resolve this issue.

from limsim.

Fdarco avatar Fdarco commented on September 28, 2024

Hello, I noticed that you have set the carla_cosim parameter to True. Are you planning to do a co-simulation? If not, please try setting this parameter to False and run it again.

from limsim.

ldt17 avatar ldt17 commented on September 28, 2024

@Fdarco Thanks for your recommendation. In fact, I have tried both “True” and “False” and obtained the same results which shows nothing with no error.

from limsim.

Fdarco avatar Fdarco commented on September 28, 2024

Did you modify any other code? Or did this problem occur directly when running the code?

from limsim.

ldt17 avatar ldt17 commented on September 28, 2024

Did you modify any other code? Or did this problem occur directly when running the code?

@Fdarco No, I'm just trying your Quick Start but failed. We haven't even reached the stage of co-simulation yet.
image

When we run this code, it becomes unresponsive. The window “TrafficSimulator” will open, but there is nothing on the screen except white.
1695031867542

from limsim.

Fdarco avatar Fdarco commented on September 28, 2024

I’m sorry for the inconvenience. However, I created a new environment in conda with python=3.9.18 and reinstalled the dependencies, and I was not able to reproduce your issue. I noticed that there was a problem with con.getVsersion() in your original Tracback. May I ask what version of SUMO you have installed?
Here are the results when I run it in the new environment:
issue7
image

from limsim.

ldt17 avatar ldt17 commented on September 28, 2024

@Fdarco We completely followed the process in Quick Start, using pip install -r requirements.txt. The following is the installation environment details. Thanks.
image

from limsim.

Fdarco avatar Fdarco commented on September 28, 2024

Sorry, but can you tell me the version of SUMO you installed? I ran it again according to the environment you provided, but I am unable to reproduce this bug. I suspect it may be an issue with the SUMO version.

from limsim.

ldt17 avatar ldt17 commented on September 28, 2024

@Fdarco The version of SUMO is 1.18.0.
image
And I also found that if the “sumogui” in the modelexample.py file is set to 1, the “sumogui” interface can be opened, but the traffic simulator interface still cannot be opened.
1695125217777

from limsim.

Fdarco avatar Fdarco commented on September 28, 2024

Although I cannot guarantee its effectiveness, I suspect it may be due to the backward compatibility of the versions of sumolib and traci. In fact, we have only tested SUMO before version 1.16. If possible, please try installing a lower version of SUMO or upgrading sumolib and traci to the latest version.

from limsim.

ldt17 avatar ldt17 commented on September 28, 2024

@Fdarco We have tried the same process on other devices and found that it runs normally. The sumo versions are 1.18 and 1.17, respectively. However, the above errors still occur on previous devices. Can we assume that the absence of the traffic simulator is not related to the sumo version

from limsim.

github-actions avatar github-actions commented on September 28, 2024

Stale issue message, no activity

from limsim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.