I am using SimuLTE and Veins simulating sending safety message via LTE. The content of the message depends on the real-time values of the traffic, e.g., mean speed. In order to get such values, I plan to use TraCICommandInterface
supported by Veins. However, I could not find out how and where I can do this. To be specific, in Veins without SimuLTE, I know the vehicle node is a module of TraCIMobility
, which has an application layer, where we can customize the functions for receiving/sending messages, such as wsm, and managed by TraCIScenarioManager
. However in the simulation example provided by SimuLTE, the vehicle/node is a module of VeinInetMobility
, which is managed by VeinInetManager
. Neither of them are using TraCICommandInterface
or TraCIMobility
. Besides, the lte applications are not using the same layer as BaseWaveApplLayer, where we can take some action as soon as the vehicle/node updates the position. Can anyone help explain how I could possibly implement the following using SimuLTE and Veins:
- In order to monitor the vehicle/node values using TraCI, which class should I modify to use TraCI? VeinsInetMobility, VeinsInetManager or else?
- How can I take action in the application only when there is a position update to the vehicle/node?
- What is the essential difference between VeinsInetMobility and TraCIMobility? Can I use the latter for LTE scenario?