Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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 <namdre.sumo@xxxxxxxxx>:
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 <kevin.malena@xxxxxxxxxxxxxxxx>:

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
Univ
ersitä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:sumo-user-bounces@xxxxxxxxxxx] Im Auftrag von Maria.Armellini@xxxxxx
Gesendet: Freitag, 21. Mai 2021 12:27
An: sumo-user@xxxxxxxxxxx
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.

 

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

 

Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von Kevin Malena
Gesendet: Freitag, 21. Mai 2021 12:10
An: sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top