When proximity sensor detects obstacles in front, the
robot can slow down, to reduce the likelihood of collision or
the damage caused by possible collisions. Furthermore, when
the tactile sensor find that objects have already hit the robot,
the robot can immediately stop or move in opposite direction
first, and then try a new direction of movement to avoid
obstacles ahead.