Dear Sébastien,

through beacon messages each vehicle sends its x,y,z coordinates, if you
compare this with a vehicles own coordinates i think you can have the
information you want

best,
 Pavlos


2014-03-04 5:52 GMT+02:00 Sebastien Demmel <[email protected]>:

> 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?
>
> This value must exist somewhere in the car-following model, I assume. I'm
> already using TraCI to retrieve a number of different variables and it is
> working well, and having a quick access to the distance with the vehicle
> driving in front of any given vehicle would simplify my post-processing
> greatly.
>
> Thanks in advance for your help!
>
> Best regards,
> Sébastien.
>
>
> Dr Sébastien Demmel
> Research Associate - Acting Senior Software Engineer
> ________________________________
> ITS team, Centre for Accident Research and Road Safety - Queensland
> University of Technology. Brisbane, Australia.
> ________________________________
> Phone : +61 (0)7 3138 7783 / +61 (0)4 1556 4007 - E-mail :
> [email protected]<mailto:[email protected]>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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