If the vehicle does not reach the stop and teleporting is activated, then
that may happen. Make the stop larger to accomodate all vehicles or disable
teleporting.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: Re: [sumo-user] traci.vehicle.setStop()
Datum: 2022-08-08T18:37:52+0200
Von: "ali mirzaei" <[email protected]>
An: "[email protected]" <[email protected]>, "Sumo project User
discussions" <[email protected]>
According to my definition using TraCI, the red cars (called 'c1', 'c2',
..., 'c12') are supposed to stop till the end of the simulation which is
1000 seconds.
traci.vehicle.setStop('c1' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c2' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c3' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c4' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c5' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c6' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c7' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c8' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c9' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c10' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c11' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
traci.vehicle.setStop('c12' , edgeID = "e2", pos = "115", laneIndex =
0, duration = 1000)
This is the first picture after inserting the red cars.
[image.png]
As you can see in the next pictures, the number of red cars decrease.
[image.png]
[image.png]
Is it a kind of teleporting?
On Mon, Aug 8, 2022 at 12:07 PM [email protected]
<mailto:[email protected]> <[email protected]
<mailto:[email protected]> > wrote:
So how do you measure the queue length? Did you check in sumo-gui whether
really no vehicle leaves / finishes its route at the stop / ...? It is
difficult to guess the actual problem from your current description.
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] traci.vehicle.setStop()
Datum: 2022-08-05T17:16:46+0200
Von: "ali mirzaei" <[email protected] <mailto:[email protected]> >
An: "Sumo project User discussions" <[email protected]
<mailto:[email protected]> >
Hi everyone,
I use "traci.vehicle.setStop()" to stop the first part of the vehicles at
the rightmost of the path. Then I insert the second part so that they
stop next to the first one using the same function. The first part must
stay there till the end of the simulation but the second part stops
temporarily. To my surprise, the queue length of the first parts gets
shorter while no vehicles of that type are seen to leave the scenario.
Why does this happen?
Best regards,
Ali
_______________________________________________
sumo-user mailing list
[email protected] <mailto:[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