On 25 Mar 2019, at 17:23, Amelie <
ed_re...@esi.dz> wrote:
>
> I'm checking for some way to get a speed (m/s) of a car in veins_lte, i found the method : getCurrentSpeed() but it return a coordinate.
>
I'm not intimately familiar with Veins LTE, but I guess the Coord class is simply used here to produce a speed vector (given in meters per second) that has components for both the x and y direction.
To check, observe the values of cars. If they are reading (13.9 m/s, 0 m/s) when a car is driving east and (-13.9 m/s, 0 m/s) when a car is driving west, you have confirmed this.
Best,
Christoph
--
Jun.-Prof. Dr.-Ing. Christoph Sommer
Cooperative Mobile Systems (CCS Labs)
Heinz Nixdorf Institute, Paderborn University, Germany
http://www.ccs-labs.org/~sommer/