Robot’s technology research is very popular in recently years. We believe more and more kinds of robots appear in our daily life in the future. In this paper,we will get kind of sensors in a base interface, and inference differential drive moving platform’s equation. We can use laser range finder to make environment map, besides to increase safe function to avoid danger.