Hi,

Thank you for your email. I have attached a zip file
below. teleporting_vehicle_v1.py does not save any states
and teleporting_vehicle_v2.py saves and loads state once.

On Fri, Nov 20, 2020 at 1:19 PM Jakob Erdmann <[email protected]> wrote:

> This problem has not been reported before. Please send in a minimal
> example scenario (either to the mailing list or attached as a zip on a new
> github issue).
>
> regards,
> Jakob
>
> Am Fr., 20. Nov. 2020 um 19:25 Uhr schrieb . Abdullah <[email protected]>:
>
>> Hi,
>>
>> I have a network where only 2 cars are travelling (for testing purpose).
>> If I let the simulation run to completion none of cars stand too long in
>> front of an intersection and no teleportation occurs. But when I save a
>> state in the middle of the simulation and start the simulation again from
>> the saved state, the cars do travel to the nearest intersection but then
>> they get stuck there and get teleported to the next edge. They do not move
>> even when there is a green phase or there are no vehicles in the opposite
>> lanes. Has anybody faced this kind of problem before and know why this is
>> happening?
>>
>> For saving state I am using:
>> traci.simulation.saveState('saved_simulation')
>> traci.close()
>>
>> And for loading state:
>> traci.start([checkBinary('sumo-gui'), "-c", "config.sumocfg",
>> "--load-state", 'saved_simulation'])
>>
>> I am using SUMO 1.7.0. Let me know if you want me to give you a small
>> code for sanity check.
>>
>> --
>> Thank you.
>> Abdullah
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>


-- 
Thank you.
Abdullah

<<attachment: test_code_for_teleporting_vehicle.zip>>

_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to