Hi,

Am 04.03.2014 04:52, schrieb Sebastien Demmel:
> Hi all,
> 
> I'm currently working on a project where I'm using VEINS (Omnet + Sumo) to 
> simulate V2V intervention on freeways. I'm wondering if there is a way to get 
> the gap with the preceding vehicle from SUMO, live during the simulation or, 
> at least, the ID of that nearest preceding vehicle?

I don't know about the availability in VEINS but the current svn (and
thus the next sumo version) will have a getLeader function in TraCI and
an example implementation in the Python API.

Best regards,
Michael


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to