Commiting code for the robot motion