如何将基本的相扑场景与omnet ++网络结合起来?

问题描述 投票:1回答:1

我在VirtualBox上使用虚拟机instant-veins-4-7-1-i1.ova。

我创造了一个有两辆车的相扑场景(my_nodes.nod.xmlmy_edge.edg.xmlmy_type.type.xmlmy_net.net.xmlmy_net.rou.xmlmy_config_file.sumocfg)。从终端启动sumo-gui命令并选择my_config_file.sumocfg文件,我可以运行场景模拟。

我已经在Omnet ++网站上关注了Tictoc教程,如果我在Omnet ++ IDE上运行它,它将正常工作。

在Omnet ++ IDE中,我能够正确运行Veins Erlangen示例。

现在,我想整合我的相扑场景和Tictoc网络,以实现类似于Veins Erlangen示例的模拟。我应该遵循哪些步骤?

谢谢。

omnet++ veins sumo
1个回答
1
投票

一个简单的答案是通过添加the Veins 4.7.1 tutorial simulation's network节点和Tic节点来修改Toc。不过,我猜,这不是你的想法。您可能想要更改静脉教程模拟以使用my_config_file.sumocfg而不是its own erlangen.sumo.cfg file

configured as the road traffic simulation in omnetpp.ini文件名为erlangen.launchd.xml。通过更改此文件(或将模拟配置为使用另一个文件),您可以更改运行静脉示例时模拟的SUMO方案。

© www.soinside.com 2019 - 2024. All rights reserved.