BSM pdr Zero

82 views
Skip to first unread message

Gopal Rawat

unread,
Mar 8, 2020, 12:52:37 PM3/8/20
to ns-3-users
i am new to NS3, tried reading few modules and examples, tried modifying vanet-routing-compare.cc  for only wave messages and related parameters  with a different SUMO trace file.
The code runs with BSM pdr value zero for the whole simulation.
Not sure what is the issue. Would really appreciate any suggestions / help.
myP.cc

Sunny

unread,
Mar 10, 2020, 11:34:11 AM3/10/20
to ns-3-users
I think you have disabled its wifiphy, if it is disabled enable it;

Gopal Rawat

unread,
Mar 12, 2020, 2:11:26 PM3/12/20
to ns-3-users
I think the wifiPhy is enabled , but to ensure that its working fine  i have tried to modify the code by following the link https://www.nsnam.org/docs/models/html/wave.html. Attached is the edited file.

Still the code runs with zero bsm values for whole simulation time.  (  ns3.30.1) . Any suggestions?
myP.cc

Gopal Rawat

unread,
Mar 15, 2020, 7:07:15 AM3/15/20
to ns-3-users
The code works , when ipv4 was Assigned to the devices.
But i am still confused  vanet-routing-compare.cc did not assigned Ipv4 and still worked .
Reply all
Reply to author
Forward
0 new messages