How can i calc really speed km/h of vehicle?

Started by 2b2ttianxiu, Jul 19, 2023, 06:09 PM

Previous topic - Next topic

2b2ttianxiu

How can i calc really speed km/h of vehicle?
i try 'sqrt(a.X * a.X + a.Y + a.Y * a.Z * a.Z) * x'
x: 180, 252, 200, 3.6, i couldnt find muiltply number.

habi

#1
result=sqrt( pow( Vehicle.Speed.X, 2 ) + pow( Vehicle.Speed.Y, 2 ) + pow( Vehicle.Speed.Z, 2 ) )To convert m/s to km/h, result * 3.6