Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Using TraCI setStopParameters()

There was a bug in setStopParameter with regard to 'triggered' and 'expected'. (
You can obtain a fixed version tomorrow at or by building sumo yourself from the latest github sources.


Am Di., 21. Feb. 2023 um 04:10 Uhr schrieb Jojo Get <jojoget998@xxxxxxxxx>:

I was trying to add a new stop with certain parameters using traci.vehicle.setStopParameters(). However, I am unable to get the stop to behave as intended.
 traci.vehicle.setStopParameter(vehID=f"coach_{batchNo}_{i}", nextStopIndex=1,param="triggered",value="true")
 traci.vehicle.setStopParameter(vehID=f"coach_{batchNo}_{i}", nextStopIndex=1,param="extension", value="240")
 traci.vehicle.setStopParameter(vehID=f"coach_{batchNo}_{i}", nextStopIndex=1,param="expected",value="bp_coach_1_0")
However, for the "until" parameter, I was able to get it to work as intended
traci.vehicle.setStopParameter(vehID=f"coach_{batchNo}_{i}", nextStopIndex=1,param="until", value="1000")

I am not too sure why it is working for certain parameters but not others.
Thanks in advance for the help.

Best Regards,
Nick Tan
sumo-user mailing list
To unsubscribe from this list, visit

Back to the top