Getting the mean speed with veins

10 views
Skip to first unread message

ben hassine Afef

unread,
Aug 4, 2016, 6:20:23 AM8/4/16
to OMNeT++ Users
Hello all,

I'm working in veins 4.4, this is my first try ,and i want to comunicate with the simulation for getting information from it . i already do a search to how do it and i read some responses and the veins tutorial , also i read the TraCIDemo11p example.

now i know for communicate with simulation i must do this

        TraCIMobility* mobility;
        TraCICommandInterface* traci;
        TraCICommandInterface::Vehicle* traciVehicle;

but for example to get the mean speed in a specific ride how do i proceed? Is this following ligne are right?

       traci->Road* traciRode;

Sorry if my questions are stupid

Reply all
Reply to author
Forward
0 new messages