In a scenario I am simulating in Veins, I need to determine for a car node it's next RoadID value. Since this information is stored in the .route file of the simulation, I think it can be extracted.
The current RoadID value can be returned by the traci->getRoadID() function. I explored how it extracts this ID and could go to that point where new modules are added by the addModule() function but I am unable to understand how it extracts this information.
Please help. Thanks in advance.
For future reference, as @user4786271 noted, this is currently not implemented in Veins 4 alpha 2, nor in SUMO 0.22.
The feature was added in ticket #1823 and is scheduled for addition in SUMO 0.24. The corresponding code to add support to Veins 4 will be: