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
_____________________________________
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.
Yes, you can change the route of a vehicle and also remove vehicles with TraCI. Check out
Change_Vehicle_State to see all TraCI commands you can use to change the state of a vehicle.
Regards,
Giuliana
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
_____________________________________