how can i get information such as roadid in order to use it as a new field for example in beacon messages from BaseWaveApplLayer.cc?
best, Pavlos
how can i get information such as roadid in order to use it as a new field for example in beacon messages from BaseWaveApplLayer.cc?
best, Pavlos
There is the class
TraCICommandInterface
which provides access methods for such data likegetRoadId()
.In the class
TraCIDemo11p
you can find an example how to get this information. It basically boilds down to performing the following steps: