You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namdre
changed the title
vehicle type missing in saved state for vehicle added via TraCI
vehicle type missing in saved state and vehroute-output for vehicle added via TraCI
Jun 7, 2023
Hi, I think the patch works only if the type and vehicle ID are the same.
Example: if you have a vehicle with ID 'xx_0' but type 'xx', the saved state will have for both ID and type 'xx_0', and therefore you will have an error for type 'xx_0' not existing when trying to load that saved state in the same simulation. It could be circumvented by having one type for each vehicle added, but I think a more flexible approach would be to indeed show the type in the vehicle type statement within the saved state. That would correspond to a modification as: vehicleParams.vtypeid = typeID;
on line 1522 of Vehicle.cpp
No description provided.
The text was updated successfully, but these errors were encountered: