Hello,
I added more details to the description of commands "best lanes" and
"leader" at
http://sumo.dlr.de/wiki/TraCI/Vehicle_Value_Retrieval#Command_0xa4:_Get_Vehicle_Variable
.
regards,
Jakob

2015-03-01 17:09 GMT+01:00 Matthias Wirtz <[email protected]>:

> Hello SUMO wiki maintainer,
>
> I have a suggestion regarding the traci leader method of the vehicle
> class. In
> the wiki it says:
>
> "Returns the id of the leading vehicle and its distance, if the string is
> empty, no leader was found."
>
> It might be helpful to rephrase this to:
>
> "Returns the id of the leading vehicle and its distance. Only vehicles
> ahead
> on the actual route of the vehicle are taken into consideration. If the
> string
> is empty, no leader was found."
>
> At least this is what I understand when looking at the
> getLeaderOnConsecutive
> method of the MSLane class. There the function succLinkSec is used to get
> the
> next link which is used to find the leading vehicle. And the function only
> traverses the actual route of the vehicle.
>
> At first I thought that this procedure might not be a good approach. But
> after
> thinking about it I think this solution is ok but it should be stated in
> the
> wiki. Otherwise you get unexpected results when using e.g. the rerouter.
>
> Have a nice day.
> --
> Matthias
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to