建立自己的脉络方案 [英] Building my own veins scenario

查看:81
本文介绍了建立自己的脉络方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从头开始构建一个方案. 在直路上行驶的两辆车.有一个RSU. rsu每10秒广播一次速度值.车辆应减速以达到该值.

I need to build a scenario from scratch. Two vehicles moving on a straight road. There is a single rsu. The rsu brodcasts the speed value every 10s. Vehicles should slow down to reach that value.

我的问题是 我可以将味精视为信标吗?如果是,我如何在rsu应用程序中设置信标msg?如果没有,如何实现这种情况

My question is can i consider the msg as a beacon? If yes, how can i set the beacon msg in the rsu application? And if no, how to implement such scenario

推荐答案

您可以查看以下已回答的问题,因为它们与您的问题有些相似,或者至少使您了解了如何处理车辆之间的消息在静脉中.

You can have a look at the following answered questions, since they are somewhat similar to your question or at least give you some insight in how messages between vehicles are handled in Veins.

请注意,您应该首先了解OMNeT ++的工作原理.您可以使用 TicToc教程来实现.

Please note that you should get a basic understanding of how OMNeT++ works first. You can use the TicToc tutorial to do that.

  • how to getting start to build a veins application
  • what policy is based vehicle rerouting in case of accident?
  • What exactly does handleParkingUpdate() do?
  • The necessity of handleSelfMsg in BaseWaveApplLayer

这篇关于建立自己的脉络方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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