问题
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.
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
回答1:
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.
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
来源:https://stackoverflow.com/questions/46609196/building-my-own-veins-scenario