Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to get the phase duration of next phase in SUMO using traci4matlab?

this can be accomplished by calling getCompleteRedYellowGreenDefinition and looking at the properties of the the phase that follows the current one.

2017-09-30 14:27 GMT+02:00 Lawrence Soon via sumo-user <sumo-user@xxxxxxxxxxxxxxxxxxxxx>:
Hi all,

if I am currently in phase red, how to get the phase duration of next phase (green for example) using traci4matlab? the current available traci function traci.edge.getPhaseDuration accounts for the phrase duration of current phase (red in this case), and I am not allowed to simply set the phase index to the next phase (as this would change the setting of traffic light) and then get next phase duration. Does anyone know how to get it?

Thanks and have a great day!

Best Regards,
Check out the vibrant tech community on one of the world's most
engaging tech sites,!
sumo-user mailing list
sumo-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top