Hi Junyan,
currently you cannot ask for the state of the bt devices via TraCI. You
could parse the file while it is being written (using a socket or a
pipe) but there would be some lag not only due to buffering but also
because the detections are only written after the detected vehicle has
left the detection range.

Since I like the idea, I opened a ticket:
http://sumo.dlr.de/trac.wsgi/ticket/2190

Best regards
Michael

Am 03.03.2016 um 12:05 schrieb Junyan Ma:
> Hi,
> 
> 
> I can get Bluetooth detection results with --bt-output.
> 
> I wonder if it is possible to get the detection results on the fly during
> the simulation. Therefore, I can use TraCI to perform some control over the
> traffic.
> 
> Thank you!
> 
> 


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to