允许RSU接收静脉信息 [英] Allow a RSU receive messages in Veins

查看:61
本文介绍了允许RSU接收静脉信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试仅用三辆车和一个唯一的固定RSU在Veins(OMNeT ++ + SUMO)上实现非常简单的风景,但是我是Veins的新手,尽管移动非常困难,我已经阅读了很多文档,常见问题和教程!

I'm trying to implement a very simple scenery on Veins (OMNeT++ + SUMO) with just three vehicles and one unique fixed RSU, but I'm new in Veins and I'm not able to move very well, despite the tons of documents, FAQs and tutorials I've already read!

我的起点是默认的TraCI情景演示,但是这里是车辆发送和接收,而RSU只是广播发送.我设法手动修复了RSU(添加MapName.add.xml文件并从MapName.sumo.cfg导入它,然后修改RSU.nedomnetpp.ini).因此,在这一点上,我可以在仿真图上看到我的RSU,SUMO仿真可以顺利完成.但是要解决我的问题,我不仅需要允许RSU发送,而且还允许它接收(我必须建立V2I2V通信).

My start point is the default TraCI scenary demo, but here the vehicles send and receive, while the RSU just send in broadcast. I managed to fix manually my RSU (adding a MapName.add.xml file and import it from MapName.sumo.cfg, and later modifying RSU.ned and omnetpp.ini). So, at this point I can see my RSU on the simulation map, and the SUMO simulation end well. But for resolve my problem I need to allow RSU not only to send, but also to receive (I have to establish a V2I2V communication).

我发现的丰富材料有时类似于我的目标,但分散且缺乏,没有找到任何解决方案.如何编辑此默认风光以达到此效果?拥有完整且有效的代码,或者由比我更有经验的人来驱动.

The copious material I found is sometimes similar to my goal, but dispersive and lacking, and none found any solution. How to edit this default scenery to reach this outcome? Would be extraordinary to have a complete and working code, or be driven by someone more experienced than me.

非常感谢!

推荐答案

Vines 4a2随附的教程已经包含一个RSU,用于接收数据.完成后,它将颜色更改为绿色.参见 TraCIDemoRSU11p :: onData ,了解操作方法.

The tutorial that comes with Veins 4a2 already includes an RSU that receives data. When it does, it changes its color to green. See TraCIDemoRSU11p::onData for how this is done.

这篇关于允许RSU接收静脉信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆