Skip to main content

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

In the release version, Bluetooth is not available for persons.
However, in the latest development version (https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots) you can use options
--person-device.btsender.probability and --person-device.btreceiver.probability to assign such devices to persons and thus register all combinations of sending/receiving between cars and vehicles.

regards,
Jakob

Am Mi., 2. Nov. 2022 um 21:23 Uhr schrieb ABRAR ALALI <aalal003@xxxxxxx>:
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

_______________________________________________
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