veins安装及运行笔记

一、veins的安装

  1. 下载地址:veins安装包
  2. 打开OMNeT++,File–>Import–>veins文件夹,引入veins。

二、Veins例子运行:

  1. File > Import > General: Existing Projects into Workspace,导入veins,
  2. 打开omnetpp下的mingwenv.cmd
  3. cd …/veins-5.0/examples/veins,进入veins文件夹
  4. /d/src/sumo/bin/sumo.exe -c erlangen.sumo.cfg,启动SUMO,运行后会出现"Loading configuration… 5one."
  5. /d/src/veins-5.0/sumo-launchd.py -vv -c /d/src/sumo/bin/sumo.exe,建立OMNeT++与SUMO之间的tcp连接,为每个OMNeT++的仿真连接,启动一个新的SUMO仿真副本。运行后会出现“Listening on port 9999”。
  6. 选择ini文件,RUN
PS:相关链接:
1、Veins解析:

系列一、https://blog.csdn.net/xiaoxiao123jun/article/details/79406654

2、Omnet++内置aloha案例解读:

https://blog.csdn.net/leo_walking_in_cold/article/details/50506475

3、Tic Toc案例解析:

一https://blog.csdn.net/xpj8888/article/details/51714258
二https://blog.csdn.net/xpj8888/article/details/51719097
三https://blog.csdn.net/xpj8888/article/details/51734813

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值