Moving center of mass and end effector for dynamic task of lifting heavy weight