Hi Jose,
have you looked at the TLS-Programs in your xml input files?
I'm assuming that you use the latest development version.
Greetings, Harald
Am 21.07.21 um 18:09 schrieb Jose Monreal Bailey:
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 <[email protected]
<mailto:[email protected]>> wrote:
Thank you. I'll check those files now. You are the best. Thanks
On Mon 19 Jul 2021, 18:05 Harald Schaefer, <[email protected]
<mailto:[email protected]>> wrote:
Hi Jose,
if you are running Linux you can use a pipe like
find src/microsim/ -iname '*.cpp' |xargs grep -l
pedest|xargs egrep -in "pedest|redyellow"
Explanation
1, Find all cpp files in src/microsim
2. Find all files which contain the string pedest
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
<[email protected] <mailto:[email protected]>> 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,
<[email protected] <mailto:[email protected]>> 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?
Best regards,
José
_______________________________________________
sumo-user mailing list
[email protected] <mailto:[email protected]>
To unsubscribe from this list,
visithttps://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
_______________________________________________
sumo-user mailing list
[email protected] <mailto:[email protected]>
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
_______________________________________________
sumo-user mailing list
[email protected] <mailto:[email protected]>
To unsubscribe from this list,
visithttps://www.eclipse.org/mailman/listinfo/sumo-user
<https://www.eclipse.org/mailman/listinfo/sumo-user>
_______________________________________________
sumo-user mailing list
[email protected] <mailto:[email protected]>
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
<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
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user