Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Fwd: Bluetooth output from pedestrians and vehciles



---------- Forwarded message ---------
From: ABRAR ALALI <aalal003@xxxxxxx>
Date: Wed, Nov 2, 2022 at 4:22 PM
Subject: Bluetooth output from pedestrians and vehciles
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>


Hello,

I use randomTrips to generate pedestrians from type myType as it is defined in the additional file:
<additional>
<vType id="myType" vClass="pedestrian">
<param key="device.btreceiver.probability" value="1"/>
<param key="device.btsender.probability" value="1"/>
</vType>
</additional>

I write this command to generate pedestrians:
python randomTrips.py -n intersections.net.xml -a pedType.add.xml --trip-attributes="type=\"myType\"" -r ped.rou.xml --pedestrians --period 5 --binomial 2


In the same time, I define routes for cars in different file and assign Bluetooth devices for them using .simcfg file as following:
<configuration>
    <input>
        <net-file value="intersections.net.xml"/>
        <!--<route-files value="ped.rou.xml, cars.rou.xml"/>-->
<route-files value="ped.rou.xml, CarsManRout.rou.xml"/>
<random value="true"/>
<gui-settings-file value="guisettings.xml"/>
<!--<pedestrian.striping.dawdling value="0"/>-->
    </input>
    <time>
        <begin value="0"/>
        <end value="3600"/>
    </time>
<communication>
<device.btsender.probability value="1"/>
<device.btreceiver.probability value="1"/>
<device.btreceiver.all-recognitions value="true"/>
<device.btreceiver.range value="100"/>
</communication>
<output>
<fcd-output value="output.xml"/>
<emission-output value="emmisions.xml"/>
<collision-output value="collision.xml"/>
<bt-output value="bluetooth.xml"/>
</output>
</configuration>

Now, when I check the output file "bluetooth.xml", I found that it only has the bluetooth output of vehicles not for pedestrians (neither senders or receivers).

My question is how to get the output of pedestrians bluetooth devices?

Regards,
Abrar



--
Abrar Alali
Computer Science Ph.D. Student
Old Dominion University
aalal003@xxxxxxx

Back to the top