1. A robot comprising: a robot mechanism unit having a sensor at a part with the position thereof to be controlled; and a control unit for controlling the operation of the robot mechanism unit; wherein the control unit includes: a normal control unit for controlling the operation of the robot mechanism unit; and a learning control unit for operating the robot mechanism unit according to a task program and carrying out the learning to calculate the learning correction amount in order that position of a part of the robot mechanism unit to be controlled which is detected by the sensor approaches a target trajectory or a target position assigned for the normal control unit; and wherein the learning control unit calculates the maximum speed override that can be set in the learning operation, and carries out the learning to calculate the learning correction amount while increasing the speed override a plurality of times until the maximum speed override is reached.