Closed mufaawan closed 2 years ago
Hi,
You can take handover_bgscan.py as reference.
I fixed the issue by suggested solution. Simulation started, when I click 'Locate Vehicles'. I see no vehicles list.
Just for the sake of confirmation I executed vanet-sumo.py
from examples. Even with that example file without any change I see no vehicles list under 'Locate Vehicles'. Please suggest me if I need to do anything.
I am using preconfigured VM. And I confirmed that there is data folder inside mn_wifi/sumo. This folder has all files.
Which SUMO version do you have??
I have this version.
Have you ever read the requirements??
So I updated to v1.11. Still can't see any vehicle in the list.
How can I reproduce the issue?
You can reproduce by loading pre-configured VM(latest:without p4). And just execute vanet-sumo.py
from examples.
Okay. You are using the VM. Can you please do a git pull
, run sudo make install
and then run the code one more time?
It worked this time.
Thank you so much.
I am sorry for asking too much. But I have one more question. Actually I am upgrading the repo to work with latest Mininet wifi.
https://github.com/jafar-albadarneh/SDS-Mininet-WiFi/blob/master/SDCD/sdcd-experimental.py
On line 146 and 155 there is an array accessed from net object like net.carsSTA
which was part of v2.2. I have been struggling to find the same array in latest version.
One parallel request is to please provide the link to preconfigured VM for version 2.2. It must be somewhere in your google drive. It would make alot of things easy for me.
Thank you.
@ramonfontes I am waiting for kind response.
On line 146 and 155 there is an array accessed from net object like net.carsSTA which was part of v2.2. I have been struggling to find the same array in latest version
There is no carsSTA anymore. However, you can easily reproduce the same setup by connecting a switch to the vehicle.
One parallel request is to please provide the link to preconfigured VM for version 2.2. It must be somewhere in your google drive. It would make alot of things easy for me.
There is no VM for old releases.
I have been trying to convert code from following link which was supposed to work on with mininet-wifi 2.2. But I am converting it to work with latest mininet-wifi. https://github.com/jafar-albadarneh/SDS-Mininet-WiFi/blob/master/SDCD/sdcd-experimental.py
On line number 96 there is an statement:
net.setBgscan(signal=-45, s_inverval=5, l_interval=10)
I found that there is no setBgscan function anymore in net.py. How am I supposed to handle this change?