Great, thank you very much, you've been very helpful Jakob !
Have a good day and a good weekend,
Adrien
De : sumo-dev De la part de Jakob Erdmann
Envoyé : Thursday, November 11, 2021 5:20 PM
À : sumo developer discussions
Objet : Re: [sumo-dev] Retrieving the type of Junction
Q1: yes
t;:108103_11_0",
>
> ":108103_12_0",
>
> ":108103_13_0",
>
> ":108103_14_0",
>
> ":108103_15_0",
>
> "",
>
> "",
>
>
number of lanes (20) is the same for "crosswalks_lanes_id",
"crosswalks_link_fromLane", "crosswalks_link_toLane" and
"crosswalks_link_viaLane", the only difference being that some are empty
strings for that last "category". Does that mean it's th
",
>
> ""
>
> ],
>
> "junction_id": "4350193651"
>
> }
>
>
>
> Do I only need to get the state of “:4350193651_c0_0” to get the state of
> that crosswalk light ?
>
>
>
> Regards,
"toLane"
>elements.
Can I base myself only on "toLane" IDs then to map out the crosswalks of each
junction ?
Attached is the JSON file I extracted.
Thank you for your help,
Adrien
De : sumo-dev
mailto:sumo-dev-boun...@eclipse.org>> De la part
de Jakob Erdmann
En
t;
>
>
> Attached is the JSON file I extracted.
>
>
>
> Thank you for your help,
>
> Adrien
>
>
>
> *De :* sumo-dev *De la part de* Jakob
> Erdmann
> *Envoyé :* Friday, November 5, 2021 3:31 AM
> *À :* sumo developer discussions
> *Objet :* Re: [sumo-dev]
rians" is not
checked.
Regards,
Mell
From: Jakob Erdmann
Sent: Sunday, November 7, 2021 4:56 AM
To: Melhem Tawk
Subject: Re: [sumo-dev] Retrieving the type of Junction
1. The easiest way to get crosswalks into your scenario is the set the checkbox
"pedestrians" in the traffi
ion is defined in the osm.net.xml file:
Thank you for your help,
Adrien
De : sumo-dev
mailto:sumo-dev-boun...@eclipse.org>> De la part
de Jakob Erdmann
Envoyé : Wednesday, November 3, 2021 6:11 PM
À : sumo developer discussions
mailto:sumo-dev@eclipse.org>>
Objet : Re: [sumo
llowGreenState()”.
>
> Is there a way to know where do the pedestrian crosswalks start in that
> string ? Or is there a way to identify those crosswalks ?
>
>
>
> Thank you,
>
> Adrien
>
>
>
> *De :* sumo-dev *De la part de* Jakob
> Erdmann
> *Envoyé :* Monda
Thank you, I will try that !
De : sumo-dev De la part de Jakob Erdmann
Envoyé : Wednesday, November 3, 2021 6:11 PM
À : sumo developer discussions
Objet : Re: [sumo-dev] Retrieving the type of Junction
You can use traci.trafficlight.getControlledLanes and getControlledLinks
Lanes with ids
“getRedYellowGreenState()”.
>
> Is there a way to know where do the pedestrian crosswalks start in that
> string ? Or is there a way to identify those crosswalks ?
>
>
>
> Thank you,
>
> Adrien
>
>
>
> *De :* sumo-dev *De la part de* Jakob
> Erdmann
> *Envoyé :
The junction type is currently not accessible via the TraCI API. (for
static network analysis, the python library sumolib is recommended:
https://sumo.dlr.de/docs/Tools/Sumolib.html)
If you only need to identify traffic light junctions, you can use the
functions in TrafficLight.h to retrieve
Hi,
I'm trying to retrieve the type of a Junction, I'm using the C++ library.
In an osm.net.xml file which lists all junctions, I see there are some
different node types
(https://sumo.dlr.de/docs/Networks/PlainXML.html#node_types) :
I looked in the C++ classes / headers, mostly in
13 matches
Mail list logo