You need to tell the robot when to set the motor power as well as setting the mode to RUN_TO_POSITION at the beginning. So in the while loops you have,...