1D localization using Bayesian Filter to locate a robot in 1D space and represent uncertainty in robot motion