The robot will move forward once being turned on. When it senses object ahead within 15cm, it will stop for 0.5 seconds. Then it will move forward again assuming the object has been removed.
The robot will move forward once being turned on. When it senses object ahead within 15cm, it will turn right for 0.5 seconds. Then it will move forward again assuming the object has been removed.
The robot will move forward once being turned on. When it senses object ahead within 15cm, it will stop. Then when you move the object closer to it, it will retreat and move backward in order to maintain the same 15cm distance. As soon as the object is removed, it will move forward again.