I have been debugging the code and found that for pedestrians the traffic light state y changes to M, why? and where?
I grep everything for LINKSTATE_MAJOR, 'M' and "M", where they set that value, but it seems that I am missing another part where they set it under another way. I tried looking for the ASCII code too, no luck.
Any clues or suggestions? I need pedestrians to stop at yellow light.
On Mon, 19 Jul 2021 at 20:40, Jose Monreal Bailey <jmonreal@xxxxxxxxx> wrote:
Thank you. I'll check those files now. You are the best. Thanks
3. Look in the remaining files for strings like pedest or
redyellow
Otherwise i have no idea!
Best regards, Harald
Am 19.07.21 um 18:12 schrieb Jose
Monreal Bailey:
Hi Herald,
I was studying the code in MSVehicle.cpp but I do not see
pedestrian logic there. Is there a class similar to
MSVehicle.cpp but for pedestrians?
On Thu, 15 Jul 2021 at 19:59,
Harald Schaefer <fechsaer@xxxxxxxxx> wrote:
Hi Jose,
I would start looking in MSVehicle.cpp.
Which version of SUMO are you using?
Do you have a small working example of pedestrians
starting at yellow?
I could also think of special traffic lights for
pedestrian lanes without a yellow phase.
For a more precise answer you have to wait until the main
developers are back.
Greetings, Harald
Am 15.07.21 um 11:01 schrieb Jose Monreal Bailey:
Does anyone know where in the code is
controlled when the different entities are allowed to
pass under a certain traffic light color?
On Tue 13 Jul 2021,
17:53 Jose Monreal Bailey, <jmonreal@xxxxxxxxx>
wrote:
Hey everyone,
How can I modify the code so pedestrians stop
at junctions when the light is Yellow, and those
that are already crossing continue until they have
reached the other side?