This is a program to control a robot