Re: [sumo-user] Problem with converting vissim to sumo.

2017-09-26 Thread Jakob Erdmann via sumo-user
Somewhere in your inpx file is an xml attribute with an empty value
(someAttribute=""). This is not expected by the importer.
Search for "" in your file and try to remove the attribute (or set an
appropriate value).
regards,
Jakob

2017-09-26 14:34 GMT+02:00 Phuong Nguyen via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
> I am trying to convert a vissim file to sumo using below command:
>
> netconvert --vissim-file=robust.inpx --output-file=mySumofile.net.xml
>
> and here is result:
> warning: Environment variable SUMO_HOME is not set, using built in type
> maps.
> 85
> 2
> 211.74
> -1221.07, -1531.35 -1220.78, -1530.12 -1202.48, -1346.63 -1201.82, -1332.38
> -1201.37, -1320.59
> Error: Runtime error: Empty data while parsing 'robust.inpx'
> Error: No nodes loaded.
> Quitting (on error).
>
> Can you please give me any suggestion with this problem.
>
> Thank you very  much indeed.
>
> Best regards,
>
> Phuong.
>
> --
> Ms. Phuong Thi Mai Nguyen
> PhD student, De Montfort University,
> Leicester, UK.
> Email:  phuongthimaingu...@gmail.com
>   p14029...@myemail.dmu.ac.uk
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


[sumo-user] Problem with converting vissim to sumo.

2017-09-26 Thread Phuong Nguyen via sumo-user
Hello,

I am trying to convert a vissim file to sumo using below command:

netconvert --vissim-file=robust.inpx --output-file=mySumofile.net.xml

and here is result:
warning: Environment variable SUMO_HOME is not set, using built in type
maps.
85
2
211.74
-1221.07, -1531.35 -1220.78, -1530.12 -1202.48, -1346.63 -1201.82, -1332.38
-1201.37, -1320.59
Error: Runtime error: Empty data while parsing 'robust.inpx'
Error: No nodes loaded.
Quitting (on error).

Can you please give me any suggestion with this problem.

Thank you very  much indeed.

Best regards,

Phuong.

-- 
Ms. Phuong Thi Mai Nguyen
PhD student, De Montfort University,
Leicester, UK.
Email:  phuongthimaingu...@gmail.com
  p14029...@myemail.dmu.ac.uk
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Simulation Step TraCI call at time 0

2017-09-26 Thread Jakob Erdmann via sumo-user
Hello,
when you take a look at the gui, you will find that the first call of
simulationStep(0) advances the simulation to the end of step 0 (with
vehicles departing at 0 already being inserted).
Only the command simulation.getCurrentTime() already shows you 0.5 because
all further traci calls will be processed at the start of the step that
ends at 0.5
However, any vehicle positions you retrieve after the first call to
simulationStep will be the ones from the insertion step 0.
regards,
Jakob

2017-09-26 10:35 GMT+02:00 Mani Amoozadeh via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello,
>
>
>
> I setup a SUMO simulation with 0.5s time step in TraCI mode.
>
> Once the TraCI is established I subscribe to departed vehicles count and
> then insert 10 vehicles at time 0s.
>
> I call simulation step like this:
>
>
>
> simulationStep(500) --> simulationStep(1000) --> simulationStep(1500) .
>
>
>
> The first simulationStep returns subscription result that all 10 vehicles
> have departed.
>
>
>
> Is there any way to call simulationStep like this:
>
>
>
> simulationStep(0)  --> simulationStep(500) --> simulationStep(1000) -->
> simulationStep(1500) .
>
>
>
> So that the first simulationStep call give me the subscription result
> showing that all vehicles have departed.
>
> Apparently, I cannot do this since 0 has a special meaning and proceeds
> simulation to 500ms.
>
> Is there any workaround for this?
>
>
>
> Thank you.
>
>
>
> - Mani
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


[sumo-user] Time step right before arrival

2017-09-26 Thread Mani Amoozadeh via sumo-user
Hello,

 

Is there any ways to figure out the last time step before vehicle's arrival
?

I want to call a TraCI function on a vehicle right before its arrival.

 

Thanks!

 

 

- Mani

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


[sumo-user] Simulation Step TraCI call at time 0

2017-09-26 Thread Mani Amoozadeh via sumo-user
Hello,

 

I setup a SUMO simulation with 0.5s time step in TraCI mode.

Once the TraCI is established I subscribe to departed vehicles count and
then insert 10 vehicles at time 0s.

I call simulation step like this:

 

simulationStep(500) --> simulationStep(1000) --> simulationStep(1500) .

 

The first simulationStep returns subscription result that all 10 vehicles
have departed.

 

Is there any way to call simulationStep like this:

 

simulationStep(0)  --> simulationStep(500) --> simulationStep(1000) -->
simulationStep(1500) .

 

So that the first simulationStep call give me the subscription result
showing that all vehicles have departed.

Apparently, I cannot do this since 0 has a special meaning and proceeds
simulation to 500ms.

Is there any workaround for this?

 

Thank you.

 

- Mani

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Overtaking issue when switching to sublane model

2017-09-26 Thread Jakob Erdmann via sumo-user
Hello,
opposite-direction driving is not yet compatible with the sublane model (
http://sumo.dlr.de/wiki/Simulation/SublaneModel#Sublane-Model)
regards,
Jakob

2017-09-26 9:42 GMT+02:00 alex goupilleau via sumo-user <
sumo-user@lists.sourceforge.net>:

> Hello all,
>
>
> In order to create scenarios with Traci where I can control the
> longitudinal position of the vehicle, I switched from the default
> lane-changing model to the SL2015 model.
>
> I have a simple network composed of two edges side by side in opposite
> driving direction. Each edge only has one lane.
>
> I created a scenario with this network where I have two vehicles on the
> same edge, and I set the speed of the following one so that it overtakes
> the first one.
>
> With the LC2013 default model, the vehicle overtakes (makes a lane change
> to the other edge), and with the SL2015 (only adding the option
> --lane-resolution, nothing other than that is different), it does not
> overtake anymore.
>
>
> Would you know why ?
>
>
> Thanks,
>
>
> Alex
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-u...@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


[sumo-user] Overtaking issue when switching to sublane model

2017-09-26 Thread alex goupilleau via sumo-user
Hello all,


In order to create scenarios with Traci where I can control the longitudinal 
position of the vehicle, I switched from the default lane-changing model to the 
SL2015 model.

I have a simple network composed of two edges side by side in opposite driving 
direction. Each edge only has one lane.

I created a scenario with this network where I have two vehicles on the same 
edge, and I set the speed of the following one so that it overtakes the first 
one.

With the LC2013 default model, the vehicle overtakes (makes a lane change to 
the other edge), and with the SL2015 (only adding the option --lane-resolution, 
nothing other than that is different), it does not overtake anymore.


Would you know why ?


Thanks,


Alex
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user