Hello Jakob,

Thank you for the information.

I was able to add connections by using:

SendingEdge->addLane2LaneConnection(i, ReceivingEdge, j, NBEdge::L2L_USER, 
true);

And this would be working for me. I understand the risk that there may be 
conflicts though because I use mayUseSameDestination = true

For another reply from you earlier, you mentioned the gap distance between 
lanes can be changed "by changing the value of POSITION_EPS in config.h (or 
windows_config.h) but should not be set to 0 to avoid undefined behavior".I 
tried to change this value to "0.2" or "0.01" in both files, but it seems that 
the gap distance between lanes are still 0.1 meter. Would you please confirm if 
it is the correct macro?

/* defines the epsilon to use on position comparison */#define POSITION_EPS 
(SUMOReal)0.2

Thanks,

Yifeng

From: [email protected]
Date: Mon, 13 Jun 2016 08:33:58 +0200
Subject: Re: [sumo-devel] lane turning direction
To: [email protected]
CC: [email protected]

The lane-to-lane connectivity is computed with a heuristic that is spread over
NBEdge.cpp, NBNode.cpp and NBAlgorithms.cpp. Modify it at your own risk (-:


2016-06-10 21:46 GMT+02:00 Yifeng Zeng <[email protected]>:
Hello All,



I was wondering if i can explicitly specify the turning direction(s) for a 
certain lane in the code?



I  understand that we ca specify the turning direction by specifying certain 
connections in the con.xml file. But how about doing it in the code without the 
con.xml file?



Thanks,



Yifeng

------------------------------------------------------------------------------

What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic

patterns at an interface-level. Reveals which users, apps, and protocols are

consuming the most bandwidth. Provides multi-vendor support for NetFlow,

J-Flow, sFlow and other flows. Make informed decisions using capacity

planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e

_______________________________________________

sumo-devel mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/sumo-devel


                                          
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
sumo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-devel

Reply via email to