Inertial parameter identification including friction and motor dynamics