Thanks for the answer, even if it seems to be a bug… When I find the time, I will implement and share the deletion since the “my” routes need to be calculated online.
Cheers, Kevin _____________________________________ M. Sc. Kevin Malena Regelungstechnik und Mechatronik Heinz Nixdorf Institut Universität Paderborn Fürstenallee 11 33102 Paderborn Telefon: +49 (0) 52 51 / 60 6278 Raum: F0.337 Internet: http://www.hni.uni-paderborn.de/rtm _____________________________________ Von: sumo-user [mailto:[email protected]] Im Auftrag von Jakob Erdmann Gesendet: Freitag, 21. Mai 2021 13:03 An: Sumo project User discussions <[email protected]> Betreff: Re: [sumo-user] right of way simulation & route removal Tracked at https://github.com/eclipse/sumo/issues/8670 Am Fr., 21. Mai 2021 um 13:01 Uhr schrieb Jakob Erdmann <[email protected]<mailto:[email protected]>>: The intersection behavior looks indeed like a bug. Regarding route deletion: the effort should be small. If you load vehicles with embedded routes from xml, they will be deleted automatically, though. Am Fr., 21. Mai 2021 um 12:58 Uhr schrieb Kevin Malena <[email protected]<mailto:[email protected]>>: Hey Giuliana and others, Thanks for the quick answer… The net-file and the trips were constructed to show my point and therefore the scenario has just this phase. And you are referring to the right junction (the big one on the left)! I want to model the behaviour in TLS-controlled intersections like this. If I change the phase to ‘rrrgGgrrrr’, as you suggest, the simulation doesn’t show any difference in the right of way-behaviour, meaning that the vehicles from the South doesn’t react to the prohibitions. Regarding the TraCi-command: I am creating lots of different routes in an ongoing simulation. Each new vehicle gets a new route. But if a vehicle leaves the simulation the namec be used again. The route cannot be removed and therefore the label cannot be used. I am thinking about a long lasting simulation where I can get problems with RAM and stuff. Cheers, Kevin _____________________________________ M. Sc. Kevin Malena Regelungstechnik und Mechatronik Heinz Nixdorf Institut Universität Paderborn Fürstenallee 11 33102 Paderborn Telefon: +49 (0) 52 51 / 60 6278 Raum: F0.337 Internet: http://www.hni.uni-paderborn.de/rtm _____________________________________ Von: sumo-user [mailto:[email protected]<mailto:[email protected]>] Im Auftrag von [email protected]<mailto:[email protected]> Gesendet: Freitag, 21. Mai 2021 12:27 An: [email protected]<mailto:[email protected]> Betreff: Re: [sumo-user] right of way simulation & route removal Hi Kevin, what junction are you referring to? The first big junction in your net-file is defined as a traffic light, but with only one phase (may I ask why?). If you want to model priorities in traffic light, you can use the signal states G and g for this, see signal_state_definitions<https://sumo.dlr.de/docs/Simulation/Traffic_Lights.html%23signal_state_definitions>. Yes, you can change the route of a vehicle and also remove vehicles with TraCI. Check out Change_Vehicle_State<https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#command_0xc4_change_vehicle_state> to see all TraCI commands you can use to change the state of a vehicle. Regards, Giuliana Von: sumo-user <[email protected]<mailto:[email protected]>> Im Auftrag von Kevin Malena Gesendet: Freitag, 21. Mai 2021 12:10 An: [email protected]<mailto:[email protected]> Betreff: [sumo-user] right of way simulation & route removal Hey guys, I have an issue with a right of way simulation and put together a min. example: https://uni-paderborn.sciebo.de/s/X1tIztrW8GVpczz The vehicles from the South have right of way towards the ones from North. In Netedit the permissions seem to be correct, but the vehicles don’t behave as expected. Another question concerns TraCI: Since there is no comparable command to delete routes such as for vehicles. How much effort does it take to implement it? Cheers, Kevin _____________________________________ M. Sc. Kevin Malena Regelungstechnik und Mechatronik Heinz Nixdorf Institut Universität Paderborn Fürstenallee 11 33102 Paderborn Telefon: +49 (0) 52 51 / 60 6278 Raum: F0.337 Internet: http://www.hni.uni-paderborn.de/rtm _____________________________________ _______________________________________________ sumo-user mailing list [email protected]<mailto:[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
