Closed 14vv1A0516 closed 1 month ago
You have set a mobility model and static positioning in the same scenario. What do you actually want to do?
Thank you for the reply. Sir, I want to move the vehicles from one point to another. That's it. What is the issue ? Can you please correct which line of code has the issue ? One more question is you mentioned that I set a mobility model and static positioning in the same scenario. In that case, the mobility or code works fine with 10 vehicles. Issue arises when I create 11th vehicle. May I know my mistake ?
Sir, I corrected the issue. I actually gave same MAC address for both sta1 and sta11. So, the position is unclear in the code. I corrected the MAC addresses. It works fine now. Thank you so much Sir.
The code works perfectly fine for 10 stations. When I try to create more than 10 stations in the above code, I get the following error. It is very strange to see this error. I hope the error is related to positioning of vehicle or network interface. I checked in issues and mininet-wifi conversations as well but of no use. Can you please help me resolve this ?
Creating nodes Configuring wifi nodes sta1-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta2-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta3-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta4-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta5-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta6-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta7-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta8-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta9-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta10-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information sta11-wlan0: the signal range should be changed to (at least) 116m >>> See https://mininet-wifi.github.io/faq/#q7 for more information Traceback (most recent call last): File "/home/mani/Desktop/Comparison Papers_Final_May17/Comparison Papers/Provable/test_eror.py", line 86, in
topology()
File "/home/mani/Desktop/Comparison Papers_Final_May17/Comparison Papers/Provable/test_eror.py", line 30, in topology
net.configureWifiNodes()
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/net.py", line 1380, in configureWifiNodes
self.start_wmediumd()
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/net.py", line 1278, in start_wmediumd
wmediumd(wlinks=self.wlinks, fading_cof=self.fading_cof,
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/link.py", line 1483, in init
self.configWmediumd( kwargs)
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/link.py", line 1527, in configWmediumd
self.interference(nodes)
File "/usr/local/lib/python3.10/dist-packages/mininet_wifi-2.6-py3.10.egg/mn_wifi/link.py", line 1567, in interference
self.positions.append(w_pos(intf.wmIface, [posX, posY, posZ]))
AttributeError: 'managed' object has no attribute 'wmIface'**