If you know the lane and position of the busStops, you can use function
traci.simulation.findRoute to get the distance and traveltime between them.
You can either parse lane and position from the input xml (i.e. with
sumolib.xml.parse) or you can use traci.busstop.getLaneID and
Hi All,
I'd like to set the opposite direction driving available in a simple road
network like the image below:
100m x 100m, 2 opposite edges and 2 lanes for each edge. (file name:
net.net.xml)
I use the NETCOVERT tool to generate the net.xml which allows the opposite
driving, the command is like
Hello Jacob,
I've been working for while based on your last suggestion, placing cars as
obstacles on one lane and using TraCI to detect when two opposing vehicles
are within a range of each other.
1) My current approach is to make a distance matrix between vehicles to
know whether car A is
Hello,
I exported an OSM file of my city, using osmWebWizard.py. I used netconvert
to convert this OSM file to SUMO network. I would like to know if there is
any option that makes connections between all the streets meeting at an
intersection?
In the network example in
Thanks.
So, Could we say that "myValidUntil" parameter in CHRouter.h file, is set
based on the value given to the option --device.rerouting.adaptation-
interval?
How this is used in Astar and Dijkstra?
On Sat, May 16, 2020 at 2:46 PM Jakob Erdmann wrote:
> This is all documented at
>
Hello,
I have two straight edges with 2 lanes. I'm trying to build a zipper merge at
the node between the two edges.
I've set the node as zipper but it seems like NetEdit is not letting me set up
the connections as zipper merge.
Is there any way I can set up the connections as shown in the
Hi,
I am writing a code to change the lateral alignment of vehicles. There is
nested if conditions in this code. In the second level, the "if 20 <
sim_time < 60" is performed, and the results of it is observed in the
simulation. However, it does not perform the statement after "elif sim_time
>
Hello,
there is a simple case and a complex case.
In the simple case:
- each traffic light controls a singe network junction
- the traffic light has the same id as the junction
- each index of the traffic light state corresponds to a single
lane-to-lane connection and those indices have not