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

Error Running Plexe Platton Example Simulation / TraCI Issue (opp_env build) #48

Open
DillonSeward opened this issue Mar 6, 2025 · 2 comments

Comments

@DillonSeward
Copy link

Hello,

I am trying to set up the plexe simulation framework on my machine. I have attempted to build this simulation framework using the opp_env python tool for/from omnet++. For the building process, I used a Debian Linux Subsystem on my Windows machine so that I could use the Nix package manager that is only supported for Linux and MacOS. I set up a workspace directory. I then used opp_env install plexe-latest to build the framework; this installed [inet-4.2.8 omnetpp-5.7.1 plexe-3.2.1 vines-5.2] in my workspace directory. I confirmed that Omnetpp runs properly with the aloha sample simulation. The veins simulation did not work and gave me the following error:
Image
I also tried to run the platooning sample simulation in plexe using the command from the website plexe_run -u Cmdenv -c Sinusoidal -r 2
and got the following error:
Image
I assume from these errors that the issue is TraCI and Veins related. I am just confused since I have only built this framework from opp_env, so I would think the versions are all compatible. My theory is that I might be running into issues because I am doing this all on a Linux submachine for Windows, but I am not sure.

I am very new to building simulation frameworks, so any help is deeply appreciated. Thank you.

@DillonSeward
Copy link
Author

I have an update. After following the process mentioned in this closed ticket for a very similar plexe issue here, I have gotten my output to look like this:

Image

I could not follow the ticket exactly because when I try to launch sumo from this command mentioned in the ticket
cd ~/src/plexe-veins/examples/platooning
python ~/src/veins/sumo-launchd.py -c <PATH TO SUMO EXECUTABLE>
I get the following:

Image

Where my terminal stays frozen here. Upon inspection, I noticed that veins_launchd is a python file, but is not typed as such. I hope this helps provide further context to my issue. Thank you.

@michele-segata
Copy link
Owner

I didn't know somebody added plexe to opp_env (I didn't do it), but it looks like the versions of the software are wrong. What you can do is to install OMNeT 6.0.1, Veins latest, and then manually install Plexe by compiling it using the opp_env shell terminal. This said, opp_env does not install SUMO, which is necessary to run the simulations. Please also download and install SUMO 1.20.0, and be sure it is added to your PATH (check this by typing sumo in the terminal and make sure that you don't get a command not found error).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants