How did you integrate SUMO with NS3? Is is online (both simulators running in parallel) or offline (through trace file)?
1. Is it possible to create V2I scenario using NS-3 in correspondence with SUMO?
Yes.
2. Can we build some static nodes within NS-3 and the co-join them with our previous code having V2V scenario? And How?
Yes. I guess you know how to create nodes in ns3. Setting them with a static nobility model is in the tutorial. Since they are in the same scenario, talking on the same channel they will communicate.
3. Is it possible to log all transmitted and received nodes data?
Yes. The same NetDevice are installed on either nodes (static or mobile) so tracing is the same. ASCII, PCAP or any other type as described in the documentation.
There is a presentation from last year training on vehicular communication with ns3 here
https://www.nsnam.org/wiki/AnnualTraining2015
Regards
K.
Thank you for your reply.
I am generating trace files from SUMO and then giving it to the NS-3 using ns2-mobility-trace.cc. Then using 802.11p Wifi Architecture, I implemented V2V scenario and create a communication pattern between the nodes(vehicles).
Now I am analysing the packet structure and sorting out the best routing models.
1. There are large Number of packets being transmitted between nodes and same packets are received multiple times and how can I restrict them?
Alongside this, I want to implement V2I scenario in the same code. So establishing a static nodes(which acts as infrastructure) doesn't went well. Because the static node not adjusting with the trace file and creates a mess.
2. Is there any other approach to create V2I scenario in NS-3 and then co-join them with our previous code having V2V scenario?
3. Can we create an hand-off between infrastructure nodes?
A very huge thanks for your reply.
I implemented V2I by changing some of the values in the trace file and it works fine. And Frankly I am not satisfied with the results as it look much like a broadcasting message packets.
1. How can I send packets to some particular nodes only?
2. Is there is way to change my broadcasting packet to unicast/multicast, so that it can eliminate lot of problems because I can't figure out how to implement using WiFi (802.11p) in Adhoc mode?
I am thinking like, A stable communication between infrastructure nodes and then establish a communication between vehicles to infrastructure.
2. So I have a thought like achieving V2V using WiFi (802.11p) and and V2I using Wimax. I have an idea like creating every node from start using constant-mobility model and it takes lot of time and effort. Can you please suggest any other way if it is possible?
On Wednesday, June 15, 2016 at 1:36:50 PM UTC+1, Nikhil Reddy wrote:A very huge thanks for your reply.