Usually the Kalman filter is used for system that can be considered linear in order to predict the following state by using deterministic equations, and in which there is a Gaussian noise.Our state is represented by the distance between the user and the obstacles then our system is not deterministic. For this reason, we use a different notation for the Kalman filter that can be expressed by the following equations: