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]
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