Arrangement of a control device and a vehicle drive mechanism, the vehicle drive mechanism including: - a moving body which is movably supported, - a high-rigidity stopper serving as a first stopper adapted to be brought into a contact state by movement of the moving body and thereby defining one end of a movability range of the moving body, - a low-rigidity stopper serving as a second stopper adapted to be brought into a contact state by movement of the moving body and thereby defining another end of the movability range of the moving body, - wherein said high-rigidity stopper as said first stopper has a higher impact resistance when compared to said low-rigidity stopper as said second stopper which has a lower impact resistance, - an actuator which is configured to drive the moving body in a moving direction, and - a sensor which is configured to sense a position of the moving body, and the control device comprising a learning unit, wherein the learning unit is configured: - to learn an output of the sensor when the first stopper is in the contact state, - to then control the actuator so as to move the moving body from the contact state of the first stopper toward the contact state of the second stopper, and - to then learn an output of the sensor when the second stopper is in the contact state; wherein when controlling the actuator so as to move the moving body toward the contact state of the second stopper, (i) the learning unit limits an operation variable of the actuator for moving the moving body to a lower level along with an increase in an amount of change in the output of the sensor from the output of the sensor obtained when the first stopper is in the contact state; (ii) such that a speed of the moving body when the second stopper comes into the contact state is lower than the speed of the moving body when the first stopper comes into the contact state. - a moving body which is movably supported, - a high-rigidity stopper serving as a first stopper adapted to be brought into a contact state by movement of the moving body and thereby defining one end of a movability range of the moving body, - a low-rigidity stopper serving as a second stopper adapted to be brought into a contact state by movement of the moving body and thereby defining another end of the movability range of the moving body, - wherein said high-rigidity stopper as said first stopper has a higher impact resistance when compared to said low-rigidity stopper as said second stopper which has a lower impact resistance, - an actuator which is configured to drive the moving body in a moving direction, and - a sensor which is configured to sense a position of the moving body, and - to learn an output of the sensor when the first stopper is in the contact state, - to then control the actuator so as to move the moving body from the contact state of the first stopper toward the contact state of the second stopper, and - to then learn an output of the sensor when the second stopper is in the contact state; (i) the learning unit limits an operation variable of the actuator for moving the moving body to a lower level along with an increase in an amount of change in the output of the sensor from the output of the sensor obtained when the first stopper is in the contact state; (ii) such that a speed of the moving body when the second stopper comes into the contact state is lower than the speed of the moving body when the first stopper comes into the contact state.