[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Generic Parameters Attached to Stop Tag
|
It is currently not possible. See Github issue #13855.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] Generic Parameters Attached to Stop Tag
Datum: 2023-09-21T17:22:12+0200
Von: "Nathan Holt (RIT Student) via sumo-user" <sumo-user@xxxxxxxxxxx>
An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>
Hi,
I'm trying to attach a generic parameter to a waiting stage while using persons to simulate. I have something that looks like:
<person id="1" depart="0">
<ride from="A" to="B" lines="vehicle_id" />
<stop lane="B_0" until="1:00:00">
<param key="reason" value="shopping" >
</stop>
<ride to="C" lines="vehicle_id2" />
</person>
How can I extract the generic parameter associated with a stop tag here using traci? SUMO runs without problem when this is passed in, but I can't seem to find a way to extract this information.
I somehow need to encode metadata information (in this toy example, explaining why the stop is occurring - because the person is shopping) on the stop tags. I've managed to encode metadata information in the vehicles associated with the <ride> tags, so that isn't a problem. But I can't seem to find a way to do this in SUMO/TraCI.... any suggestions?
Thanks!