addola / ns3-helperscripts Goto Github PK
View Code? Open in Web Editor NEWHelper Scripts to run NS3
Helper Scripts to run NS3
First of all, thank you for your contribution, it helped me a lot!
For unicast, I have the following two questions:
Why do I still receive drop and rx messages between other nodes when I use unicast?
Is there any relevance for TxInfo for broadcast and unicast?
here are my broadcast and unicast codes (I'm checked they all have the right conditions to run) :
if(json_object["castMethod"].asString() == "broadcast"){
Mac48Address brocast_mac = Mac48Address::GetBroadcast();
Simulator::Schedule(Seconds(scheduleTime), &WaveNetDevice::SendX, wd, p, brocast_mac, protocol, tx);
} else if(json_object["castMethod"].asString() == "unicast") {
Ptr d2 = DynamicCast(ds.Get(json_object["receiverId"].asInt()));
Mac48Address unicast_mac = Mac48Address::ConvertFrom (d2->GetAddress());
TxInfo tx_u;
Simulator::Schedule(Seconds(scheduleTime), &WaveNetDevice::SendX, wd, p, unicast_mac, protocol, tx_u);
}
thanks!
Hi, I'm running wave-test.cc. I would really aprreciate if you could reply.
Why node 1 and node 2 have same source MAC address? Like follows:
/NodeList/1/DeviceList/0/$ns3::WaveNetDevice/PhyEntities/0/MonitorSnifferRx
Size=288 Freq=5890 Mode=OfdmRate6MbpsBW10MHz Signal=-34.6468 Noise=-96.9763
Destination MAC : ff:ff:ff:ff:ff:ff Source MAC : 00:00:00:00:00:08
/NodeList/2/DeviceList/0/$ns3::WaveNetDevice/PhyEntities/0/MonitorSnifferRx
Size=288 Freq=5890 Mode=OfdmRate6MbpsBW10MHz Signal=-45.1314 Noise=-96.9763
Destination MAC : ff:ff:ff:ff:ff:ff Source MAC : 00:00:00:00:00:08
Interesting repo :)
I tried to include runy your NS3-HelperScripts/examples/MobilityExample/custom-mobility-model.cc, but I am missing the #include "ns3/console-color.h" which is not part of the ns-3 repo.
Moreover, your repo is missing a license file...maybe you can add one ;) e.g. CC-BY-4.0 License or whatever...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.