model of robot controling