[sumo-user] Field of vision filter for context subscription

2021-01-07 Thread Yasmina Jaafra
Hello, I am using context subscription to limit the ego vehicle perception. The application looks fine and I assume that the defined zone is a circular area which center is the ego and radius is the indicated distance argument. I tried to apply a field of vision filter, unfortunately it’s not

Re: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE

2021-01-07 Thread Thodoris Zerlentis
Ok perfect, so i managed to implement my requirment by using the PlatoonsTrafficManager and modifing the .ini file as you mentioned. The human cars are inserted as you mentioned from the .rou file with the standard SUMO way while the platoons cars are handled from the TrafficManager. So i

Re: [sumo-user] Get edge density within TraCI

2021-01-07 Thread Theophile Cabannes
Thank you a lot Mirko. This is very helpful. Best Theo On Thu, Jan 7, 2021 at 11:42 AM Mirko Barthauer wrote: > Hi Theo, > > you can query the number of vehicles using getLastStepVehicleNumber > https://sumo.dlr.de/pydoc/traci._edge.html#EdgeDomain-getLastStepVehicleNumber > . Geometrical info

[sumo-user] Get edge density within TraCI

2021-01-07 Thread Theo
Hey, I wonder if it is possible to get edge density inside TraCI. I have not found anything in the documentation. If it is not possible to get edge density inside TraCI, what would be a good proxy to get edge density? My motivation is to derived rerouting strategies when some edge reached a

Re: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE

2021-01-07 Thread Michele Segata
This is also possible and there is an example in examples/human. Basically there you have a single platoon plus a human driven vehicle on a side lane that sends 802.11p messages as well. If you look at the omnetpp.ini file you will find the following: *.manager.moduleType =

Re: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE

2021-01-07 Thread Thodoris Zerlentis
Great I will try it, thank you. But I would like to ask you if I want the human-driven cars to be able to send messages to an RSU node, and that means veins must create a node for each vehicle, will it complicate things?? The human car type will only send those messages and won't involve as I

Re: [sumo-user] Get edge density within TraCI

2021-01-07 Thread Mirko Barthauer
Hi Theo, you can query the number of vehicles using getLastStepVehicleNumber https://sumo.dlr.de/pydoc/traci._edge.html#EdgeDomain-getLastStepVehicleNumber . Geometrical info about the edge can be queried using

Re: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE

2021-01-07 Thread Michele Segata
This is great, because you can easily circumvent the issue then. You can simply use the classic traffic manager to inject platoons whenever you want. You will have to modify it, but it should be easy. Then simply create a .rou file that inserts traffic using the standard SUMO way. Give them

Re: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE

2021-01-07 Thread Thodoris Zerlentis
Thank you for your response Michele. In my scenario I want to have regular-human driven cars with NO capability of forming platoons or even joining. About the platoons I want to insert them at specific time step. So in general the traffic would be human-driven and casually (like let's say every

Re: [sumo-user] Error while inserting vehicles from Sumo .rou file using PLEXE

2021-01-07 Thread Michele Segata
Dear Thodoris, I've checked and the error you are receiving is actually a bug. Thanks for finding this out. To circumvent this issue, you need to tell me whether the vehicles you want to insert in the standard SUMO way should be platooning-capable or just standard human-driven traffic.

Re: [sumo-user] Overwriting in output files while running simulation in a loop

2021-01-07 Thread Jakob Erdmann
No. Appending to output files is not supported. You will have to perform the data merging in you own post-processing step. Am Do., 7. Jan. 2021 um 09:37 Uhr schrieb Shah Sultan < syedshahsul...@gmail.com>: > No, I am loading the same .sumocfg file but with a different seed. Is > there > any

Re: [sumo-user] Overwriting in output files while running simulation in a loop

2021-01-07 Thread Shah Sultan
No, I am loading the same .sumocfg file but with a different seed. Is there any way? -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ ___ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit

Re: [sumo-user] Changing lcCooperative in Simulation

2021-01-07 Thread Jakob Erdmann
You can change it via traci. See my last two comments in https://github.com/eclipse/sumo/issues/6177 Am Do., 7. Jan. 2021 um 00:52 Uhr schrieb : > Hi, > > > > maybe this helps you: > https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#lane_change_mode_0xb6 > > > > (Here some information

Re: [sumo-user] Loading simulation state fails after collision (stop on lane is not downstream)

2021-01-07 Thread Jakob Erdmann
I can confirm that this is a distinct bug from the one that was fixed before. Am Mi., 6. Jan. 2021 um 17:07 Uhr schrieb Marcelo Andrade Rodrigues D Almeida : > Hi again > > I cleaned all old state files as a precaution, and I still face the same > problem. > > See attached log and state files >