Wireless sensor network for traffic safety: analysis of measurement uncertainties