Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] setStop can't specify duration time

According to your command two conditions must be met:
- the vehicle must have stopped at least until time 100
- the vehicle must have stopped for at least 50s
You can activate 'show route' for the vehicle to see the remaining stop duration in sumo-gui: https://sumo.dlr.de/docs/sumo-gui.html#showing_routes_and_route-related_information

Am Mo., 10. Aug. 2020 um 12:08 Uhr schrieb 謝昀宸 <sdfg014025xx@xxxxxxxxx>:
Hello,
When I use setStop(self, vehID, edgeID, pos=30.0, laneIndex=0, duration=50.0, flags=0, startPos=-1073741824.0, until=100.0)
the vehicle still stop when specified time arrive
I tried reduce parameter but got same result.

I also tried recall setStop and set "duration" 0 after 50 seconds(like TraCI/Change Vehicle State tutorial wrote) and got "stop for vehicle 'xxx' on lane 'e2_0' is too close to break."

How can I  solve this problem?

Many thanks,
Yun  
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top