AFAIK, the stop command tells a vehicle to stop in a given lane for a
defined period, then it resumes its path.
http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#Command_0xc4:_Change_Vehicle_State

The speed command forces the vehicle to keep the given speed. I don't know
if this would lead to collisions.

There's another relevant command, "max speed", that you can use to limit
the vehicle to a certain speed, changing lane and slowing down if necessary.

TraCI4J currently supports only the max speed command. If you want a
vehicle to stop, you may set the max speed to zero using
Vehicle.queryChangeMaxSpeed().
The two commands above are not (yet) supported in TraCI4J.

Cheers,
Enrico


2015-11-28 11:08 GMT+01:00 nancy slow <[email protected]>:

>  I try to understand the code
>
>
>
> Le Samedi 28 novembre 2015 10h54, Enrico Gueli <[email protected]> a
> écrit :
>
>
> Hi Nancy,
> are you using TraCI4J?
> Could you provide a snippet of your code that makes the error, and what
> you want to achieve?
>
> Cheers,
> Enrico
>
>
>
> 2015-11-28 9:15 GMT+01:00 nancy slow <[email protected]>:
>
> Hi,what is the difference between CMD_Stop and VAR_Speed, in the file
> constant.javathanks
>
>
>
>     Le Jeudi 26 novembre 2015 19h03, nancy slow <[email protected]> a
> écrit :
>
>
>  Hi,
> I want to know what it means (the programming point of view):public static
> final int VAR_SPEED = 0x40;
> thanks
>
>
>     Le Dimanche 15 novembre 2015 11h58, Michael Behrisch <
> [email protected]> a écrit :
>
>
>  Hi,
> > hi,what does it mean?SUMO error for command 196: Stop needs a
> > compound object description of four of five items.
>
> It probably means that the implementation is faulty. Which command did
> you try when getting this message?
>
> >  jre1.8.0_40
>
> your java version looks fine. Maybe the traas/traci4j authors can help?
>
> Best regards,
> Michael
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
>
>
> --
> Enrico
>
>
>


-- 
Enrico
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to