Code Monkey home page Code Monkey logo

omnetpp_primer's Introduction

Reach Router

实用OMNeT++5编程手册

文档说明

omnetpp_primer-zh.pdf记录了我在设计无人机蜂群网络仿真过程中,从初学OMNeT++软件到能灵活使用各种接口所遇到的各种问题,其中也从官方提供的手册中提取出较为常用的接口进行说明,提供一些实用的接口使用方法,最后将其总结成文档回馈开源。
由于我水平有限,难免会存在理解错误的地方,欢迎读者发邮件指出,如果有其他宝贵的建议,也欢迎发邮件交流,希望这个文档能帮助更多的开发者。
部分文件说明如下:

  • dirtree:工程目录树文件,陈列了当前工程各目录下子文件结构
  • img:omnetpp_primer-zh文档所需图片
  • latexbook:omnetpp_primer-zh文档LaTex排版(目前未排版完)
  • pdf:omnetpp_primer-zh文档pdf格式
  • scripts:环境搭建
  • BUILD.md:构建生成pdf环境(Ubuntu18.04)
  • Makefile:生成pdf

下载地址

本文档不定时更新,欢迎到https://github.com/wangrongwei/omnetpp_primer/release下载最新的omnetpp_primer-zh.pdf,如果你想自己编译生成PDF文件,可按照BUILD.md说明搭建编译环境并通过执行make all生成文档。

贡献者

贡献者 贡献内容
@Rongwei 编写第一、二到七部分以及其他一些文章、完善 pdf 格式排版
@Stephenhua 维护chapter_7.md
@Etherly 维护extend扩展系列
@Kmtalexwang 维护omnetpp_primer-zh.pdf的LaTeX排版
@Ericsyoung 维护chapter_6.md仿真结果分析
@hjtczyj 文档修改

欢迎小伙伴们加入:-)

勘误

如果您发现有关技术上的错误或有必要纠正的内容,欢迎发邮件指出。目前文档正在组织中,借鉴了网上相关资料,在这里表示感谢!后续在慢慢加上相关引用。

授权许可

GNU FDL 1.3 (GNU 自由文档许可证)

omnetpp_primer's People

Contributors

ericsyoung avatar etherly avatar f-td5x avatar hjtczyj avatar stephenhua avatar wangrongwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

omnetpp_primer's Issues

5.1.2 关于send的描述有极大的误导性

关于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供大家参考

pdf has behind md files

Now, we have submit several commits for branch opening, and has merged these comment into master, but not update pdf file.

about math formula in extend3.md

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

关于如何从仿真场景读取节点坐标的一些问题

作者的这种使用显式字符串的方法修改节点位置在平面是可行的,但是我借助INET库下的showcases/mobility/spatial中的例子构造3d场景,在osg下的IntegratedOsgVisualizer场景下,网络仿真的节点好像就没有p属性了。那么作者当时进行无人机仿真的时候是怎么弄的呢,无人机的移动得有xyz吧。期望得到回复,十分感谢!!!

extend0.md and chapter_7.md

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?

3.2.1小节的小错误

3.2.1的第二行“我们需要选择c/c++》》Syntax Coloring” 路径中间少了一个“Editor”。
完整的应该是“c/c++》》Editor》》Syntax Coloring” 。

多谢作者给我们新手提供此教程!

一点小小的建议

  1. 把文档迁移到博客上去,不然公式放不上去
  2. 不要公开你的私人联系方式,用一个工作email或者QQ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.