I mean the 'time step' not the current simulation time. The default time
step is 1.0 but for some scenarios i set it to 0.1 or 0.5. i need a way to
get it through TraCI.

On Jan 17, 2017 2:19 AM, "Wasim Ahmed" <[email protected]> wrote:

> Answer for question no 2
>
> You can get it from getCurrentTime() function in SimulationsScope class.
> You can find it in TraCIAPI.h
>
> Thanks
>
> Sent from Yahoo Mail on Android
> <https://overview.mail.yahoo.com/mobile/?.src=Android>
>
> On Tue, 17 Jan 2017 at 1:12 pm, Mani Amoozadeh
> <[email protected]> wrote:
> Hi,
>
>
>
> I have a couple of questions, mostly about TraCI.
>
> Sorry if the question list is too long.
>
>
>
> 1. when I change the vehicle length through TraCI, it seems that the length
> is applied to the vehicle, but sumo-gui does not update the shape. I am
> expecting to see a longer vehicle in the sumo-gui. Is this expected?
>
>
>
> 2. How can I get the simulation time step through TraCI?
>
>
>
> 3. How can I change the shape of a vehicle through TraCI?
>
>
>
> 4. Is there a way to check if the simulation is running in cmd or gui mode
> in the newest version of SUMO?
>
> I remember I asked this question 3 years ago :) and you opened a ticket
> here:
>
>
>
> http://www.sumo.dlr.de/trac.wsgi/ticket/1085
>
>
>
> 5. I noticed that the flow tag gets 'from' and 'to' and 'via'.
>
> Through TraCI, how can I get the shortest route from an edge to an edge
> (with/without 'via')?
>
>
>
> Thanks!
>
>
>
> And sorry again if I asked too many questions.
>
>
>
>
>
> - 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
> [email protected]
> https://lists.sourceforge.net/lists/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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to