wangrongwei / omnetpp_primer Goto Github PK
View Code? Open in Web Editor NEWOMNeT++的仿真手册
OMNeT++的仿真手册
关于send广播的问题其实在官网SimulationManul文档的4.7.3描述的很清楚。虽然本文档的方法不能说是错误,但是却容易使读者陷入误区,认为是一个Module只能同时进行一个send,事实上官方文档的解释是一个Message不能多次发送,并且官网给出了广播发送的方法:
for (int i = 0; i < n; i++)
{
cMessage *copy = msg->dup();
send(copy, "out", i);
}
delete msg;
或:
int outGateBaseId = gateBaseId("out");
for (int i = 0; i < n; i++)
send(i==n-1 ? msg : msg->dup(), outGateBaseId+i);
本身文档也是中文,我就不翻译成英文了,本人时间有限,希望有精力的朋友修改相应部分,在修改之前这个issue设置为open供大家参考
作者的这种使用显式字符串的方法修改节点位置在平面是可行的,但是我借助INET库下的showcases/mobility/spatial中的例子构造3d场景,在osg下的IntegratedOsgVisualizer场景下,网络仿真的节点好像就没有p属性了。那么作者当时进行无人机仿真的时候是怎么弄的呢,无人机的移动得有xyz吧。期望得到回复,十分感谢!!!
辛苦了~
3.2.1的第二行“我们需要选择c/c++》》Syntax Coloring” 路径中间少了一个“Editor”。
完整的应该是“c/c++》》Editor》》Syntax Coloring” 。
多谢作者给我们新手提供此教程!
Now, we have submit several commits for branch opening, and has merged these comment into master, but not update pdf file.
commit 98a8c0e48bb7a7c98d72ee36c670ba23bb50f8ff
The content of extend3.md file is very nice, especially those math formulae. But those formulae are figure type, we can use the latex function of markdown instead of a figure.
So, Could you have time to change those formulas?
thx
The content of extend0.md is same with chapter_7.md, so I advise we can delete the extend0.md file and then add those content into chapter_7.md file
what do u think?
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.