Traceback (most recent call last):
File "/home/mas/vanet-rev3.py", line 199, in <module>
VanetSetup(50)
File "/home/mas/vanet-rev3.py", line 179, in VanetSetup
wBSMHelper.Install(vInterfaces, ns.core.Seconds(stopTime), 200,ns.core.Seconds(0.1), 40, txRange, 1, ns.core.MilliSeconds(10) )
TypeError: ['function takes at most 1 argument (8 given)', 'function takes at most 1 argument (8 given)', 'parameter must be None, a Std__vector__lt___double___gt__ instance, or a list of double']
but couldn't find explicit list of accessible attributes so I tried t fill it using SetAttribute in the
wBSMHelper.SetAttribute("m_WavePacketSize", ns.core.IntegerValue(200))
but received the follwoing error:
msg="Invalid attribute set (m_WavePacketSize) on ns3::BsmApplication", file=../src/core/model/object-factory.cc, line=69
terminate called without an active exception
Fatal Python error: Aborted
I tried then to install BSMApplication on the nodes without WBSMHelper Class. This time it complains about Setup() Function of BSMApplication Class:
Traceback (most recent call last):
File "/home/mas/vanet-rev3.py", line 200, in <module>
VanetSetup(50) # CCH_Time Must be integer in ms [5, 95]
File "/home/mas/vanet-rev3.py", line 190, in VanetSetup
bsmApp.Setup(vInterfaces, i, ns.core.Seconds(stopTime), 200,ns.core.Seconds(0.1), 40, txRange,wBSMStat,0, 1, ns.core.MilliSeconds(10) )
AttributeError: 'wave.BsmApplication' object has no attribute 'Setup'