Hello Kifayat
Yes, most certainly you should create your own .msg files by extending the WaveShortMessage. You may also amend this file only to make your things work but there are two catches:
- You will need to add more functions to actuate your new message format, which, if you write in the same file, may cause some legacy behaviour to get altered.
- WSM is used everywhere in 802.11p applications, as far as I know. But you would like to use your message format to work only on certain connections I suppose. Editing wsm will cause message size to increase everywhere which may cause more packets to be dropped in the network or more noise in the received packet due to increase in the length.
So it is advisable to create your own .msg files.
As for your second query, the same arguments do as the previous one. However, I personally feel that the given definitions of RSU and Car are sufficient for all applications. What you might wanna change is the accident parameters in the .ned or the accidentCount variable in your nodes. Since these are just to facilitate the accident scenario and will not have any effect on the network, as you will not be simulating that scenario, you just need to default some values to them rather than totally delete the parameters.
Cheers
Anmol Dalmia
Summer Research Intern
Technische Universität Chemnitz, Germany