Hello,

Question1:
> I am using "track vehicle" and "offset" commands in TraCI. Of course
> these only work in gui mode, and when I run sumo in command-line mode,
> it gives me error. Is there any way that I can tell sumo is running in
> command-line mode or gui mode by using a TraCI command ? To make sure
> sumo is running in gui mode before issuing those commands.
>
I'm afraid there is currently no way to tell via TraCI except by sending a
gui-command and being preprared to handle the exception.
I've opened up a ticket because there probably should be a more elegant way
eventually. (http://sumo-sim.org/trac.wsgi/ticket/1085)



> Question2:
> Is it possible to change the maxDecel of a specific vehicle without
> effecting other vehicles. I mean, if we have 10 vehicles of TypeA, and
> they all have maxDecel=-5, and we want to change the maxDecel of only
> one of the vehicles to say -3 through TraCI. Is that possible?
>
> Yes. You can set these values for individual vehicles. I just noticed that
the documentation for this feature was missing. You can find the updated
documentation here:
http://sumo-sim.org/wiki/TraCI/Change_Vehicle_State.
regards,
Jakob


>
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to