Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] lines for taxi device

The latest development version supports this by defining the line attribute of taxis and rides with the 'taxi:"-prefix (i.e. "taxi:A" for one type of taxi and "taxi:B" for another type).
You can get it at https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version

Am Di., 26. Okt. 2021 um 20:33 Uhr schrieb Amanda Romano <amandaromano@xxxxxxxxxxx>:
Hello,
I'm doing a simulation that I have 3 types of taxis. 
Is it possible that people entering the simulation request a specific type of taxi?
For example, having more than one taxi line and the person requesting a specific one.

For example, I define these 3 taxis and person 1. But I would like the person to request taxi_1.

<vType id="taxi1"  vClass="taxi" color="red">
<param key="has.taxi.device" value="true"/>
</vType>
<vType id="taxi2"  vClass="taxi" color="blue">
<param key="has.taxi.device" value="true"/>
</vType>
<vType id="taxi3"  vClass="taxi"color="green">
<param key="has.taxi.device" value="true"/>
</vType>

<trip id="taxi_1" type="taxi1" depart="0" from="253394163#6" to="253394163#6" departLane="free" departSpeed="random">
 <stop lane="253394163#6_0" triggered="person"/>  
</trip>
<trip id="taxi_2" type="taxi2" depart="0" from="-681382507" to="-681382507" departLane="free" departSpeed="random">
 <stop lane="-681382507_0" triggered="person"/>  
</trip>
<trip id="taxi_3" type="taxi3" depart="0" from="-972187838" to="-972187838" departLane="free" departSpeed="random">
 <stop lane="-972187838_0" triggered="person"/>  
</trip>

<person id="1" depart="42.00">
<walk from="329676797#0" to="927260018"/>  
<ride from="253394163#6" to="915209391" lines="taxi"/>
</person>

Thanks.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top