Re: [sumo-user] Velocity control in SUMO

2016-09-21 Thread Jakob Erdmann
Hello
There is no tutorial for that yet. The general principles of traci-usage
can be learned here: http://sumo.dlr.de/wiki/Tutorials#TraCI_Tutorials

you can set the vehicle speed using
vehicle.setSpeed()
to override safety constraints, use the method
vehicle.setSpeedMode() (
http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#speed_mode_.280xb3.29)

not that sumo uses euler-integration to compute distances from speeds
(other integration methods will be available in a future release). If you
need full control over vehicle locations you can also use
vehicle.moveToXY()  (
http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#move_to_XY_.280xb4.29)

regards
Jakob

2016-09-20 17:38 GMT+02:00 Ankur Sarker :

> Hi,
>
> How to control vehicle velocity in real time? Is there any example code or
> tutorial?
>
> Thanks,
> Ankur Sarker
> 
> --
> ___
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
--
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


[sumo-user] Velocity control in SUMO

2016-09-20 Thread Ankur Sarker
Hi,

How to control vehicle velocity in real time? Is there any example code or
tutorial?

Thanks,
Ankur Sarker
--
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user