Program for entire  robot